Support » Plugin: Delete Comments By Status » Easy Digital Downloads conflict

  • Like the other two support tickets here and here, the way add_menu_page() is being used in Delete Comments By Status is causing other admin menu items to disappear in the WordPress dashboard.

    Fixing this is very simple. In add_menu_page(), you’re using 26.91 as the menu position. A float is not allowed there. But it will work as a string. So wrap the float in single quotes. Change 26.91 to '26.91' and you will have achieved what you were attempting to do by using such a random number.

    This is a known practice: https://core.trac.wordpress.org/ticket/23316

    That will fix the conflict with other plugins as long as they don’t have the same value.

    Thanks!

    • This topic was modified 6 months, 4 weeks ago by  sdavis2702.
  • The topic ‘Easy Digital Downloads conflict’ is closed to new replies.