Changeset 7926
- Timestamp:
- 05/13/08 21:03:46 (4 months ago)
- Files:
-
- branches/2.5/wp-includes/post.php (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
branches/2.5/wp-includes/post.php
r7920 r7926 1348 1348 $post->page_template = $page_template; 1349 1349 $page_templates = get_page_templates(); 1350 if ( !in_array($page_template, $page_templates) ) {1350 if ( 'default' != $page_template && !in_array($page_template, $page_templates) ) { 1351 1351 if ( $wp_error ) 1352 1352 return new WP_Error('invalid_page_template', __('The page template is invalid.'));
