WordPress.org

Make WordPress Core

Changeset 18450


Ignore:
Timestamp:
07/21/2011 07:37:47 PM (7 years ago)
Author:
ryan
Message:

Call register_shutdown_function() for SHORTINIT. Props jtclarke. fixes #16389

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/wp-settings.php

    r18375 r18450  
    9292    define( 'MULTISITE', false );
    9393}
     94
     95register_shutdown_function( 'shutdown_action_hook' );
    9496
    9597// Stop most of WordPress from being loaded if we just want the basics.
     
    288290require_if_theme_supports( 'post-thumbnails', ABSPATH . WPINC . '/post-thumbnail-template.php' );
    289291
    290 register_shutdown_function( 'shutdown_action_hook' );
    291 
    292292// Set up current user.
    293293$wp->init();
Note: See TracChangeset for help on using the changeset viewer.