Make WordPress Core

Ticket #25991: wp-admin_update-core-php.2.diff

File wp-admin_update-core-php.2.diff, 1016 bytes (added by JoshuaAbenazer, 12 years ago)
  • wp-admin/update-core.php

     
    517517        if ( $core || $plugins || $themes )
    518518                list_translation_updates();
    519519        unset( $core, $plugins, $themes );
     520        /**
     521         * Fires after the core, plugin and theme update forms.
     522         *
     523         * @since 2.9.0
     524         */
    520525        do_action('core_upgrade_preamble');
    521526        echo '</div>';
    522527        include(ABSPATH . 'wp-admin/admin-footer.php');
     
    625630        require_once( ABSPATH . 'wp-admin/admin-footer.php' );
    626631
    627632} else {
     633        /**
     634         * Fires when none of the default conditions matches the action
     635         * parameter in the url.
     636         *
     637         * The dynamic portion of the hook name, $action, refers to the action
     638         * paremeter in the url.
     639         *
     640         * @since 3.2.0
     641         */
    628642        do_action('update-core-custom_' . $action);
    629 }
     643}
     644 No newline at end of file