[wp-trac] [WordPress Trac] #63627: General: Only override `$table_prefix` if not defined

WordPress Trac noreply at wordpress.org
Sun Nov 16 19:31:19 UTC 2025


#63627: General: Only override `$table_prefix` if not defined
----------------------------+--------------------------------
 Reporter:  Ninos Ego       |       Owner:  SergeyBiryukov
     Type:  enhancement     |      Status:  closed
 Priority:  normal          |   Milestone:  7.0
Component:  Bootstrap/Load  |     Version:  trunk
 Severity:  normal          |  Resolution:  fixed
 Keywords:  has-patch       |     Focuses:  php-compatibility
----------------------------+--------------------------------
Changes (by SergeyBiryukov):

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


Comment:

 In [changeset:"61250" 61250]:
 {{{
 #!CommitTicketReference repository="" revision="61250"
 Bootstrap/Load: Only override the `$table_prefix` global if not already
 defined.

 This aims to provide more flexibility in preloading some environment
 settings before initializing WordPress.

 Follow-up to [18993], [57748].

 Props ninos-ego, dd32, swissspidy, SergeyBiryukov.
 Fixes #63627.
 }}}

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


More information about the wp-trac mailing list