Reverse variable assignment order. D'oh. see #19108.

git-svn-id: http://svn.automattic.com/wordpress/trunk@19113 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
nacin 2011-11-02 04:24:17 +00:00
parent fff2457234
commit 3932addc50
1 changed files with 1 additions and 1 deletions

View File

@ -419,8 +419,8 @@ final class WP_Screen {
$id = sanitize_key( $id );
if ( post_type_exists( $id ) ) {
$id = 'post'; // changes later. ends up being $base.
$post_type = $id;
$id = 'post'; // changes later. ends up being $base.
} elseif ( false !== strpos( $id, '-' ) ) {
list( $first, $second ) = explode( '-', $id, 2 );
if ( taxonomy_exists( $second ) ) {