Skip to content
Commit 4897d52e authored by Dion Hulse's avatar Dion Hulse
Browse files

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.

Built from https://develop.svn.wordpress.org/trunk@42205


git-svn-id: https://core.svn.wordpress.org/trunk@42034 1a063a9b-81f0-0310-95a4-ce76da25c4cd
parent 9f793891
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment