Make WordPress Core

Opened 14 years ago

Closed 14 years ago

#20113 closed defect (bug) (fixed)

Remove extra trailing double quote from metabox contextual help tabs

Reported by: niallkennedy Owned by: nacin
Priority: normal Milestone: 3.4
Component: Validation Version:
Severity: normal Keywords: has-patch
Cc: Focuses:

Description

The admin contextual help menu sets an "active" class for a single list item. If active there is a string ' class="active"' added to the element, else empty string.

The markup for the contextual help tabs includes an extra trailing double quote at the end of the opening <li>, creating bad markup.

Patch removes that single character since the id and class attributes are already properly enclosed in double quotes.

Attachments (1)

screen.diff (556 bytes ) - added by niallkennedy 14 years ago.
remove trailing double quote

Download all attachments as: .zip

Change History (3)

@niallkennedy
14 years ago

remove trailing double quote

#1 @nacin
14 years ago

  • Milestone Awaiting Review3.4

My bad in [19944]. Thanks!

#2 @nacin
14 years ago

  • Owner set to nacin
  • Resolutionfixed
  • Status newclosed

In [19987]:

Remove out-of-place double quote. props niallkennedy. fixes #20113.

Note: See TracTickets for help on using tickets.