Ticket #25334: 25334.patch
File 25334.patch, 444 bytes (added by , 11 years ago) |
---|
-
wp-includes/post.php
2907 2907 if ( $wp_error ) 2908 2908 return new WP_Error('invalid_page_template', __('The page template is invalid.')); 2909 2909 else 2910 return 0;2910 $page_template = 'default'; 2911 2911 } 2912 2912 update_post_meta($post_ID, '_wp_page_template', $page_template); 2913 2913 }