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 #75 from WordPress/fix/change-enable-string
Browse files Browse the repository at this point in the history
Replace "Enable" string with "Enable auto-updates"
  • Loading branch information
audrasjb committed Apr 15, 2020
2 parents 78678ce + e63a7de commit 9e1d0f4
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions functions.php
Original file line number Diff line number Diff line change
Expand Up @@ -292,7 +292,7 @@ function wp_autoupdates_add_plugins_autoupdates_column_content( $column_name, $p
'<a href="%s" class="edit" aria-label="%s">%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 @@ -824,7 +824,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 @@ -1219,7 +1219,7 @@ function wp_autoupdates_add_themes_autoupdates_column_content( $column_name, $st
'<a href="%s" class="edit" aria-label="%s">%s</a>',
wp_nonce_url( $base_url, 'autoupdate-theme_' . $stylesheet ),
$aria_label,
__( 'Enable', 'wp-autoupdates' )
__( 'Enable auto-updates', 'wp-autoupdates' )
);
echo '</p>';
}
Expand Down

0 comments on commit 9e1d0f4

Please sign in to comment.