Ticket #14024: 14024.patch
| File 14024.patch, 552 bytes (added by , 15 years ago) |
|---|
-
wp-includes/pluggable.php
74 74 function get_currentuserinfo() { 75 75 global $current_user; 76 76 77 if ( ! did_action( 'after_setup_theme' ) ) { 78 _doing_it_wrong( __FUNCTION__, __( 'Current user information is only available on <code>init</code> action or later.' ), '3.3' ); 79 return false; 80 } 81 77 82 if ( defined('XMLRPC_REQUEST') && XMLRPC_REQUEST ) 78 83 return false; 79 84