Changeset 6649 for trunk/wp-includes/pluggable.php
- Timestamp:
- 01/24/2008 09:19:42 PM (17 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/wp-includes/pluggable.php
r6648 r6649 662 662 $cookie = explode('; ', urldecode(empty($_POST['cookie']) ? $_GET['cookie'] : $_POST['cookie'])); // AJAX scripts must pass cookie=document.cookie 663 663 foreach ( $cookie as $tasty ) { 664 if ( false !== strpos($tasty, AUTH_COOKIE ) )664 if ( false !== strpos($tasty, AUTH_COOKIE . '=') ) { 665 665 $auth_cookie = substr(strstr($tasty, '='), 1); 666 break; 667 } 666 668 } 667 669
Note: See TracChangeset
for help on using the changeset viewer.