WordPress.org

Make WordPress Core

Changeset 19113


Ignore:
Timestamp:
11/02/11 04:24:17 (2 years ago)
Author:
nacin
Message:

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

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/wp-admin/includes/screen.php

    r19108 r19113  
    420420            $id = sanitize_key( $id ); 
    421421            if ( post_type_exists( $id ) ) { 
     422                $post_type = $id; 
    422423                $id = 'post'; // changes later. ends up being $base. 
    423                 $post_type = $id; 
    424424            } elseif ( false !== strpos( $id, '-' ) ) { 
    425425                list( $first, $second ) = explode( '-', $id, 2 ); 
Note: See TracChangeset for help on using the changeset viewer.