http://example.com/wp-admin/maint/repair.php を有効にするには wp-config.php に以下を追記します。
define('WP_ALLOW_REPAIR', true);
これを無効にしようとして define('WP_ALLOW_REPAIR', false);
としてもダメです。コメントアウトするか行自体を削除しないといけない。
なぜなら wp-admin/maint/repair.php で以下のように判定してるから。
:
if ( ! defined( 'WP_ALLOW_REPAIR' ) ) {
echo '' . __( 'To allow use of this page to automatically repair database problems, please add the following line to your wp-config.php
file. Once this line is added to your config, reload this page.' ) . "
define('WP_ALLOW_REPAIR', true);
";
} elseif ( isset( $_GET['repair'] ) ) {
:
ママン、設定値の名前にだまされたよ。