Changeset 4053
- Timestamp:
- 07/27/06 07:11:46 (2 years ago)
- Files:
-
- branches/2.0/wp-includes/pluggable-functions.php (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
branches/2.0/wp-includes/pluggable-functions.php
r3940 r4053 246 246 foreach ( $cookie as $tasty ) { 247 247 if ( false !== strpos($tasty, USER_COOKIE) ) 248 $user = substr(strstr($tasty, '='), 1);248 $user = urldecode(substr(strstr($tasty, '='), 1)); // Nasty double encoding 249 249 if ( false !== strpos($tasty, PASS_COOKIE) ) 250 $pass = substr(strstr($tasty, '='), 1);250 $pass = urldecode(substr(strstr($tasty, '='), 1)); 251 251 } 252 252 if ( wp_login( $user, $pass, true ) )
