[wp-trac] [WordPress Trac] #12429: onclick/onClick attribute should all be lowercase

WordPress Trac wp-trac at lists.automattic.com
Sun Feb 28 19:28:06 UTC 2010


#12429: onclick/onClick attribute should all be lowercase
-------------------------+--------------------------------------------------
 Reporter:  TobiasBg     |       Owner:                  
     Type:  enhancement  |      Status:  new             
 Priority:  normal       |   Milestone:  3.0             
Component:  General      |     Version:                  
 Severity:  normal       |    Keywords:  has-patch commit
-------------------------+--------------------------------------------------
 dd32 [http://core.trac.wordpress.org/ticket/12299#comment:2 mentioned]
 that various code editors replace "onclick" attributes with "onClick".
 However, this breaks XHTML validation as all attributes need to be
 lowercase.
 Recent commits ([13242], [13503]) commited such changes to core.

 Attached patch replaces all found (grep) occurances of "onClick" in core
 with "onclick".

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


More information about the wp-trac mailing list