$no_updates = array
();
if ( !
is_multisite() &&
current_user_can( 'update_themes'
) ) { $updates_transient =
get_site_transient( 'update_themes'
);
if ( isset( $updates_transient->response
) ) { $updates =
$updates_transient->response;
} if ( isset( $updates_transient->no_update
) ) { $no_updates =
$updates_transient->no_update;
} } WP_Theme::
sort_by_name( $themes );
$parents = array
();
$auto_updates =
(array) get_site_option( 'auto_update_themes', array
() );
foreach ( $themes as $theme ) { $slug =
$theme->
get_stylesheet();
$encoded_slug =
urlencode( $slug );
$parent = false;
if ( $theme->
parent() ) {