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

WordPress Trac wp-trac at lists.automattic.com
Tue Oct 18 06:29:11 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 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).

 The original problem:
 "Go to Plugins > Installed Plugins. My plugin's details will show up in
 italics. This is because the table row is given the ID local-time (my
 plugin's slug)"

 Seems the plugin needs a more "proprietary" slug, perhaps `viper-local-
 time`, etc.

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


More information about the wp-trac mailing list