WordPress / WordPress/WordPress-Coding-Standards
Enhancement: check for prefixed script/style handles and image size names
Nobody has claimed this yet.
- Dominant language
- PHP
- Stars
- 2.8k
- Forks
- 521
- Avg merge
- 5d 20h
- Merged PRs (30d)
- 1
Description
@grappler
Would it make sense to check for prefixing the following items or a new issue and sniff would be better?
- Script handles.
- Style handles.
- Image size names.
@jrfnl
... might be possible to add a later stage, however, it would need to be very clearly defined what should be checked for in those cases, so please follow up with some code example, reference links etc.
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start with the linked discussion in WordPress-Coding-Standards issue #900 and gather the requested code examples and reference links. Define precisely what prefixing means for script handles, style handles, and image size names before identifying an implementation entry point; the work is done when the scope is agreed and testable requirements are documented.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- php
- Domain
- tooling
- Issue type
- Feature
- Difficulty
- 5/5
- Estimated time
- Over a week
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 25/100