Themes: Remove extra whitespace from `wp-admin/includes/ajax-actions.php` and `wp-admin/includes/theme.php`.
Follow-up to [47816]. See #48491. Built from https://develop.svn.wordpress.org/trunk@47818 git-svn-id: http://core.svn.wordpress.org/trunk@47594 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
parent
e445642243
commit
54cdfaef59
|
@ -3573,8 +3573,8 @@ function wp_ajax_query_themes() {
|
||||||
|
|
||||||
$theme->num_ratings = number_format_i18n( $theme->num_ratings );
|
$theme->num_ratings = number_format_i18n( $theme->num_ratings );
|
||||||
$theme->preview_url = set_url_scheme( $theme->preview_url );
|
$theme->preview_url = set_url_scheme( $theme->preview_url );
|
||||||
$theme->compatible_wp = is_wp_version_compatible( $theme->requires );
|
$theme->compatible_wp = is_wp_version_compatible( $theme->requires );
|
||||||
$theme->compatible_php = is_php_version_compatible( $theme->requires_php );
|
$theme->compatible_php = is_php_version_compatible( $theme->requires_php );
|
||||||
}
|
}
|
||||||
|
|
||||||
wp_send_json_success( $api );
|
wp_send_json_success( $api );
|
||||||
|
|
|
@ -692,8 +692,8 @@ function wp_prepare_themes_for_js( $themes = null ) {
|
||||||
'authorAndUri' => $theme->display( 'Author' ),
|
'authorAndUri' => $theme->display( 'Author' ),
|
||||||
'tags' => $theme->display( 'Tags' ),
|
'tags' => $theme->display( 'Tags' ),
|
||||||
'version' => $theme->get( 'Version' ),
|
'version' => $theme->get( 'Version' ),
|
||||||
'compatibleWP' => is_wp_version_compatible( $theme->get( 'RequiresWP' ) ),
|
'compatibleWP' => is_wp_version_compatible( $theme->get( 'RequiresWP' ) ),
|
||||||
'compatiblePHP' => is_php_version_compatible( $theme->get( 'RequiresPHP' ) ),
|
'compatiblePHP' => is_php_version_compatible( $theme->get( 'RequiresPHP' ) ),
|
||||||
'parent' => $parent,
|
'parent' => $parent,
|
||||||
'active' => $slug === $current_theme,
|
'active' => $slug === $current_theme,
|
||||||
'hasUpdate' => isset( $updates[ $slug ] ),
|
'hasUpdate' => isset( $updates[ $slug ] ),
|
||||||
|
|
|
@ -13,7 +13,7 @@
|
||||||
*
|
*
|
||||||
* @global string $wp_version
|
* @global string $wp_version
|
||||||
*/
|
*/
|
||||||
$wp_version = '5.5-alpha-47817';
|
$wp_version = '5.5-alpha-47818';
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.
|
* Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.
|
||||||
|
|
Loading…
Reference in New Issue