• Resolved ileiaeu

    (@ileiaeu)


    I am currently experiencing an issue with the AMP plugin on my WordPress website. The error logs indicate that the plugin is using a deprecated WordPress function, which is causing compatibility warnings. Below are the details of the issue:

    Deprecated: Function _admin_bar_bump_cb is deprecated since version 6.4.0! Use wp_enqueue_admin_bar_bump_styles instead. in /wp-includes/functions.php on line 6085

    Details:

    • Plugin File:?class-amp-theme-support.php
    • Function in Question:?_admin_bar_bump_cb
    • Recommended Replacement:?wp_enqueue_admin_bar_bump_styles
    • WordPress Version:?6.4.0
    • AMP Plugin Version:?2.5.4

    Description:

    Upon reviewing the plugin files, I located the usage of the deprecated function?_admin_bar_bump_cb?within the?class-amp-theme-support.php?file. This deprecated function has been replaced by?wp_enqueue_admin_bar_bump_styles?in WordPress version 6.4.0. Continuing to use the deprecated function may lead to further compatibility issues and warnings.

    Request:

    Could you please update the AMP plugin to replace the deprecated _admin_bar_bump_cb function with the recommended wp_enqueue_admin_bar_bump_styles function? This update will help ensure compatibility with the latest WordPress version and prevent potential issues for users.

Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)
  • You must be logged in to reply to this topic.