WordPress.org

Make WordPress Core

Opened 7 years ago

Closed 6 years ago

#7055 closed defect (bug) (invalid)

Template Editor missing </strong> tag

Reported by: Cyberstorm Owned by:
Milestone: Priority: low
Severity: trivial Version: 2.5.1
Component: Administration Keywords: has-patch
Focuses: Cc:

Description

On line 86 of wp-admin/theme-editor.php, $desc_header is defined as below:

$desc_header = ( $description != $file_show ) ? "$description</strong> (%s)" : "%s";

And on line 109, there is this:

<big><strong><?php echo sprintf($desc_header, $file_show); ?></big>

If editing a custom file (one that does not come with a normal theme), a </strong> tag will be missing, which messes with the layout.

Attachments (1)

theme_editor_patch.patch (508 bytes) - added by Cyberstorm 7 years ago.

Download all attachments as: .zip

Change History (3)

comment:1 @Cyberstorm7 years ago

  • Keywords has-patch added
  • Milestone changed from 2.7 to 2.6
  • Version changed from 2.6 to 2.5.1

comment:2 @Denis-de-Bernardy6 years ago

  • Milestone 2.9 deleted
  • Resolution set to invalid
  • Status changed from new to closed

invalid in trunk

Note: See TracTickets for help on using tickets.