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

  • sdavis2702



    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:

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


    • This topic was modified 1 year, 11 months ago by sdavis2702.
  • The topic ‘Easy Digital Downloads conflict’ is closed to new replies.