WordPress.org

Make WordPress Core

Opened 2 years ago

Closed 2 years ago

#20510 closed defect (bug) (fixed)

Confusing unopened </strong> tag in _e() in setup_config.php

Reported by: jiehanzheng Owned by: azaozz
Milestone: 3.4 Priority: normal
Severity: minor Version: 3.4
Component: I18N Keywords: has-patch commit
Focuses: Cc:

Description

Here it looks confusing because translators would see this:

If for any reason this automatic file creation doesn't work, don't worry. All this does is fill in the database information to a configuration file. You may also simply open <code>wp-config-sample.php</code> in a text editor, fill in your information, and save it as <code>wp-config.php</code>. </strong></p>\n
<p>In all likelihood, these items were supplied to you by your Web Host. If you do not have this information, then you will need to contact them before you can continue. If you&#8217;re all ready&hellip;

Clearly the </strong> seems unopened to them.

I would be nice if we could split up this long string, and leave <strong /> tags outside of _e().

Attachments (1)

20510.diff (1.6 KB) - added by jiehanzheng 2 years ago.

Download all attachments as: .zip

Change History (4)

jiehanzheng2 years ago

comment:1 jiehanzheng2 years ago

Any by "setup_config.php" I mean "wp-admin/setup-config.php".

Version 0, edited 2 years ago by jiehanzheng (next)

comment:2 SergeyBiryukov2 years ago

  • Keywords commit added
  • Milestone changed from Awaiting Review to 3.4

Introduced in [19760].

comment:3 azaozz2 years ago

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

In [20564]:

Move closing HTML tag outside _e(), props jiehanzheng, fixes #20510

Note: See TracTickets for help on using tickets.