[buddypress-trac] [BuddyPress Trac] #9297: "Profile Visibility" settings link causes 404 when Extended Profiles is disabled

buddypress-trac noreply at wordpress.org
Fri Dec 26 01:22:50 UTC 2025


#9297: "Profile Visibility" settings link causes 404 when Extended Profiles is
disabled
-------------------------------------+---------------------
 Reporter:  joelkarunungan           |       Owner:  (none)
     Type:  defect (bug)             |      Status:  new
 Priority:  normal                   |   Milestone:  14.5.0
Component:  Settings                 |     Version:
 Severity:  normal                   |  Resolution:
 Keywords:  has-patch needs-testing  |
-------------------------------------+---------------------

Comment (by vapvarun):

 Tested this locally and can confirm the fix works. With Extended Profiles
 disabled, the Profile Visibility link no longer appears in Settings nav,
 and no more 404.

 The fix is straightforward - just wrap the subnav registration in
 bp_is_active( 'xprofile' ). Makes sense since bp_xprofile_screen_settings
 wouldn't exist without the component anyway.

 Thanks @developer06 for the report and @nikunj8866 for the patch!

-- 
Ticket URL: <https://buddypress.trac.wordpress.org/ticket/9297#comment:5>
BuddyPress Trac <http://buddypress.org/>
BuddyPress Trac


More information about the buddypress-trac mailing list