Ticket #14024: 14024.2.patch
| File 14024.2.patch, 526 bytes (added by , 14 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.4' ); 79 77 80 if ( defined('XMLRPC_REQUEST') && XMLRPC_REQUEST ) 78 81 return false;