wp_setcookie is deprecated since version 2.5! Use wp_set_auth_cookie() instead
-
Hello @all,
i activated the wpDirAuth Plugin in my NetworkSettings and got now the error message:
wp_setcookie is deprecated since version 2.5! Use wp_set_auth_cookie() instead
These are the lines from the wpDirAuth-Plugin.
wp-content/plugins/wpdirauth/wpDirAuth.php: * wp_setcookie functions have already been overwritten. It cannot, wp-content/plugins/wpdirauth/wpDirAuth.php:if (function_exists('wp_authenticate') || function_exists('wp_setcookie') || !function_exists('ldap_connect')) { wp-content/plugins/wpdirauth/wpDirAuth.php: The wp_authenticate and wp_setcookie WordPress wp-content/plugins/wpdirauth/wpDirAuth.php: * hash cookie checks in wp_setcookie and wp_authenticate wp-content/plugins/wpdirauth/wpDirAuth.php: * WordPress wp_setcookie overwrite. wp-content/plugins/wpdirauth/wpDirAuth.php: function wp_setcookie($username, $password, $already_md5 = false, $home = '', $siteurl = '', $remember = false) wp-content/plugins/wpdirauth/wpDirAuth.php: * The rest of the logic is from the original WP wp_setcookie wp-includes/pluggable-deprecated.php:if ( !function_exists('wp_setcookie') ) : wp-includes/pluggable-deprecated.php:function wp_setcookie($username, $password = '', $already_md5 = false, $home = '', $siteurl = '', $remember = false) { wp-includes/pluggable-deprecated.php: _deprecated_function( 'wp_setcookie', '2.5', 'wp_set_auth_cookie()' );
I’am still using the youngest version of this Plugin 1.7.6!
It works fine, if i don’t use the WordPress Multisite-Config!
The groups authentication isn’t work at all!Kind regards,
Axel
Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)
- The topic ‘wp_setcookie is deprecated since version 2.5! Use wp_set_auth_cookie() instead’ is closed to new replies.