Changeset 57594
- Timestamp:
- 02/12/2024 01:13:38 PM (6 months ago)
- Location:
- trunk
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-includes/block-template-utils.php
r57349 r57594 902 902 } 903 903 904 905 906 907 908 909 910 911 904 912 return $template; 905 913 } -
trunk/tests/phpunit/tests/block-templates/base.php
r54269 r57594 40 40 'post_name' => 'my_template', 41 41 'post_title' => 'My Template', 42 'post_content' => ' Content',42 'post_content' => '', 43 43 'post_excerpt' => 'Description of my template', 44 44 'tax_input' => array( … … 58 58 'post_name' => 'my_template_part', 59 59 'post_title' => 'My Template Part', 60 'post_content' => ' Content',60 'post_content' => '', 61 61 'post_excerpt' => 'Description of my template part', 62 62 'tax_input' => array( -
trunk/tests/phpunit/tests/block-templates/buildBlockTemplateResultFromPost.php
r56983 r57594 8 8 */ 9 9 class Tests_Block_Templates_BuildBlockTemplateResultFromPost extends WP_Block_Templates_UnitTestCase { 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 10 25 11 26 /** … … 50 65 $this->assertSame( self::$template_part_post->post_modified, $template_part->modified, 'Template part result properties match' ); 51 66 } 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 52 109 }
Note: See TracChangeset
for help on using the changeset viewer.