Skip to content

Commit

Permalink
Move AMP Stories section setting right after template mode
Browse files Browse the repository at this point in the history
  • Loading branch information
westonruter committed Jun 9, 2019
1 parent 00f2d8a commit a9f7409
Showing 1 changed file with 11 additions and 11 deletions.
22 changes: 11 additions & 11 deletions includes/options/class-amp-options-menu.php
Original file line number Diff line number Diff line change
Expand Up @@ -87,6 +87,17 @@ public function add_menu_items() {
)
);

add_settings_field(
'amp_stories',
__( 'Stories', 'amp' ),
array( $this, 'render_amp_stories' ),
AMP_Options_Manager::OPTION_NAME,
'general',
array(
'class' => 'amp-stories-field',
)
);

add_settings_field(
'validation',
__( 'Validation Handling', 'amp' ),
Expand All @@ -109,17 +120,6 @@ public function add_menu_items() {
)
);

add_settings_field(
'amp_stories',
__( 'Stories', 'amp' ),
array( $this, 'render_amp_stories' ),
AMP_Options_Manager::OPTION_NAME,
'general',
array(
'class' => 'amp-stories-field',
)
);

if ( wp_using_ext_object_cache() ) {
add_settings_field(
'caching',
Expand Down

0 comments on commit a9f7409

Please sign in to comment.