Skip to content

Commit

Permalink
Open story export instructions in a new window (#4258)
Browse files Browse the repository at this point in the history
  • Loading branch information
westonruter committed Feb 9, 2020
1 parent 07cae7e commit 461c68d
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion includes/admin/class-amp-admin-pointers.php
Original file line number Diff line number Diff line change
Expand Up @@ -84,7 +84,7 @@ private function get_pointers() {
[
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' ),
sprintf(
'<a href="%s">%s</a>',
'<a href="%s" target="_blank">%s</a>',
esc_url( 'https://amp-wp.org/documentation/amp-stories/exporting-stories/' ),
esc_html__( 'View how to export your Stories', 'amp' )
),
Expand Down
6 changes: 3 additions & 3 deletions includes/options/class-amp-options-manager.php
Original file line number Diff line number Diff line change
Expand Up @@ -597,7 +597,7 @@ public static function render_stories_deprecation_notice() {
'<div class="notice notice-warning"><p>%s %s</p></div>',
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' ),
sprintf(
'<a href="%s">%s</a>',
'<a href="%s" target="_blank">%s</a>',
esc_url( 'https://amp-wp.org/documentation/amp-stories/exporting-stories/' ),
esc_html__( 'View how to export your Stories', 'amp' )
)
Expand All @@ -620,8 +620,8 @@ public static function render_stories_deprecation_editor_notice() {
'warning',
%s,
{
isDismissible: false,
actions: [
isDismissible: false,
actions: [
{
url: 'https://amp-wp.org/documentation/amp-stories/exporting-stories/',
label: %s,
Expand Down

0 comments on commit 461c68d

Please sign in to comment.