Ticket #25836: 25836.diff
File 25836.diff, 1.2 KB (added by , 12 years ago) |
---|
-
src/wp-admin/plugins.php
147 147 include( WP_PLUGIN_DIR . '/' . $plugin ); 148 148 } 149 149 plugin_sandbox_scrape( $plugin ); 150 do_action('activate_' . $plugin); 150 /** This action is documented in wp-admin/includes/plugins.php */ 151 do_action( "activate_{$plugin}" ); 151 152 exit; 152 153 break; 153 154 case 'deactivate': … … 416 417 printf( '<span class="subtitle">' . __('Search results for “%s”') . '</span>', esc_html( $s ) ); ?> 417 418 </h2> 418 419 419 <?php do_action( 'pre_current_active_plugins', $plugins['all'] ) ?> 420 <?php 421 /** 422 * Fires before the plugins list table is rendered. 423 * 424 * This hook also fires before the plugins list table is rendered in the Network Admin. 425 * 426 * Note: The 'active' portion of the hook name does not refer to whether the current 427 * view is for active plugins, but rather actively-installed plugins. 428 * 429 * @since 3.0.0 430 * 431 * @param array $plugins_all An array containing all installed plugins. 432 */ 433 do_action( 'pre_current_active_plugins', $plugins['all'] ); 434 ?> 420 435 421 436 <?php $wp_list_table->views(); ?> 422 437