Make WordPress Core

Ticket #25229: wp-admin_plugin-install.php.patch

File wp-admin_plugin-install.php.patch, 933 bytes (added by a.hoereth, 11 years ago)

wp-admin/plugin-install.php

  • wp-admin/plugin-install.php

     
    3333
    3434$body_id = $tab;
    3535
    36 do_action('install_plugins_pre_' . $tab); //Used to override the general interface, Eg, install or plugin information.
     36/**
     37 * Override the general interface on specific tabs.
     38 *
     39 * @since 2.7
     40 */
     41do_action('install_plugins_pre_' . $tab);
    3742
    3843get_current_screen()->add_help_tab( array(
    3944'id'            => 'overview',
     
    6671<?php $wp_list_table->views(); ?>
    6772
    6873<br class="clear" />
    69 <?php do_action('install_plugins_' . $tab, $paged); ?>
     74<?php
     75/**
     76 * Used for plugin tab routing.
     77 *
     78 * @since 2.7
     79 *
     80 * @param int $paged page number request parameter
     81 */
     82do_action('install_plugins_' . $tab, $paged);
     83?>
    7084</div>
    7185<?php
    7286include(ABSPATH . 'wp-admin/admin-footer.php');