[buddypress-trac] [BuddyPress Trac] #7441: `_bp_rehook_maybe_redirect_404()` should check if multisite is enabled

buddypress-trac noreply at wordpress.org
Wed Feb 8 18:41:12 UTC 2017


#7441: `_bp_rehook_maybe_redirect_404()` should check if multisite is enabled
--------------------------+-----------------------------
 Reporter:  r-a-y         |      Owner:
     Type:  defect (bug)  |     Status:  new
 Priority:  normal        |  Milestone:  Awaiting Review
Component:  Core          |    Version:  1.6.1
 Severity:  normal        |   Keywords:  has-patch
--------------------------+-----------------------------
 See:
 https://buddypress.org/support/topic/anoying-warning-from-
 call_user_func_array/

 If `NOBLOGREDIRECT` is defined, we attempt to use multisite's
 `maybe_redirect_404()` function.  This function is only available when
 multisite is on, so we should probably add an `is_multisite()` check to
 safeguard against any potential notices.

--
Ticket URL: <https://buddypress.trac.wordpress.org/ticket/7441>
BuddyPress Trac <http://buddypress.org/>
BuddyPress Trac


More information about the buddypress-trac mailing list