Changeset 24725
- Timestamp:
- 07/17/2013 09:08:05 PM (11 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/wp-admin/includes/plugin-install.php
r24327 r24725 230 230 $url = wp_nonce_url(self_admin_url('update.php?action=install-plugin&plugin=' . $api->slug), 'install-plugin_' . $api->slug); 231 231 } else { 232 $key = array_shift( $key = array_keys($installed_plugin) ); //Use the first plugin regardless of the name, Could have issues for multiple-plugins in one directory if they share different version numbers 232 $key = array_keys( $installed_plugin ); 233 $key = array_shift( $key ); //Use the first plugin regardless of the name, Could have issues for multiple-plugins in one directory if they share different version numbers 233 234 if ( version_compare($api->version, $installed_plugin[ $key ]['Version'], '=') ){ 234 235 $status = 'latest_installed';
Note: See TracChangeset
for help on using the changeset viewer.