WordPress / WordPress/wordpress.org
Plugins: Reduce number of CSS classes in blocks
Nobody has claimed this yet.
- Dominant language
- PHP
- Stars
- 163
- Forks
- 221
- PR merge metrics
- No merged PRs in 30d
Description
While this issue existed before the update, we should reduce the amount of CSS classes that are put into elements on the page, particularly if they aren't used.
See example below on a card with many committers, support reps and contributors.
plugins/
They appear due to querying plugin taxonomies associated with the post type, so we could filter them out where appropriate. It seems that plugin_contributors, plugin_committers, plugin_support_reps could be removed, but unsure.
Contributor guide
No contributing guide indexed for this repository
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 in the plugins/ area and trace how the plugin taxonomies plugin_contributors, plugin_committers, and plugin_support_reps become CSS classes on rendered elements. Confirm which classes are unused and should be filtered, then verify that necessary plugin block styling and taxonomy behavior remain intact.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- css, php, wordpress
- Domain
- web-dev
- Issue type
- Refactor
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 35/100