Make WordPress Core

Changeset 47818


Ignore:
Timestamp:
05/18/2020 12:53:34 PM (6 years ago)
Author:
SergeyBiryukov
Message:

Themes: Remove extra whitespace from wp-admin/includes/ajax-actions.php and wp-admin/includes/theme.php.

Follow-up to [47816].

See #48491.

Location:
trunk/src/wp-admin/includes
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/wp-admin/includes/ajax-actions.php

    r47816 r47818  
    35743574                $theme->num_ratings    = number_format_i18n( $theme->num_ratings );
    35753575                $theme->preview_url    = set_url_scheme( $theme->preview_url );
    3576                 $theme->compatible_wp  = is_wp_version_compatible( $theme->requires );
    3577                 $theme->compatible_php = is_php_version_compatible( $theme->requires_php );
     3576                $theme->compatible_wp  = is_wp_version_compatible( $theme->requires );
     3577                $theme->compatible_php = is_php_version_compatible( $theme->requires_php );
    35783578        }
    35793579
  • trunk/src/wp-admin/includes/theme.php

    r47816 r47818  
    693693                        'tags'          => $theme->display( 'Tags' ),
    694694                        'version'       => $theme->get( 'Version' ),
    695                         'compatibleWP'  => is_wp_version_compatible( $theme->get( 'RequiresWP' ) ),
    696                         'compatiblePHP' => is_php_version_compatible( $theme->get( 'RequiresPHP' ) ),
     695                        'compatibleWP'  => is_wp_version_compatible( $theme->get( 'RequiresWP' ) ),
     696                        'compatiblePHP' => is_php_version_compatible( $theme->get( 'RequiresPHP' ) ),
    697697                        'parent'        => $parent,
    698698                        'active'        => $slug === $current_theme,
Note: See TracChangeset for help on using the changeset viewer.