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

git-svn-id: https://develop.svn.wordpress.org/trunk@19113 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
Andrew Nacin 2011-11-02 04:24:17 +00:00
parent 809c1558e3
commit c69f53c37d
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 ) ) {