[wp-trac] [WordPress Trac] #18974: Plugin table IDs can collide with core IDs

WordPress Trac wp-trac at lists.automattic.com
Tue Oct 25 03:05:26 UTC 2011


#18974: Plugin table IDs can collide with core IDs
----------------------------+-----------------------------
 Reporter:  Viper007Bond    |       Owner:
     Type:  defect (bug)    |      Status:  new
 Priority:  low             |   Milestone:  Future Release
Component:  Administration  |     Version:  3.3
 Severity:  minor           |  Resolution:
 Keywords:                  |
----------------------------+-----------------------------

Comment (by mikeschinkel):

 Replying to [comment:5 azaozz]:
 > Replying to [comment:4 mikeschinkel]:
 > > Without IDs it can be much harder to target elements robustly using
 jQuery. FWIW.
 >
 > That's not entirely true. In the past IDs were faster to target from JS,
 currently targeting classes is about as fast as targeting IDs (except in
 IE7).

 I wasn't referring to performance but instead to targeting an unique
 element without worrying that your selector can match others
 inadvertently. That does assume that all IDs on a page are unique, of
 course.

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


More information about the wp-trac mailing list