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:
parent
809c1558e3
commit
c69f53c37d
@ -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 ) ) {
|
||||
|
Loading…
Reference in New Issue
Block a user