[wp-trac] [WordPress Trac] #20113: Remove extra trailing double quote from metabox contextual help tabs

WordPress Trac wp-trac at lists.automattic.com
Fri Feb 24 20:45:51 UTC 2012


#20113: Remove extra trailing double quote from metabox contextual help tabs
--------------------------+-----------------------------
 Reporter:  niallkennedy  |      Owner:
     Type:  defect (bug)  |     Status:  new
 Priority:  normal        |  Milestone:  Awaiting Review
Component:  Validation    |    Version:
 Severity:  normal        |   Keywords:  has-patch
--------------------------+-----------------------------
 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.

-- 
Ticket URL: <http://core.trac.wordpress.org/ticket/20113>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software


More information about the wp-trac mailing list