[wp-trac] [WordPress Trac] #27441: SHORTINIT - formatting.php required by some functions

WordPress Trac noreply at wordpress.org
Mon Mar 17 20:34:28 UTC 2014


#27441: SHORTINIT - formatting.php required by some functions
----------------------------+------------------------------
 Reporter:  jesin           |       Owner:
     Type:  defect (bug)    |      Status:  new
 Priority:  normal          |   Milestone:  Awaiting Review
Component:  Bootstrap/Load  |     Version:  3.8.1
 Severity:  normal          |  Resolution:
 Keywords:                  |     Focuses:
----------------------------+------------------------------

Comment (by nacin):

 Hi jesin, great bug report and a perfect patch.

 Unfortunately SHORTINIT was never designed for non-internal use. One
 problem with doing this is then we commit to always maintaining this in
 the future. Our bootstrapping is a bit too fragile to take on this
 additional burden. The moment we patch this, we take on the responsibility
 of keeping this working for the long term.

 If you are doing something with SHORTINIT and you need formatting
 functions, you should include them on your own. Or, you should use all of
 wp-load.php. Once you include formatting.php, it carries with it all sorts
 of other dependencies, and so on. It's best to let SHORTINIT live frozen
 in time.

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


More information about the wp-trac mailing list