Skip to content

Commit a9f7409

Browse files
committed
Move AMP Stories section setting right after template mode
1 parent 00f2d8a commit a9f7409

File tree

1 file changed

+11
-11
lines changed

1 file changed

+11
-11
lines changed

includes/options/class-amp-options-menu.php

+11-11
Original file line numberDiff line numberDiff line change
@@ -87,6 +87,17 @@ public function add_menu_items() {
8787
)
8888
);
8989

90+
add_settings_field(
91+
'amp_stories',
92+
__( 'Stories', 'amp' ),
93+
array( $this, 'render_amp_stories' ),
94+
AMP_Options_Manager::OPTION_NAME,
95+
'general',
96+
array(
97+
'class' => 'amp-stories-field',
98+
)
99+
);
100+
90101
add_settings_field(
91102
'validation',
92103
__( 'Validation Handling', 'amp' ),
@@ -109,17 +120,6 @@ public function add_menu_items() {
109120
)
110121
);
111122

112-
add_settings_field(
113-
'amp_stories',
114-
__( 'Stories', 'amp' ),
115-
array( $this, 'render_amp_stories' ),
116-
AMP_Options_Manager::OPTION_NAME,
117-
'general',
118-
array(
119-
'class' => 'amp-stories-field',
120-
)
121-
);
122-
123123
if ( wp_using_ext_object_cache() ) {
124124
add_settings_field(
125125
'caching',

0 commit comments

Comments
 (0)