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:
scribu
2010-11-04 21:02:13 +00:00
parent 393bdc04e3
commit 419c42838b
4 changed files with 33 additions and 33 deletions

View File

@@ -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 );