• Resolved bhenselmann

    (@bhenselmann)


    Hi!
    first: Thanks for your plugin!

    I’ve tested all my plugins with this PHP linter:
    https://wordpress.org/plugins/php-compatibility-checker/

    Unfortunately I found a problem with your plugin:

    FILE: /kunden/136826_81375/EarthLink/wordpress/wp-content/plugins/gotmls/images/index.php
    ————————————————————————————————————————————
    FOUND 0 ERRORS AND 1 WARNING AFFECTING 1 LINE
    ————————————————————————————————————————————
    23 | WARNING | Function name “__” is discouraged; PHP has reserved all method names with a double underscore prefix for future use
    ————————————————————————————————————————————

    FILE: /kunden/136826_81375/EarthLink/wordpress/wp-content/plugins/gotmls/index.php
    ———————————————————————————-
    FOUND 2 ERRORS AFFECTING 2 LINES
    ———————————————————————————-
    1521 | ERROR | preg_replace() – /e modifier is forbidden since PHP 7.0
    1596 | ERROR | preg_replace() – /e modifier is forbidden since PHP 7.0
    ———————————————————————————-

    Would be great if you can fix this!

    All the best,
    Bernhard

    • This topic was modified 9 years, 6 months ago by bhenselmann.
Viewing 1 replies (of 1 total)
  • Plugin Author Eli

    (@scheeeli)

    I fixed those errors 🙂

    Thanks for this detailed report. I just finished my latest update and released the new version of my plugin, which is now compatible with PHP 7.0

    I didn’t change anything with that warning about the Function name “__” being discouraged, because that is the function that WordPress uses for translating stings.

Viewing 1 replies (of 1 total)

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