Changeset 31020 for trunk/src/wp-includes/post.php
- Timestamp:
- 01/01/2015 08:34:19 PM (10 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-includes/post.php
r30982 r31020 3424 3424 if ( $wp_error ) { 3425 3425 return new WP_Error('invalid_page_template', __('The page template is invalid.')); 3426 } else {3427 return 0;3428 3426 } 3429 } 3430 update_post_meta( $post_ID, '_wp_page_template', $postarr['page_template'] ); 3427 update_post_meta( $post_ID, '_wp_page_template', 'default' ); 3428 } else { 3429 update_post_meta( $post_ID, '_wp_page_template', $postarr['page_template'] ); 3430 } 3431 3431 } 3432 3432
Note: See TracChangeset
for help on using the changeset viewer.