Skip to content

Commit 0b66e7a

Browse files
authored
Merge pull request #229 from Yoast/fix-welcome-notice
DUPP-217 Fix welcome notice
2 parents c540dbd + 783dd4e commit 0b66e7a

File tree

4 files changed

+4
-4
lines changed

4 files changed

+4
-4
lines changed

admin-functions.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -199,7 +199,7 @@ function duplicate_post_migrate_show_links_in_options( $defaults ) {
199199
}
200200

201201
/**
202-
* Shows the update notice.
202+
* Shows the welcome notice.
203203
*
204204
* @global string $wp_version The WordPress version string.
205205
*/

src/admin/options.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -259,7 +259,7 @@ public function get_options() {
259259
'duplicate_post_show_notice' => [
260260
'tab' => 'display',
261261
'type' => 'checkbox',
262-
'label' => \__( 'Show update notice', 'duplicate-post' ),
262+
'label' => \__( 'Show welcome notice', 'duplicate-post' ),
263263
'value' => 1,
264264
],
265265
'duplicate_post_show_link' => [

src/admin/views/options.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -233,7 +233,7 @@ class="nav-tab"
233233
</td>
234234
</tr>
235235
<tr>
236-
<th scope="row"><?php \esc_html_e( 'Update notice', 'duplicate-post' ); ?></th>
236+
<th scope="row"><?php \esc_html_e( 'Welcome notice', 'duplicate-post' ); ?></th>
237237
<td>
238238
<?php
239239
// phpcs:ignore WordPress.Security.EscapeOutput -- Already escapes correctly.

src/ui/newsletter.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ public static function newsletter_signup_form() {
3434
'Yoast respects your privacy. Read %1$sour privacy policy%2$s on how we handle your personal information.',
3535
'duplicate-post'
3636
),
37-
'<a href=https://yoa.st/4jf">',
37+
'<a href="https://yoa.st/4jf" target="_blank">',
3838
'</a>'
3939
);
4040

0 commit comments

Comments
 (0)