- Timestamp:
- 11/04/2021 03:22:47 PM (3 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/tests/phpunit/tests/theme/getThemeStarterContent.php
r51438 r52010 11 11 * Testing passing an empty array as starter content. 12 12 */ 13 function test_add_theme_support_empty() {13 public function test_add_theme_support_empty() { 14 14 add_theme_support( 'starter-content', array() ); 15 15 $starter_content = get_theme_starter_content(); … … 21 21 * Testing passing nothing as starter content. 22 22 */ 23 function test_add_theme_support_single_param() {23 public function test_add_theme_support_single_param() { 24 24 add_theme_support( 'starter-content' ); 25 25 $starter_content = get_theme_starter_content(); … … 31 31 * Testing that placeholder starter content gets expanded, that unrecognized placeholders are discarded, and that custom items are recognized. 32 32 */ 33 function test_default_content_sections() {33 public function test_default_content_sections() { 34 34 /* 35 35 * All placeholder identifiers should be referenced in this sample starter … … 173 173 * Testing the filter with the text_credits widget. 174 174 */ 175 function test_get_theme_starter_content_filter() {175 public function test_get_theme_starter_content_filter() { 176 176 177 177 add_theme_support(
Note: See TracChangeset
for help on using the changeset viewer.