Changeset 27470 for trunk/src/wp-includes/post.php
- Timestamp:
- 03/08/2014 04:18:30 AM (11 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-includes/post.php
r27423 r27470 2949 2949 if ( !empty($page_template) && 'page' == $data['post_type'] ) { 2950 2950 $post->page_template = $page_template; 2951 $page_templates = wp_get_theme()->get_page_templates( );2951 $page_templates = wp_get_theme()->get_page_templates( $post ); 2952 2952 if ( 'default' != $page_template && ! isset( $page_templates[ $page_template ] ) ) { 2953 2953 if ( $wp_error )
Note: See TracChangeset
for help on using the changeset viewer.