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

buddypress-trac noreply at wordpress.org
Wed Jun 21 21:07:03 UTC 2017

#7441: `_bp_rehook_maybe_redirect_404()` should check if multisite is enabled
 Reporter:  r-a-y         |       Owner:  r-a-y
     Type:  defect (bug)  |      Status:  closed
 Priority:  normal        |   Milestone:  2.9
Component:  Core          |     Version:  1.6.1
 Severity:  normal        |  Resolution:  fixed
 Keywords:  has-patch     |
Changes (by r-a-y):

 * owner:   => r-a-y
 * status:  new => closed
 * resolution:   => fixed


 In [changeset:"11599"]:
 #!CommitTicketReference repository="" revision="11599"
 Fix potential notice when `NOBLOGREDIRECT` is defined and install is not
 using multisite.

 `maybe_redirect_404()` is a multisite function, so we should only attempt
 to call it if we're on a multisite installation.

 Props juanho.

 Fixes #7441.

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

More information about the buddypress-trac mailing list