mirror of
https://github.com/gosticks/wordpress-develop.git
synced 2026-03-30 10:14:31 +00:00
current user cleanup
git-svn-id: https://develop.svn.wordpress.org/trunk@3566 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
@@ -1587,7 +1587,6 @@ class WP {
|
||||
}
|
||||
|
||||
function send_headers() {
|
||||
global $current_user;
|
||||
@header('X-Pingback: '. get_bloginfo('pingback_url'));
|
||||
if ( is_user_logged_in() )
|
||||
nocache_headers();
|
||||
@@ -1664,7 +1663,7 @@ class WP {
|
||||
}
|
||||
|
||||
function init() {
|
||||
get_currentuserinfo();
|
||||
wp_get_current_user();
|
||||
}
|
||||
|
||||
function query_posts() {
|
||||
|
||||
Reference in New Issue
Block a user