[wp-trac] [WordPress Trac] #21152: Kill use of colons in class names

WordPress Trac noreply at wordpress.org
Thu Dec 13 08:02:21 UTC 2012


#21152: Kill use of colons in class names
----------------------------+-----------------------
 Reporter:  markjaquith     |       Owner:  azaozz
     Type:  defect (bug)    |      Status:  reopened
 Priority:  normal          |   Milestone:  3.5
Component:  Administration  |     Version:  3.4
 Severity:  normal          |  Resolution:
 Keywords:  has-patch       |
----------------------------+-----------------------
Changes (by arena):

 * status:  closed => reopened
 * resolution:  fixed =>


Comment:

 there are stil some class names with colon-separated values inserted via
 js in 3.5

 such as

 wp-admin/js/cat.js:1:jQuery(document).ready(function(b){var
 a=function(){return""!==b("#newcat").val()};b("#jaxcat").prepend('<span
 id="ajaxcat"><input type="text" name="newcat" id="newcat" size="16"
 autocomplete="off"/><input type="button" name="Button"
 class="'''add:categorychecklist:jaxcat'''" id="catadd"
 value="'+catL10n.add+'"/><input type="hidden"/><input type="hidden"/><span
 id="howto">'+catL10n.how+'</span></span><span id="cat-ajax-
 response"></span>');b("#categorychecklist").wpList({alt:"",response:"cat-
 ajax-response",confirm:a})});

-- 
Ticket URL: <http://core.trac.wordpress.org/ticket/21152#comment:27>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software


More information about the wp-trac mailing list