mirror of
https://github.com/gosticks/wordpress-develop.git
synced 2026-06-28 22:30:04 +00:00
Upgrade/Install: Only show auto-update for themes that support the feature.
Similar to the changes for plugins in [48669], let's only show the UI for themes when updates are supported for that theme. See #50280. Props dd32. git-svn-id: https://develop.svn.wordpress.org/trunk@48688 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
@@ -621,6 +621,7 @@ function wp_update_themes( $extra_stats = array() ) {
|
||||
|
||||
if ( is_array( $response ) ) {
|
||||
$new_update->response = $response['themes'];
|
||||
$new_update->no_update = $response['no_update'];
|
||||
$new_update->translations = $response['translations'];
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user