Changeset 55992 for trunk/src/wp-includes/block-template-utils.php
- Timestamp:
- 06/23/2023 06:27:45 AM (16 months ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-includes/block-template-utils.php
r55881 r55992 543 543 * 544 544 * @since 5.9.0 545 * @since 6.3.0 Added `modified` property to template objects. 545 546 * @access private 546 547 * … … 565 566 $template->has_theme_file = true; 566 567 $template->is_custom = true; 568 $template->modified = null; 567 569 568 570 if ( 'wp_template' === $template_type && isset( $default_template_types[ $template_file['slug'] ] ) ) { … … 744 746 * 745 747 * @since 5.9.0 748 * @since 6.3.0 Added `modified` property to template objects. 746 749 * @access private 747 750 * … … 783 786 $template->is_custom = empty( $is_wp_suggestion ); 784 787 $template->author = $post->post_author; 788 $template->modified = $post->post_modified; 785 789 786 790 if ( 'wp_template' === $post->post_type && $has_theme_file && isset( $template_file['postTypes'] ) ) {
Note: See TracChangeset
for help on using the changeset viewer.