WordPress / WordPress/theme-check

Use a unique namespace [Info]

Open
#124 1 comment 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

sniffer
Dominant language
PHP
Stars
371
Forks
113
Avg merge
8m
Merged PRs (30d)
5

Description

Provide a unique namespace for everything the Theme defines in the public namespace, including options, functions, global variables, constants, post meta, etc.

We can check if they are namespaced with the theme slug.

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

No files, tests, or entry points are named. Start by locating the existing checks for theme-defined public names, then determine how the theme slug should be applied consistently to options, functions, globals, constants, and post meta. Done means the checker covers the listed public items and verifies their namespace.

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
Mostly clear
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.