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

WordPress Trac noreply at wordpress.org
Fri Jun 27 07:31:59 UTC 2025


#63627: General: Only override `$table_prefix` if not defined
-------------------------------+-----------------------------
 Reporter:  Ninos Ego          |      Owner:  (none)
     Type:  enhancement        |     Status:  new
 Priority:  normal             |  Milestone:  Awaiting Review
Component:  General            |    Version:  trunk
 Severity:  normal             |   Keywords:
  Focuses:  php-compatibility  |
-------------------------------+-----------------------------
 Only set the variable `$table_prefix`, if set before (e.g. via some kind
 of custom bootstrapper).

 To use `??=` operator we need `>= php8.4`, but happily referring to your
 documentation, this is already the current minimum requirement :D
 https://wordpress.org/about/requirements/
 -> bumped version in `composer.json`

 Ref: https://github.com/WordPress/wordpress-develop/pull/9087

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


More information about the wp-trac mailing list