Ticket #20983: 20983.diff
File 20983.diff, 1.3 KB (added by , 12 years ago) |
---|
-
wp-admin/includes/class-wp-upgrader.php
1435 1435 $install_actions['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>'; 1436 1436 1437 1437 if ( is_multisite() && current_user_can( 'manage_network_plugins' ) ) { 1438 $install_actions['network_activate'] = '<a href="' . wp_nonce_url('plugins.php?action=activate&networkwide=1&plugin=' . $plugin_file, 'activate-plugin_' . $plugin_file) . '" title="' . esc_attr__('Activate this plugin for all sites in this network') . '" target="_parent">' . __(' Network Activate') . '</a>';1438 $install_actions['network_activate'] = '<a href="' . wp_nonce_url('plugins.php?action=activate&networkwide=1&plugin=' . $plugin_file, 'activate-plugin_' . $plugin_file) . '" title="' . esc_attr__('Activate this plugin for all sites in this network') . '" target="_parent">' . __('Activate this plugin for all sites in this network') . '</a>'; 1439 1439 unset( $install_actions['activate_plugin'] ); 1440 1440 } 1441 1441