• Resolved hkodavid

    (@hkodavid)


    Dear Developer!

    We found a line, which eliminates some features in wp. Why is this necessary?

    add_filter( ‘admin_footer_text’, ‘__return_false’, 1000 );

    Regards,
    David Kiss

Viewing 6 replies - 1 through 6 (of 6 total)
  • Plugin Author dFactory

    (@dfactory)

    Hi,

    This hook is only used on the CN plugin onboarding screen in order to prevent messing up the design. It’s not used anywhere outside of the plugin scope.

    tomazzi

    (@tomazzi)

    Hello,

    the problem is that some other very useful plugins like “Server IP & Memory Usage Display” does not work anymore. I propose to remove this filter.

    Thanks,

    Tom

    detoris

    (@detoris)

    I would also like to continue to see the info from “Server IP & Memory Usage Display”

    • This reply was modified 4 years ago by detoris.
    Thread Starter hkodavid

    (@hkodavid)

    Guys,

    I dont know what is happening. There is a built in wp hook: admin_footer_text

    Located in: \wp-admin\admin-footer.php

    Many plugins use this hook for write some credits, version, etc…

    If You do this: “add_filter( ‘admin_footer_text’, ‘__return_false’, 1000 );”
    You will kill all output by this hook!

    Please don’t!

    Thanks,
    David

    Plugin Author dFactory

    (@dfactory)

    “This hook is only used on the CN plugin onboarding screen in order to prevent messing up the design”

    Ran into the same issue under PHP 8 with WP 5.7 and Cookie 2.0.3
    Upon opening & saving welcome.php this fatal error was displayed:

    Parse error: syntax error, unexpected identifier “t”, expecting “)” in /home/mmwbnl/public_html/wp-content/plugins/cookie-notice/includes/welcome.php on line 528

    After adding double quotes in __( “Don’t have an account yet?”, the issue was gone.
    And plugin “Server IP & Memory Usage Display” works fine again

Viewing 6 replies - 1 through 6 (of 6 total)
  • The topic ‘Killed hook “admin_footer_text”’ is closed to new replies.