[wp-trac] [WordPress Trac] #11717: Access to automatic database repair/optimize with admin rights

WordPress Trac noreply at wordpress.org
Mon Nov 20 06:20:25 UTC 2017


#11717: Access to automatic database repair/optimize with admin rights
-------------------------+----------------------
 Reporter:  neoxx        |       Owner:
     Type:  enhancement  |      Status:  closed
 Priority:  normal       |   Milestone:
Component:  Database     |     Version:  2.9.1
 Severity:  normal       |  Resolution:  wontfix
 Keywords:  has-patch    |     Focuses:
-------------------------+----------------------

Comment (by dd32):

 In [changeset:"42205"]:
 {{{
 #!CommitTicketReference repository="" revision="42205"
 DB Repair: Only allow non-falsey values of `WP_ALLOW_REPAIR` to access the
 DB repair functionality.
 This allows defining the constant as `false` to prevent access (rather
 than requiring the constant to be removed entirely).

 Props tiagohillebrandt, munklefish.
 See #11717.
 Fixes #42622.
 }}}

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


More information about the wp-trac mailing list