[wp-trac] [WordPress Trac] #18974: Plugin table IDs can collide with core IDs
WordPress Trac
wp-trac at lists.automattic.com
Tue Oct 18 11:24:21 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 scribu):
Replying to [comment:3 Viper007Bond]:
> Replying to [comment:2 scribu]:
> > Standardizing on 'id' and prefixing with 'plugin-' would be a more
future-proof solution.
>
> I don't get the purpose of using IDs. I think classes are a much better
option.
Ids make more sense because plugin slugs are unique.
> Classes, not IDs, should be used for CSS. Always.
That strikes me as an overly broad generalisation. Why have ids at all,
then?
--
Ticket URL: <http://core.trac.wordpress.org/ticket/18974#comment:7>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software
More information about the wp-trac
mailing list