• Resolved Curtis

    (@salsafire)


    Hello. Thank you for your plugin development.

    Upon testing a website with the PHP Compatibility Checker plugin from the WordPress repository, this warning message was generated.

    plugins/security-ninja/sn-tests.php
    ————————————————————————————————
    FOUND 0 ERRORS AND 2 WARNINGS AFFECTING 2 LINES
    ————————————————————————————————
    392 | WARNING | INI directive ‘register_globals’ is deprecated from PHP 5.3 and forbidden from PHP 5.4.
    466 | WARNING | INI directive ‘safe_mode’ is deprecated from PHP 5.3 and forbidden from PHP 5.4.
    ————————————————————————————————

    Curt

Viewing 3 replies - 1 through 3 (of 3 total)
  • Hi Curtis, thank you for taking the time to test Security Ninja.

    Unfortunately, that’s the problem with the Compatibility Tester plugin – it just checks if a certain piece of code is there and not the context it was used in. In this specific case we’re just checking if ini_get('register_globals') is true (same thing with safe_mode). So, in a way, the same thing as the Checker is doing 🙂

    I’ll see if we can do something not to raise those warnings 🙂

    Next update (due in 7ish days) will no longer raise those warnings 😉

    Thread Starter Curtis

    (@salsafire)

    Thank you for the clarification and update.

Viewing 3 replies - 1 through 3 (of 3 total)

The topic ‘PHP 7 compatibility’ is closed to new replies.