Make WordPress Core


Ignore:
Timestamp:
02/15/2012 05:19:59 PM (12 years ago)
Author:
duck_
Message:

Display menu_order value in quick edit for non-hierarchical post types. Props nikolay.yordanov. Fixes #19911, see #18352.

File:
1 edited

Legend:

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

    r19871 r19929  
    258258        echo '<div class="page_template">' . esc_html( get_post_meta( $post->ID, '_wp_page_template', true ) ) . '</div>';
    259259
    260     if ( $post_type_object->hierarchical )
     260    if ( post_type_supports( $post->post_type, 'page-attributes' ) )
    261261        echo '<div class="menu_order">' . $post->menu_order . '</div>';
    262262
Note: See TracChangeset for help on using the changeset viewer.