Skip to content

Latest commit

 

History

History
14 lines (8 loc) · 595 Bytes

WordPress.WP.DeprecatedClasses.md

File metadata and controls

14 lines (8 loc) · 595 Bytes

Pattern: Use of deprecated WP class

Issue: -

Description

Restricts the use of deprecated WordPress classes and suggests alternatives.

This rule will throw an error when usage of a deprecated class is detected if the class was deprecated before the minimum supported WP version; a warning otherwise. By default, it is set to presume that a project will support the current WP version and up to three releases before.

Further Reading