[wp-trac] [WordPress Trac] #38650: Provide some guidance on what conditionals can/should be used in default-filters.php

WordPress Trac noreply at wordpress.org
Wed Aug 28 14:35:13 UTC 2024


#38650: Provide some guidance on what conditionals can/should be used in default-
filters.php
----------------------------+---------------------
 Reporter:  helen           |       Owner:  jorbin
     Type:  enhancement     |      Status:  closed
 Priority:  low             |   Milestone:  6.7
Component:  Bootstrap/Load  |     Version:
 Severity:  minor           |  Resolution:  fixed
 Keywords:  has-patch       |     Focuses:  docs
----------------------------+---------------------
Changes (by jorbin):

 * owner:  (none) => jorbin
 * status:  new => closed
 * resolution:   => fixed


Comment:

 In [changeset:"58944" 58944]:
 {{{
 #!CommitTicketReference repository="" revision="58944"
 Bootstrap/Load: Add Words of warning about load order.

 Since this file is loaded incredibly early, many functions are not
 available. Those deeply familiar with how load works might have some idea
 as to what's safe and what isn't, but it's generally confusing and a
 little opaque so let's warn people there be dragons.

 Props helen, DrewAPicture, jorbin.
 Fixes #38650.
 }}}

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


More information about the wp-trac mailing list