[wp-trac] [WordPress Trac] #37147: Avoid HTML in translation string (/wp-admin/maint/repair.php)

WordPress Trac noreply at wordpress.org
Wed Jun 22 08:28:01 UTC 2016


#37147: Avoid HTML in translation string (/wp-admin/maint/repair.php)
----------------------------+-----------------------------
 Reporter:  anilbasnet      |      Owner:
     Type:  defect (bug)    |     Status:  new
 Priority:  normal          |  Milestone:  Awaiting Review
Component:  Database        |    Version:
 Severity:  normal          |   Keywords:
  Focuses:  administration  |
----------------------------+-----------------------------
 In `/wp-admin/maint/repair.php`:

 Current:

 {{{
 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>";
 }}}

 This `<code>wp-config.php</code>` could be moved out of the string.

--
Ticket URL: <https://core.trac.wordpress.org/ticket/37147>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list