Security: Add user interface to auto-update themes and plugins.

Building on core update mechanisms, this adds the ability to enable automatic updates for themes and plugins to the WordPress admin. 

Fixes: #50052.
Props: afercia, afragen, audrasjb, azaozz, bookdude13, davidperonne, desrosj, gmays, gmays, javiercasares, karmatosed, knutsp, mapk, mukesh27, netweb, nicolaskulka, nielsdeblaauw, paaljoachim, passoniate, pbiron, pedromendonca, whodunitagency, whyisjake, wpamitkumar, and xkon.


git-svn-id: https://develop.svn.wordpress.org/trunk@47835 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
Jake Spurlock
2020-05-20 18:47:24 +00:00
parent cdd8b92ea6
commit eb79d7f1ee
17 changed files with 1142 additions and 45 deletions

View File

@@ -1520,6 +1520,13 @@ function wp_default_scripts( $scripts ) {
/* translators: %s: Number of plugins. */
'pluginsFound' => __( 'Number of plugins found: %d' ),
'noPluginsFound' => __( 'No plugins found. Try a different search.' ),
'autoUpdatesEnable' => __( 'Enable auto-updates' ),
'autoUpdatesEnabling' => __( 'Enabling...' ),
'autoUpdatesEnabled' => __( 'Auto-updates enabled' ),
'autoUpdatesDisable' => __( 'Disable auto-updates' ),
'autoUpdatesDisabling' => __( 'Disabling...' ),
'autoUpdatesDisabled' => __( 'Auto-updates disabled' ),
'autoUpdatesError' => __( 'The request could not be completed.' ),
),
)
);