mirror of
https://github.com/gosticks/wordpress-develop.git
synced 2026-07-01 15:50:09 +00:00
Rename property _screen to screen. See #14579
git-svn-id: https://develop.svn.wordpress.org/trunk@16195 602fd350-edb4-49c9-b593-d223f7449a82
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