WordPress.org

Make WordPress Core


Ignore:
Timestamp:
11/13/2016 07:41:30 AM (3 years ago)
Author:
dd32
Message:

Posts, Post Types: Fix Quick Edit to correctly set the page template for non-hierarchical post types.

Props dd32, swissspidy.
Fixes #38655.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/wp-admin/includes/class-wp-posts-list-table.php

    r38965 r39210  
    15561556                ?>
    15571557                <option value="default"><?php echo esc_html( $default_title ); ?></option>
    1558                 <?php page_template_dropdown( $post->page_template, $screen->post_type ) ?>
     1558                <?php page_template_dropdown( '', $screen->post_type ) ?>
    15591559            </select>
    15601560        </label>
Note: See TracChangeset for help on using the changeset viewer.