Make WordPress Core

Changeset 31873


Ignore:
Timestamp:
03/24/2015 05:32:47 PM (10 years ago)
Author:
SergeyBiryukov
Message:

Fix a typo in [31872].

see #31738.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/wp-admin/includes/class-wp-plugins-list-table.php

    r31872 r31873  
    126126            if ( isset( $plugin_info->response[ $plugin_file ] ) ) {
    127127                $plugins['all'][ $plugin_file ] = $plugin_data = array_merge( (array) $plugin_info->response[ $plugin_file ], $plugin_data );
    128                 // Make sure that $plugins['upgrade'] also recieves the extra info since it is used on ?plugin_status=upgrade
    129                 if (isset( $plugins['upgrade'][ $plugin_file ] ) ) {
     128                // Make sure that $plugins['upgrade'] also receives the extra info since it is used on ?plugin_status=upgrade
     129                if ( isset( $plugins['upgrade'][ $plugin_file ] ) ) {
    130130                    $plugins['upgrade'][ $plugin_file ] = $plugin_data = array_merge( (array) $plugin_info->response[ $plugin_file ], $plugin_data );
    131131                }
     
    133133            } elseif ( isset( $plugin_info->no_update[ $plugin_file ] ) ) {
    134134                $plugins['all'][ $plugin_file ] = $plugin_data = array_merge( (array) $plugin_info->no_update[ $plugin_file ], $plugin_data );
    135                 // Make sure that $plugins['upgrade'] also recieves the extra info since it is used on ?plugin_status=upgrade
    136                 if (isset( $plugins['upgrade'][ $plugin_file ] ) ) {
     135                // Make sure that $plugins['upgrade'] also receives the extra info since it is used on ?plugin_status=upgrade
     136                if ( isset( $plugins['upgrade'][ $plugin_file ] ) ) {
    137137                    $plugins['upgrade'][ $plugin_file ] = $plugin_data = array_merge( (array) $plugin_info->no_update[ $plugin_file ], $plugin_data );
    138138                }
Note: See TracChangeset for help on using the changeset viewer.