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:
scribu
2010-11-04 21:02:13 +00:00
parent b078890091
commit 0bfee7db48
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 );