[wp-trac] [WordPress Trac] #29688: Stop editing line in default config not explicit enough

WordPress Trac noreply at wordpress.org
Thu Jan 12 00:25:22 UTC 2017


#29688: Stop editing line  in default config not explicit enough
----------------------------+------------------------------
 Reporter:  kirrus          |       Owner:
     Type:  enhancement     |      Status:  new
 Priority:  normal          |   Milestone:  Awaiting Review
Component:  Bootstrap/Load  |     Version:  0.71
 Severity:  normal          |  Resolution:
 Keywords:  has-patch       |     Focuses:
----------------------------+------------------------------

Comment (by dd32):

 > I anticipate the patch to be thrown-out, but wanted to suggest it
 anyway. :-)
 :)

 > The wp-config.php file of any currently installed system will require
 changing to support the different method I've created.
 Unfortunately that's not going to fly, as you know :)

 I thought we had a backup `require_once()` in `wp-load.php` already incase
 it was removed from `wp-config.php` but seems not, I guess the main reason
 that isn't there is due to the obvious BC issues:
 The major back-compat issue here is mostly that bad plugins / other stand
 alone scripts currently load WordPress by including `wp-config.php`
 directly rather than `wp-load.php` (which is a fairly "recent" thing, in
 the history of WordPress).


 Maybe we could just be more explicit along the lines of:
 {{{
 /*
  * That's all, stop editing! Happy blogging.
  *
  * NOTHING PLACED BELOW THIS LINE WILL HAVE AN EFFECT ON YOUR SITE.
  *
  */
 }}}

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


More information about the wp-trac mailing list