Skip to content

Commit 6ec20fa

Browse files
authored
Simplify notice text for Stories removal (#4314)
1 parent 0fbbca8 commit 6ec20fa

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

includes/admin/class-amp-admin-pointers.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -82,7 +82,7 @@ private function get_pointers() {
8282
'description' => implode(
8383
' ',
8484
[
85-
esc_html__( 'The Stories experience is being extracted from the AMP plugin into a separate standalone plugin which will be available soon. Please back up or export your existing Stories as they will not be available in the next version of the AMP plugin.', 'amp' ),
85+
esc_html__( 'The Stories experience is being extracted into a standalone plugin which will be available soon. Please back up or export your existing Stories as they will not be available in the next version of the AMP plugin.', 'amp' ),
8686
sprintf(
8787
'<a href="%s" target="_blank">%s</a>',
8888
esc_url( 'https://amp-wp.org/documentation/amp-stories/exporting-stories/' ),

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

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -593,7 +593,7 @@ public static function render_stories_deprecation_notice() {
593593
) {
594594
printf(
595595
'<div class="notice notice-warning"><p>%s %s</p></div>',
596-
esc_html__( 'The Stories experience is being extracted from the AMP plugin into a separate standalone plugin which will be available soon. Please back up or export your existing Stories as they will not be available in the next version of the AMP plugin.', 'amp' ),
596+
esc_html__( 'The Stories experience is being extracted into a standalone plugin which will be available soon. Please back up or export your existing Stories as they will not be available in the next version of the AMP plugin.', 'amp' ),
597597
sprintf(
598598
'<a href="%s" target="_blank">%s</a>',
599599
esc_url( 'https://amp-wp.org/documentation/amp-stories/exporting-stories/' ),
@@ -603,7 +603,7 @@ public static function render_stories_deprecation_notice() {
603603
} elseif ( ! self::is_stories_experience_enabled() && 'toplevel_page_' . self::OPTION_NAME === get_current_screen()->id ) {
604604
printf(
605605
'<div class="notice notice-info"><p>%s</p></div>',
606-
esc_html__( 'The Stories experience has been removed from the AMP plugin. This beta feature is being split into a separate standalone plugin which will be available for installation soon.', 'amp' )
606+
esc_html__( 'The Stories experience is being extracted into a standalone plugin which will be available soon.', 'amp' )
607607
);
608608
}
609609
}
@@ -628,7 +628,7 @@ public static function render_stories_deprecation_editor_notice() {
628628
}
629629
);
630630
} )( window.wp );",
631-
wp_json_encode( __( 'The Stories experience is being extracted from the AMP plugin into a separate standalone plugin which will be available soon. Please back up or export your existing Stories as they will not be available in the next version of the AMP plugin.', 'amp' ) ),
631+
wp_json_encode( __( 'The Stories experience is being extracted into a standalone plugin which will be available soon. Please back up or export your existing Stories as they will not be available in the next version of the AMP plugin.', 'amp' ) ),
632632
wp_json_encode( __( 'View how to export your Stories', 'amp' ) )
633633
);
634634

0 commit comments

Comments
 (0)