Changeset 25512
- Timestamp:
- 09/20/2013 02:35:41 AM (11 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-admin/plugin-install.php
r24320 r25512 10 10 define( 'IFRAME_REQUEST', true ); 11 11 12 /** WordPress Administration Bootstrap */ 12 /** 13 * WordPress Administration Bootstrap. 14 */ 13 15 require_once('./admin.php'); 14 16 … … 34 36 $body_id = $tab; 35 37 36 do_action('install_plugins_pre_' . $tab); //Used to override the general interface, Eg, install or plugin information. 38 /** 39 * Fires before each tab on the Install Plugins screen is loaded. 40 * 41 * The dynamic portion of the action hook, $tab, allows for targeting 42 * individual tabs, for instance 'install_plugins_pre_plugin-information'. 43 * 44 * @since 2.7.0 45 */ 46 do_action( "install_plugins_pre_$tab" ); 37 47 38 48 get_current_screen()->add_help_tab( array( … … 58 68 ); 59 69 70 /** 71 * WordPress Administration Template Header. 72 */ 60 73 include(ABSPATH . 'wp-admin/admin-header.php'); 61 74 ?> … … 67 80 68 81 <br class="clear" /> 69 <?php do_action('install_plugins_' . $tab, $paged); ?> 82 <?php 83 /** 84 * Fires after the plugins list table in each tab of the Install Plugins screen. 85 * 86 * The dynamic portion of the action hook, $tab, allows for targeting 87 * individual tabs, for instance 'install_plugins_plugin-information'. 88 * 89 * @since 2.7.0 90 * 91 * @param int $paged The current page number of the plugins list table. 92 */ 93 ?> 94 <?php do_action( "install_plugins_$tab", $paged ); ?> 70 95 </div> 71 96 <?php 97 /** 98 * WordPress Administration Template Footer. 99 */ 72 100 include(ABSPATH . 'wp-admin/admin-footer.php');
Note: See TracChangeset
for help on using the changeset viewer.