Make WordPress Core

Opened 7 years ago

Closed 7 years ago

Last modified 7 years ago

#37147 closed defect (bug) (fixed)

Avoid HTML in translation string (/wp-admin/maint/repair.php)

Reported by: anilbasnet's profile anilbasnet Owned by: swissspidy's profile swissspidy
Milestone: 4.6 Priority: normal
Severity: normal Version:
Component: I18N Keywords: has-patch
Focuses: administration Cc:


In /wp-admin/maint/repair.php:


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.

Attachments (1)

37147.diff (1019 bytes) - added by anilbasnet 7 years ago.

Download all attachments as: .zip

Change History (5)

7 years ago

#1 @anilbasnet
7 years ago

  • Keywords has-patch added

Patch added.

#2 @swissspidy
7 years ago

  • Component changed from Database to I18N
  • Milestone changed from Awaiting Review to 4.6

#3 @swissspidy
7 years ago

  • Owner set to swissspidy
  • Resolution set to fixed
  • Status changed from new to closed

In 37858:

I18N: Remove HTML tags from translatable string in wp-admin/maint/repair.php.

Props anilbasnet.
Fixes #37147.

#4 @SergeyBiryukov
7 years ago

In 37948:

I18N: Make the translator comment added in [37858] more explicit and consistent with other similar instances.

See #37147.

Note: See TracTickets for help on using tickets.