Changeset 31873
- Timestamp:
- 03/24/2015 05:32:47 PM (10 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-admin/includes/class-wp-plugins-list-table.php
r31872 r31873 126 126 if ( isset( $plugin_info->response[ $plugin_file ] ) ) { 127 127 $plugins['all'][ $plugin_file ] = $plugin_data = array_merge( (array) $plugin_info->response[ $plugin_file ], $plugin_data ); 128 // Make sure that $plugins['upgrade'] also rec ieves the extra info since it is used on ?plugin_status=upgrade129 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 ] ) ) { 130 130 $plugins['upgrade'][ $plugin_file ] = $plugin_data = array_merge( (array) $plugin_info->response[ $plugin_file ], $plugin_data ); 131 131 } … … 133 133 } elseif ( isset( $plugin_info->no_update[ $plugin_file ] ) ) { 134 134 $plugins['all'][ $plugin_file ] = $plugin_data = array_merge( (array) $plugin_info->no_update[ $plugin_file ], $plugin_data ); 135 // Make sure that $plugins['upgrade'] also rec ieves the extra info since it is used on ?plugin_status=upgrade136 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 ] ) ) { 137 137 $plugins['upgrade'][ $plugin_file ] = $plugin_data = array_merge( (array) $plugin_info->no_update[ $plugin_file ], $plugin_data ); 138 138 }
Note: See TracChangeset
for help on using the changeset viewer.