Rename property _screen to screen. See #14579
git-svn-id: http://svn.automattic.com/wordpress/trunk@16195 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
@@ -256,7 +256,7 @@ class WP_Posts_List_Table extends WP_List_Table {
|
||||
}
|
||||
|
||||
function get_columns() {
|
||||
$screen = $this->_screen;
|
||||
$screen = $this->screen;
|
||||
|
||||
if ( empty( $screen ) )
|
||||
$post_type = 'post';
|
||||
@@ -675,7 +675,7 @@ class WP_Posts_List_Table extends WP_List_Table {
|
||||
function inline_edit() {
|
||||
global $mode;
|
||||
|
||||
$screen = $this->_screen;
|
||||
$screen = $this->screen;
|
||||
|
||||
$post = get_default_post_to_edit( $screen->post_type );
|
||||
$post_type_object = get_post_type_object( $screen->post_type );
|
||||
|
||||
Reference in New Issue
Block a user