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

WordPress Trac noreply at wordpress.org
Sat Mar 7 17:27:44 UTC 2026


#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:  6.9
 Severity:  normal          |  Resolution:  fixed
 Keywords:  has-patch       |     Focuses:  php-compatibility
----------------------------+--------------------------------

Comment (by Ninos Ego):

 @westonruter I'm running the bootstrapping part before any wordpress code,
 so without the if-statement it overwrites the global variable... :/

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


More information about the wp-trac mailing list