Changeset 11012 for trunk/wp-admin/update.php
- Timestamp:
- 04/20/2009 06:15:08 PM (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/wp-admin/update.php
r11005 r11012 78 78 $title = sprintf( __('Installing Plugin: %s'), $api->name . ' ' . $api->version ); 79 79 $nonce = 'install-plugin_' . $plugin; 80 $url = add_query_arg( array( 81 'plugin' => $plugin, 82 'plugin_name' => $api->name . ' ' . $api->version, 83 'download_url' => $api->download_link 84 ), 'update.php?action=install-plugin'); 80 $url = 'update.php?action=install-plugin&plugin=' . $plugin; 85 81 $type = 'web'; //Install plugin type, From Web or an Upload. 86 82 … … 158 154 $title = sprintf( __('Installing theme: %s'), $api->name . ' ' . $api->version ); 159 155 $nonce = 'install-theme_' . $theme; 160 $url = add_query_arg( array( 161 'theme' => $theme, 162 'theme_name' => $api->name . ' ' . $api->version, 163 'download_url' => $api->download_link 164 ), 'update.php?action=install-theme'); 156 $url = 'update.php?action=install-theme&theme=' . $theme; 165 157 $type = 'web'; //Install theme type, From Web or an Upload. 166 158
Note: See TracChangeset
for help on using the changeset viewer.