Use get_current_screen() rather than a $current_screen global reference. Remove unused global reference. see #14886.
git-svn-id: http://svn.automattic.com/wordpress/trunk@19047 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
@@ -463,7 +463,7 @@ class WP_Posts_List_Table extends WP_List_Table {
|
||||
}
|
||||
|
||||
function single_row( $a_post, $level = 0 ) {
|
||||
global $post, $current_screen, $mode;
|
||||
global $post, $mode;
|
||||
static $alternate;
|
||||
|
||||
$global_post = $post;
|
||||
|
||||
Reference in New Issue
Block a user