WordPress.org

Make WordPress Core

Ticket #17817: 17817.26.diff

File 17817.26.diff, 868 bytes (added by jorbin, 3 years ago)
  • src/wp-includes/plugin.php

     
    2121 * @since 1.5.0
    2222 */
    2323
    24 // Initialize the filter globals.
    25 require( ABSPATH . WPINC . '/class-wp-hook.php' );
    26 
    2724/** @var WP_Hook[] $wp_filter */
    2825global $wp_filter, $wp_actions, $wp_current_filter;
    2926
  • src/wp-settings.php

     
    2020// Include files required for initialization.
    2121require( ABSPATH . WPINC . '/load.php' );
    2222require( ABSPATH . WPINC . '/default-constants.php' );
     23require_once( ABSPATH . WPINC . '/class-wp-hook.php' );
    2324require_once( ABSPATH . WPINC . '/plugin.php' );
    2425
    2526/*