Skip to content
This repository has been archived by the owner on Jul 20, 2018. It is now read-only.

Flag generic asset (js/css) slugs #66

Open
nickdaugherty opened this issue Feb 6, 2014 · 0 comments
Open

Flag generic asset (js/css) slugs #66

nickdaugherty opened this issue Feb 6, 2014 · 0 comments

Comments

@nickdaugherty
Copy link
Contributor

If a theme is registering and/or enqueuing a custom js or css asset, we should ensure that a unique slug is used. A relatively simple way to do so would be to check the slug for the presence of an _ or - character, which would indicate at least some sort of namespacing.

Anything w/o one of those in the slug would be assumed to be using a generic name.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

1 participant