@@ -1,9 +1,9 @@ |
||
1 | 1 | <?php |
2 | 2 | /** |
3 | - * Class WP_Test_Fields_API_Testcase |
|
4 | - * |
|
5 | - * @uses PHPUnit_Framework_TestCase |
|
6 | - */ |
|
3 | + * Class WP_Test_Fields_API_Testcase |
|
4 | + * |
|
5 | + * @uses PHPUnit_Framework_TestCase |
|
6 | + */ |
|
7 | 7 | class WP_Test_Fields_API_Testcase extends WP_UnitTestCase { |
8 | 8 | |
9 | 9 | public function tearDown() { |
@@ -1,9 +1,9 @@ |
||
1 | 1 | <?php |
2 | 2 | /** |
3 | - * Tests WP_Customize_Nav_Menu_Item_Setting. |
|
4 | - * |
|
5 | - * @group customize |
|
6 | - */ |
|
3 | + * Tests WP_Customize_Nav_Menu_Item_Setting. |
|
4 | + * |
|
5 | + * @group customize |
|
6 | + */ |
|
7 | 7 | class Test_WP_Customize_Nav_Menu_Item_Setting extends WP_UnitTestCase { |
8 | 8 | |
9 | 9 | /** |
@@ -69,7 +69,7 @@ discard block |
||
69 | 69 | 'type' => 'text', |
70 | 70 | 'section' => $section_id, |
71 | 71 | 'label' => __( 'State / Region', 'my-text-domain' ), // @todo Update text domain |
72 | - // You could use 'select' type instead and then |
|
72 | + // You could use 'select' type instead and then |
|
73 | 73 | // pass in all states in 'choices' option with array( 'TX' => 'Texas' ) |
74 | 74 | ), |
75 | 75 | ); |
@@ -95,11 +95,11 @@ discard block |
||
95 | 95 | 'type' => 'select', |
96 | 96 | 'section' => $section_id, |
97 | 97 | 'label' => __( 'Country', 'my-text-domain' ), // @todo Update text domain |
98 | - 'choices' => array( |
|
99 | - 'US' => 'United States', |
|
100 | - 'CA' => 'Canada', |
|
101 | - // Add more here as needed, or use 'text' type instead for freeform |
|
102 | - ), |
|
98 | + 'choices' => array( |
|
99 | + 'US' => 'United States', |
|
100 | + 'CA' => 'Canada', |
|
101 | + // Add more here as needed, or use 'text' type instead for freeform |
|
102 | + ), |
|
103 | 103 | ), |
104 | 104 | ); |
105 | 105 |