Ticket #13097: 13097.1.diff
| File 13097.1.diff, 1.2 KB (added by , 17 years ago) |
|---|
-
wp-admin/includes/class-wp-upgrader.php
1214 1214 'activate_plugin' => '<a href="' . wp_nonce_url('plugins.php?action=activate&plugin=' . $plugin_file, 'activate-plugin_' . $plugin_file) . '" title="' . esc_attr__('Activate this plugin') . '" target="_parent">' . __('Activate Plugin') . '</a>', 1215 1215 ); 1216 1216 1217 if ( is_multisite() && current_user_can( 'manage_network_plugins' ) ) 1218 $install_actions['network_activate'] = '<a href="' . wp_nonce_url('plugins.php?action=activate&networkwide=1&plugin=' . $plugin_file, 'activate-plugin_' . $plugin_file) . '" title="' . __('Activate this plugin for all sites in this network') . '" target="_parent">' . __('Network Activate') . '</a>'; 1219 1217 1220 if ( $this->type == 'web' ) 1218 1221 $install_actions['plugins_page'] = '<a href="' . admin_url('plugin-install.php') . '" title="' . esc_attr__('Return to Plugin Installer') . '" target="_parent">' . __('Return to Plugin Installer') . '</a>'; 1219 1222 else … … 1390 1393 $this->package = $uploads['basedir'] . '/' . $this->filename; 1391 1394 } 1392 1395 }