[wp-trac] [WordPress Trac] #34189: Add warning about changing $table_prefix for existing database

WordPress Trac noreply at wordpress.org
Mon Oct 24 16:56:49 UTC 2016


#34189: Add warning about changing $table_prefix for existing database
-----------------------------------+------------------------------
 Reporter:  bjerke-johannessen     |       Owner:
     Type:  enhancement            |      Status:  new
 Priority:  normal                 |   Milestone:  Awaiting Review
Component:  Bootstrap/Load         |     Version:  4.4
 Severity:  normal                 |  Resolution:
 Keywords:  needs-codex has-patch  |     Focuses:  docs
-----------------------------------+------------------------------
Changes (by stevenlinx):

 * keywords:  needs-codex needs-patch => needs-codex has-patch


Comment:

 i) I've revised the patch with better wording as suggested by @jorbin.
 Also, with proper formatting.

 ii) For full documentation on changing the DB table_prefix, I agree with
 @morganestes in updating the Codex page [https://codex.wordpress.org
 /Editing_wp-config.php#table_prefix Editing_wp-config.php#table_prefix].

 However, in addition to linking the
 [https://codex.wordpress.org/Database_Description Database Description]
 Codex page, I think most people are better off using a plugin such as
 [https://wordpress.org/plugins/db-prefix-change/ Change DB Prefix] than
 doing it manually. So, in the documentation, we may want to make a mention
 of this.

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


More information about the wp-trac mailing list