[wp-trac] [WordPress Trac] #37584: Add SHORTINIT Options

WordPress Trac noreply at wordpress.org
Thu Feb 22 08:46:52 UTC 2018


#37584: Add SHORTINIT Options
-----------------------------+------------------------------------------
 Reporter:  steveglick       |       Owner:
     Type:  feature request  |      Status:  closed
 Priority:  normal           |   Milestone:
Component:  Bootstrap/Load   |     Version:  4.5.3
 Severity:  normal           |  Resolution:  wontfix
 Keywords:  has-patch        |     Focuses:  administration, performance
-----------------------------+------------------------------------------

Comment (by tazotodua):

 Replying to [comment:6 jorbin]:
 > So many files in WordPress are cross dependent that an autoloader is the
 best way to ensure things get loaded.  Once that is in place, custom
 `SHORTINIT` such as just handling sessions will be much more possible.
 #36335 is the best route for this.
 sorry for replying on closed topic, but can you (anyone) tell me that a
 bit simpler - is that possible to use SHORTINIT, but also load ONLY user
 /session-functions , i.e. to check for
 `current_user_can("manage_options")`

 is that possible? i cant understand that linked ticket well.

--
Ticket URL: <https://core.trac.wordpress.org/ticket/37584#comment:8>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list