Changeset 20424
- Timestamp:
- 04/10/2012 04:19:53 PM (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/wp-includes/pluggable.php
r20410 r20424 74 74 function get_currentuserinfo() { 75 75 global $current_user; 76 77 if ( defined('XMLRPC_REQUEST') && XMLRPC_REQUEST ) {78 wp_set_current_user( 0 );79 return false;80 }81 76 82 77 if ( ! empty( $current_user ) ) { … … 94 89 // $current_user has a junk value. Force to WP_User with ID 0. 95 90 $current_user = null; 91 wp_set_current_user( 0 ); 92 return false; 93 } 94 95 if ( defined('XMLRPC_REQUEST') && XMLRPC_REQUEST ) { 96 96 wp_set_current_user( 0 ); 97 97 return false;
Note: See TracChangeset
for help on using the changeset viewer.