Make WordPress Core

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

File wp-admin_update-core-php.diff, 1.0 KB (added by JoshuaAbenazer, 13 years ago)
  • wp-admin/update-core.php

     
    515515        if ( $core || $plugins || $themes )
    516516                list_translation_updates();
    517517        unset( $core, $plugins, $themes );
     518       
     519        /**
     520         * Fires after the core, plugin and theme update forms
     521         *
     522         * @since 2.9.0
     523         */
    518524        do_action('core_upgrade_preamble');
    519525        echo '</div>';
    520526        include(ABSPATH . 'wp-admin/admin-footer.php');
     
    623629        require_once( ABSPATH . 'wp-admin/admin-footer.php' );
    624630
    625631} else {
     632   
     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         */
    626642        do_action('update-core-custom_' . $action);
    627 }
     643}
     644 No newline at end of file