Make WordPress Core

Ticket #25991: 25991.diff

File 25991.diff, 1.0 KB (added by DrewAPicture, 12 years ago)

Final pass

  • src/wp-admin/update-core.php

     
    521521        if ( $core || $plugins || $themes )
    522522                list_translation_updates();
    523523        unset( $core, $plugins, $themes );
    524         do_action('core_upgrade_preamble');
     524        /**
     525         * Fires after the core, plugin, and theme update tables.
     526         *
     527         * @since 2.9.0
     528         */
     529        do_action( 'core_upgrade_preamble' );
    525530        echo '</div>';
    526531        include(ABSPATH . 'wp-admin/admin-footer.php');
    527532
     
    627632        require_once( ABSPATH . 'wp-admin/admin-footer.php' );
    628633
    629634} else {
    630         do_action('update-core-custom_' . $action);
     635        /**
     636         * Fires for each custom update action on the WordPress Updates screen.
     637         *
     638         * The dynamic portion of the hook name, $action, refers to the
     639         * passed update action. The hook fires in lieu of all available
     640         * default update actions.
     641         *
     642         * @since 3.2.0
     643         */
     644        do_action( "update-core-custom_{$action}" );
    631645}