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:
nacin
2011-10-23 18:01:33 +00:00
parent 7ed04cc2f3
commit f6368c50c4
2 changed files with 4 additions and 2 deletions
@@ -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;