Fork me on GitHub

WordPress-kehittäjä, älä missaa ilmaista webinaariamme Xdebugista elokuun 19. päivä!

WordPress-utvecklare, missa inte vår kostnadsfria webbinar om Xdebug den 19. augusti!

WordPress developer, don't miss our free webinar about Xdebug on August 19th!


wp-check-php-compatibility - manual page for wp-check-php-compatibility git version 13adb08


usage: wp-check-php-compatibility [-h] [–version] [–php <phpversion>] [path]

Check that the PHP code of the current WordPress installation, including themes and plugins, is compatible with the PHP specified.

This is based on phpcs and it’s PHP compatibility rulesets.

positional arguments:

  • path
    Path to site. Defaults to /data/wordpress/htdocs/wordpress/wp-content

optional arguments:

  • -h, –help
    display this help and exit

  • –php <version>
    PHP version. Defaults to 7.4.

  • –version
    display version and exit