• Resolved DL

    (@dlinstedt)


    The latest version of the plugin removes the Plugins menu from the ADMIN menu controls. I can still get to the plugins by going wp-admin/plugins.php. This plugin needs to be tested before it is released.

    I disable this plugin, and my Plugins menu returns. I enable this plugin, and my Plugins menu is gone again. This is not an access problem, not a priveleges problem, not a Multi-site problem. I am running this on a plain vanilla wordpress site.

    Please fix this problem and issue an update.

    I found the offending code:
    directory: zerobounce\admin
    File: class-zerobounce-email-validator-admin
    Line: 175

    add_menu_page($this->plugin_name, 'ZeroBounce Email', 'administrator', $this->plugin_name, array($this, 'displayPluginAdminDashboard'), 'dashicons-email-alt', 26);

    Please REMOVE the position “26” from the add_menu_page. Unfortunately this is conflicting with the plugins.php menu entry on my site. WordPress recommended best practice is: use a number higher than 66 or apply no position at all. As soon as I changed this code line, everything came back to normal, and my plugins menu returned. NEW CODE Below:

    add_menu_page($this->plugin_name, 'ZeroBounce Email', 'administrator', $this->plugin_name, array($this, 'displayPluginAdminDashboard'), 'dashicons-email-alt');

    Thank you

    • This topic was modified 9 months, 1 week ago by DL. Reason: Found the issue and fixed it
Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Author zerobounce

    (@zerobounce)

    Dear @dlinstedt,

    Thank you for your message and for providing details about the issue you encountered with our plugin. In order for us to investigate further, could you please provide the following details:

    1. WordPress version:
    2. Plugin version:
    3. Other activated plugins:

    With this information, we’ll be able to diagnose the problem and work on a solution promptly.

    Best regards!

    Thread Starter DL

    (@dlinstedt)

    I’m sorry you feel you need this information.
    1) I already did the debugging, there were no conflicts, and no issues with other plugins
    2) I already tested with a vanilla install of WordPress 6.4.3
    3) the plugin version is the LATEST release from ZeroBounce v1.0.21
    4) this has already been tested and verified across multiple websites.

    I already gave you the line of code causing the problem.

    I already gave you the fix (removing the “,26” menu order from the add_menu_page call).

    Please fix this function, it takes less than 30 seconds to fix the code and issue an update.

    Plugin Author zerobounce

    (@zerobounce)

    Thank you for your feedback on this!

    The issue has been resolved.

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Latest version removes the PLUGINS admin menu’ is closed to new replies.