Changeset 31872
- Timestamp:
- 03/24/2015 05:29:32 PM (10 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-admin/includes/class-wp-plugins-list-table.php
r31834 r31872 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 recieves the extra info since it is used on ?plugin_status=upgrade 129 if (isset( $plugins['upgrade'][ $plugin_file ] ) ) { 130 $plugins['upgrade'][ $plugin_file ] = $plugin_data = array_merge( (array) $plugin_info->response[ $plugin_file ], $plugin_data ); 131 } 132 128 133 } elseif ( isset( $plugin_info->no_update[ $plugin_file ] ) ) { 129 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 recieves the extra info since it is used on ?plugin_status=upgrade 136 if (isset( $plugins['upgrade'][ $plugin_file ] ) ) { 137 $plugins['upgrade'][ $plugin_file ] = $plugin_data = array_merge( (array) $plugin_info->no_update[ $plugin_file ], $plugin_data ); 138 } 130 139 } 131 140
Note: See TracChangeset
for help on using the changeset viewer.