[buddypress-trac] [BuddyPress Trac] #7445: Access denied to Profile Fields admin screen - MS network activation
buddypress-trac
noreply at wordpress.org
Fri Feb 17 17:41:14 UTC 2017
#7445: Access denied to Profile Fields admin screen - MS network activation
------------------------------+-----------------------
Reporter: estevao90 | Owner: r-a-y
Type: defect (bug) | Status: reopened
Priority: normal | Milestone: 2.8.1
Component: Extended Profile | Version: 2.8.0
Severity: normal | Resolution:
Keywords: |
------------------------------+-----------------------
Comment (by r-a-y):
Technically, no it doesn't since the "Users > Profile Fields" page is
using the following to hook to the admin menu:
`add_action( bp_core_admin_hook(), 'xprofile_add_admin_menu' );`
`bp_core_admin_hook()` already does the network admin vs. single-site
conditional logic, but it doesn't hurt to use `bp_get_admin_url()` if we
wanted to.
--
Ticket URL: <https://buddypress.trac.wordpress.org/ticket/7445#comment:8>
BuddyPress Trac <http://buddypress.org/>
BuddyPress Trac
More information about the buddypress-trac
mailing list