Make WordPress Core


Ignore:
Timestamp:
05/17/2010 04:39:36 PM (15 years ago)
Author:
ryan
Message:

Set show_ui to true for post and page. Exclude _builtin = true from areas where we need to special case builtin types. fixes #13403

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/wp-admin/edit.php

    r14674 r14713  
    1212if ( !isset($_GET['post_type']) )
    1313    $post_type = 'post';
    14 elseif ( in_array( $_GET['post_type'], get_post_types( array('show_ui' => true ) ) ) || in_array( $_GET['post_type'], array( 'post', 'page' ) ) )
     14elseif ( in_array( $_GET['post_type'], get_post_types( array('show_ui' => true ) ) ) )
    1515    $post_type = $_GET['post_type'];
    1616else
Note: See TracChangeset for help on using the changeset viewer.