Make WordPress Core


Ignore:
Timestamp:
07/28/2020 04:05:39 PM (4 years ago)
Author:
SergeyBiryukov
Message:

Upgrade/Install: Check WordPress and PHP version requirements when uploading a plugin or theme from ZIP file.

Props mariovalney, desrosj.
See #50593.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/wp-admin/includes/class-theme-installer-skin.php

    r48661 r48666  
    222222        echo '<h2 class="update-from-upload-heading">' . esc_html( __( 'This theme is already installed.' ) ) . '</h2>';
    223223
    224         // Check errors for current theme
     224        // Check errors for current theme.
    225225        if ( is_wp_error( $current_theme_data->errors() ) ) {
    226226            $this->feedback( 'current_theme_has_errors', $current_theme_data->errors()->get_error_message() );
Note: See TracChangeset for help on using the changeset viewer.