[buddypress-trac] [BuddyPress] #3184: deprecate bp_core_add_admin_menu_page()?
buddypress-trac at lists.automattic.com
buddypress-trac at lists.automattic.com
Fri Apr 29 23:40:31 UTC 2011
#3184: deprecate bp_core_add_admin_menu_page()?
-------------------------+-----------------------------
Reporter: DJPaul | Owner:
Type: enhancement | Status: new
Priority: normal | Milestone: Awaiting Review
Component: Core | Version:
Keywords: |
-------------------------+-----------------------------
BuddyPress has long had bp_core_add_admin_menu_page(), its own version of
add_admin_menu_page(), because "[it] allows [better] positioning of
menus."
However, I'm looking at add_menu_page() and it seems to have a parameter
to let us position the menu where we want, and the rest of the code looks
pretty similar. Could someone check? I'd like to deprecate
bp_core_add_admin_menu_page() and call add_admin_menu_page() instead.
Of course, if add_admin_menu_page() does miss something we find useful, we
can send a patch upstream.
--
Ticket URL: <https://trac.buddypress.org/ticket/3184>
BuddyPress <http://buddypress.org/>
BuddyPress
More information about the buddypress-trac
mailing list