Revert fat fingers in [18793]. see #18690

git-svn-id: http://svn.automattic.com/wordpress/trunk@18794 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
ryan 2011-09-27 14:33:51 +00:00
parent 022dcf68c0
commit 6c1f1b642a
1 changed files with 1 additions and 0 deletions

View File

@ -734,6 +734,7 @@ final class WP_Screen {
if ( empty($typenow) )
$typenow = 'post';
$this->id .= '-' . $typenow;
$this->post_type = $typenow;
} elseif ( 'post' == $this->id ) {
if ( empty($typenow) )
$typenow = 'post';