Skip to content
This repository has been archived by the owner on Feb 22, 2022. It is now read-only.

Commit

Permalink
Merge pull request #77 from WordPress/fix/confirmation-message-wording
Browse files Browse the repository at this point in the history
Update confirmation message wording
  • Loading branch information
audrasjb committed Apr 15, 2020
2 parents dd4d3c6 + 9e6d246 commit d607ad9
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions functions.php
Original file line number Diff line number Diff line change
Expand Up @@ -523,12 +523,12 @@ function wp_autoupdates_plugin_deleted( $plugin_file, $deleted ) {
function wp_autoupdates_plugins_notices() {
if ( isset( $_GET['enable-autoupdate'] ) ) {
echo '<div id="message" class="notice notice-success is-dismissible"><p>';
_e( 'The selected plugins will now update automatically.', 'wp-autoupdates' );
_e( 'Selected plugins will be auto-updated.', 'wp-autoupdates' );
echo '</p></div>';
}
if ( isset( $_GET['disable-autoupdate'] ) ) {
echo '<div id="message" class="notice notice-success is-dismissible"><p>';
_e( 'The selected plugins won’t automatically update anymore.', 'wp-autoupdates' );
_e( 'Selected plugins will no longer be auto-updated.', 'wp-autoupdates' );
echo '</p></div>';
}
}
Expand All @@ -540,12 +540,12 @@ function wp_autoupdates_plugins_notices() {
function wp_autoupdates_themes_notices() {
if ( isset( $_GET['enable-autoupdate'] ) ) {
echo '<div id="message" class="notice notice-success is-dismissible"><p>';
_e( 'The selected themes will now update automatically.', 'wp-autoupdates' );
_e( 'Selected themes will be auto-updated.', 'wp-autoupdates' );
echo '</p></div>';
}
if ( isset( $_GET['disable-autoupdate'] ) ) {
echo '<div id="message" class="notice notice-success is-dismissible"><p>';
_e( 'The selected themes won’t automatically update anymore.', 'wp-autoupdates' );
_e( 'Selected themes will no longer be auto-updated.', 'wp-autoupdates' );
echo '</p></div>';
}
}
Expand Down

0 comments on commit d607ad9

Please sign in to comment.