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

Update confirmation message wording #77

Merged
merged 1 commit into from
Apr 15, 2020
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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