DeprecatedTag
Discourages using deprecated tags in themes. Deprecated tags have their own unique implementation within this check. For example the include
tag is deprecated but is still used in themes. This check looks for the include
tag and provides a message that it's deprecated.
The following examples contain code snippets that either fail or pass this check:
The following example contains the default configuration for this check:
Parameter | Description |
---|---|
enabled |
Whether the check is enabled. |
severity |
The severity of the check. |
Disabling this check
Anchor link to section titled "Disabling this check"Disabling this check isn't recommended.
For backward compatibility with configuration files made for Theme Check v1.X.X
, this check is also recognized in configuration files with the following name:
DeprecatedTags