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

Replace "Enable" string with "Enable auto-updates" #75

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
6 changes: 3 additions & 3 deletions functions.php
Original file line number Diff line number Diff line change
Expand Up @@ -296,7 +296,7 @@ function wp_autoupdates_add_plugins_autoupdates_column_content( $column_name, $p
'<a href="%s" class="edit" aria-label="%s"><span class="dashicons dashicons-update" aria-hidden="true"></span> %s</a>',
wp_nonce_url( 'plugins.php?action=autoupdate&amp;plugin=' . urlencode( $plugin_file ) . '&amp;paged=' . $page . '&amp;plugin_status=' . $plugin_status, 'autoupdate-plugin_' . $plugin_file ),
$aria_label,
__( 'Enable', 'wp-autoupdates' )
__( 'Enable auto-updates', 'wp-autoupdates' )
);
echo '</p>';
}
Expand Down Expand Up @@ -840,7 +840,7 @@ function wp_autoupdates_debug_information( $info ) {
$theme_part = 'wp-active-theme';

if ( in_array( $theme_path, $wp_auto_update_themes ) ) {
$theme_auto_update_string = sprintf( __( 'Enabled', 'wp-autoupdates' ) );
$theme_auto_update_string = sprintf( __( 'Enabled', 'wp-autoupdates' ) );
} else {
$theme_auto_update_string = sprintf( __( 'Disabled', 'wp-autoupdates' ) );
}
Expand Down Expand Up @@ -1240,7 +1240,7 @@ function wp_autoupdates_add_themes_autoupdates_column_content( $column_name, $st
'<a href="%s" class="edit" aria-label="%s"><span class="dashicons dashicons-update" aria-hidden="true"></span> %s</a>',
wp_nonce_url( $base_url, 'autoupdate-theme_' . $stylesheet ),
$aria_label,
__( 'Enable', 'wp-autoupdates' )
__( 'Enable auto-updates', 'wp-autoupdates' )
);
echo '</p>';
}
Expand Down