• Dear Sovrn, Zemanta,

    I couldn’t find the information in the forums nor in the wiki or development tab of this section.

    You say:

    We currently only support php versions 5.4 or greater.

    Is this plug-in compatible with PHP 7.x?

    After running the code against WP Compatibility Checker or Code Sniffer with the PHPCompatibility sniffs, it generates some warnings:

    
    FILE: ...nt/plugins/wordpress-23-related-posts-plugin/recommendations.php
    ----------------------------------------------------------------------
    FOUND 0 ERRORS AND 2 WARNINGS AFFECTING 2 LINES
    ----------------------------------------------------------------------
     182 | WARNING | Function create_function() is deprecated since PHP
         |         | 7.2; Use an anonymous function instead
     264 | WARNING | Function create_function() is deprecated since PHP
         |         | 7.2; Use an anonymous function instead
    ----------------------------------------------------------------------
    
    FILE: ...gs/wp-content/plugins/wordpress-23-related-posts-plugin/init.php
    ----------------------------------------------------------------------
    FOUND 0 ERRORS AND 2 WARNINGS AFFECTING 2 LINES
    ----------------------------------------------------------------------
     215 | WARNING | Function create_function() is deprecated since PHP
         |         | 7.2; Use an anonymous function instead
     440 | WARNING | Function create_function() is deprecated since PHP
         |         | 7.2; Use an anonymous function instead
    ----------------------------------------------------------------------
    

    Do you know if a review / fix is planned?

    Thanks a lot,

    Best regards.

    Alexandre

  • The topic ‘Compatibility with PHP 7.x’ is closed to new replies.