WordPress.org

Make WordPress Core


Ignore:
Timestamp:
07/29/2020 07:59:30 PM (9 months ago)
Author:
whyisjake
Message:

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.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/wp-includes/update.php

    r48344 r48688  
    622622    if ( is_array( $response ) ) {
    623623        $new_update->response     = $response['themes'];
     624        $new_update->no_update    = $response['no_update'];
    624625        $new_update->translations = $response['translations'];
    625626    }
Note: See TracChangeset for help on using the changeset viewer.