Make WordPress Core

Changes between Initial Version and Version 1 of Ticket #15881, comment 17


Ignore:
Timestamp:
12/29/2010 11:39:06 PM (14 years ago)
Author:
tomarq
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #15881, comment 17

    initial v1  
    66
    77I can see how very few plugins use db.php to get started early (caches and things like hive) but, a hook after the database is set up, before WP really gets going, could be useful.  Something in wp-setting.php around about line 94:
     8
     9{{{
    810// Stop most of WordPress from being loaded if we just want the basics.
    911if ( SHORTINIT )
    1012        return false;
    1113
     14POST_INIT_HOOK_HERE?
     15}}}
     16
     17
    1218seems like a good spot.