Fork me on GitHub
X

WordPress-kehittäjä, älä missaa ilmaista webinaariamme WordPressin hakutoiminnosta tammikuun 14. päivä!

WordPress-utvecklare, missa inte vår gratis webbinar om sökningen in WordPress den 14. januari!

WordPress developer, don't miss our free webinar about search in WordPress on January 14th!

NAME

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

DESCRIPTION

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