~canonical-sysadmins/wordpress/4.8.1

« back to all changes in this revision

Viewing changes to wp-admin/maint/repair.php

  • Committer: Barry Price
  • Date: 2016-08-17 04:49:28 UTC
  • mto: This revision was merged to the branch mainline in revision 22.
  • Revision ID: barry.price@canonical.com-20160817044928-viijiwb4tl8jwzmp
new upstream release 4.6

Show diffs side-by-side

added added

removed removed

Lines of Context:
31
31
 
32
32
        echo '<h1 class="screen-reader-text">' . __( 'Allow automatic database repair' ) . '</h1>';
33
33
 
34
 
        echo '<p>' . __( 'To allow use of this page to automatically repair database problems, please add the following line to your <code>wp-config.php</code> file. Once this line is added to your config, reload this page.' ) . "</p><p><code>define('WP_ALLOW_REPAIR', true);</code></p>";
 
34
        echo '<p>';
 
35
        printf(
 
36
                /* translators: %s: wp-config.php */
 
37
                __( 'To allow use of this page to automatically repair database problems, please add the following line to your %s file. Once this line is added to your config, reload this page.' ),
 
38
                '<code>wp-config.php</code>'
 
39
        );
 
40
        echo "</p><p><code>define('WP_ALLOW_REPAIR', true);</code></p>";
35
41
 
36
42
        $default_key     = 'put your unique phrase here';
37
43
        $missing_key     = false;
80
86
        }
81
87
 
82
88
        /**
83
 
         * Filter additional database tables to repair.
 
89
         * Filters additional database tables to repair.
84
90
         *
85
91
         * @since 3.0.0
86
92
         *