Make WordPress Core


Ignore:
Timestamp:
03/20/2010 03:05:25 AM (16 years ago)
Author:
dd32
Message:

Fix Quick edit for non-page Hierarchical post_types. See #12643

File:
1 edited

Legend:

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

    r13769 r13779  
    995995                        <span class="title"><?php _e( 'Parent' ); ?></span>
    996996<?php
    997         $dropdown_args = array('selected' => $post->post_parent, 'name' => 'post_parent', 'show_option_none' => __('Main Page (no parent)'), 'option_none_value' => 0, 'sort_column'=> 'menu_order, post_title');
     997        $dropdown_args = array('post_type' => $post_type_object->name, 'selected' => $post->post_parent, 'name' => 'post_parent', 'show_option_none' => __('Main Page (no parent)'), 'option_none_value' => 0, 'sort_column'=> 'menu_order, post_title');
    998998        if ( $bulk )
    999999                $dropdown_args['show_option_no_change'] =  __('&mdash; No Change &mdash;');
Note: See TracChangeset for help on using the changeset viewer.