We are a group of volunteers who review and approve themes submitted to be included in the official WordPress Theme directory.
We do license, security, and code quality reviews.
We help build and maintain default themes.
The primary focus of the team is to help theme authors transition to blockBlockBlock is the abstract term used to describe units of markup that, composed together, form the content or layout of a webpage using the WordPress editor. The idea combines concepts of what in the past may have achieved with shortcodes, custom HTML, and embed discovery into a single consistent API and user experience.-based themes.
Theme SnifferTheme SnifferTheme Sniffer is a plugin utilizing custom sniffs for PHP_CodeSniffer that statically analyzes your theme and ensures that it adheres to WordPress coding conventions, as well as checking your code against PHP version compatibility.
The plugin is available from GitHub.
Themes are not required to pass the Theme Sniffer scan without warnings or errors to be included in the theme directory. is a pluginPluginA plugin is a piece of software containing a group of functions that can be added to a WordPress website. They can extend functionality or add new features to your WordPress websites. WordPress plugins are written in the PHP programming language and integrate seamlessly with WordPress. These can be free in the WordPress.org Plugin Directory https://wordpress.org/plugins/ or can be cost-based plugin from a third-party utilizing custom sniffssniffA module for PHP Code Sniffer that analyzes code for a specific problem. Multiple stiffs are combined to create a PHPCS standard. The term is named because it detects code smells, similar to how a dog would "sniff" out food. for PHP_CodeSniffer that statically analyzes your theme and ensures that it adheres to WordPress coding conventions, as well as checking your code against PHPPHPPHP (recursive acronym for PHP: Hypertext Preprocessor) is a widely-used open source general-purpose scripting language that is especially suited for web development and can be embedded into HTML. http://php.net/manual/en/intro-whatis.php. version compatibility.
-If you download the plugin from GithubGitHubGitHub is a website that offers online implementation of git repositories that can easily be shared, copied and modified by other developers. Public repositories are free to host, private repositories require a paid subscription. GitHub introduced the concept of the ‘pull request’ where code changes done in branches by contributors can be reviewed and discussed before being merged be the repository owner. https://github.com/, make sure that you select the distribution plugin zip linked from the documentation. Cloning or downloading the zip file that Github provides will not work.
Install the plugin.
Select the Theme Sniffer menu:
On the plugin page, you will find the following options:
Select theme: A list of installed themes. The active theme is selected by default.
Theme prefixes: Optional. Add a list of permitted prefixes to check if all functions and global variables are prefixed correctly. Use one or multiple prefixes, separated by comma – e.g. twentyseventeen,twentysixteen,myprefix.
Hide Warning: Select this option to hide the warnings and only include errors in the report.
Raw Output: Select this option if you prefer to use the PHPCSPHP Code SnifferPHP Code Sniffer, a popular tool for analyzing code quality. The WordPress Coding Standards rely on PHPCS. formatting in the report.
Ignore annotations: Select this option to ignore comments that might disable the sniffsniffA module for PHP Code Sniffer that analyzes code for a specific problem. Multiple stiffs are combined to create a PHPCS standard. The term is named because it detects code smells, similar to how a dog would "sniff" out food., for example phpcs:ignore.
Check only PHP files. Select this option to prevent any possible memory leaks from sniffing CSSCSSCSS is an acronym for cascading style sheets. This is what controls the design or look and feel of a site. and JS files.
Avoid copy pasting the report in the TracTracTrac is the place where contributors create issues for bugs or feature requests much like GitHub.https://core.trac.wordpress.org/. ticket. The report must be manually checked. Do not include a list of errors and warnings only, check them manually first. Only request the author to fix actual errors that you find during the manual check.