WP Compat Scanner

WP Compat Scanner

A WordPress plugin that scans your installed plugins for compatibility issues with specific WordPress versions. Uses the wp-since library to detect deprecated functions, version mismatches, and compatibility problems.

Features

  • Scan all plugins — Check active or all installed plugins at once
  • Detect deprecated code — Find functions/hooks that may be removed in future WordPress versions
  • Version validation — Verify declared minimum WordPress versions match actual usage
  • New features detection — See which new WordPress features your plugins are using
  • Custom compatibility maps — Generate maps for specific WordPress versions (RC, beta, etc.)
  • WP-CLI integration — Easy command-line interface

Quick Start

# Scan all active plugins
wp compat-scanner scan

# Scan specific plugin
wp compat-scanner scan --plugin=your-plugin-slug

# Check against WordPress 6.9 RC1
wp compat-scanner generate_map --version=6.9-RC1
wp compat-scanner scan --since-map=wp-content/plugins/wp-compat-scanner/wp-since-6.9-RC1.json

Language: PHP

View on GitHub