[wp-trac] [WordPress Trac] #36550: write wp-admin >> settings to textfile instead of database

WordPress Trac noreply at wordpress.org
Sat Apr 16 12:07:54 UTC 2016


#36550: write wp-admin >> settings to textfile instead of database
-----------------------------+-----------------------------
 Reporter:  Dreimorgen       |      Owner:
     Type:  feature request  |     Status:  new
 Priority:  normal           |  Milestone:  Awaiting Review
Component:  General          |    Version:
 Severity:  normal           |   Keywords:
  Focuses:  administration   |
-----------------------------+-----------------------------
 Currently all the setting in WordPress are accessed via the wp-admin GUI
 and saved into the database.

 Sublime Text, the editor, for example saves its settings into a json-style
 file.

 It would be valuable to have the settings saved in a textfile for two
 reasons:

 1. It can be version controlled
 2. It could be prepared and dropped into new projects

 For SysAdmins and Webdevelopers this would make it easy to automate the
 creation of a new WP Site and have a reusable set of personal settings.

 This would not interfere with the standard GUI, wich should stay for
 regular user, but only be an enhancement.

 Proposed Example (/wp-settings.json)

 {{{
 {
   "blogname":"My WordPress Site",
   "blogdescription": "Another WordPress Site",
   "site_url": "http://www.wordpress.org",
   "home_url": "http://www.wordpress.org",
   "admin_email": "mail at example.com",
   "users_can_register": false,
   "default_role":administrator,
   // ...
 }
 }}}

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


More information about the wp-trac mailing list