[buddypress-trac] [BuddyPress] #4415: 1.6 doesn't work if NOBLOGREDIRECT is defined in wp-config?

buddypress-trac at lists.automattic.com buddypress-trac at lists.automattic.com
Wed Aug 8 19:59:16 UTC 2012


#4415: 1.6 doesn't work if NOBLOGREDIRECT is defined in wp-config?
--------------------------+--------------------
 Reporter:  215           |       Owner:
     Type:  defect (bug)  |      Status:  new
 Priority:  normal        |   Milestone:  1.6.1
Component:  Core          |     Version:  1.6
 Severity:  normal        |  Resolution:
 Keywords:                |
--------------------------+--------------------
Changes (by boonebgorges):

 * version:   => 1.6


Comment:

 Confirmed.

 The root cause is the same as for #4329; you can read my explanation
 there. Briefly, because our internal content is marked 404 by WP until
 bp_core_load_template(); the check in maybe_redirect_404() happens before
 that and thus catches the incorrect 404; and the redirect takes place.

 The real fix (for 1.7) will have to involve fixing the 404 issue described
 in #4329. (IMO it is an enormous bug and I'm not sure how we've gotten
 this far without it causing huge problems :) ) In the interim, I suggest
 4415.01.patch, which unhooks and rehooks maybe_redirect_404(), so that it
 runs after BP's template logic (instead of being in a race condition with
 it). We'll remove this hack fix in 1.7, when the proper fix comes. Read my
 inline documentation for a more complete description of the problem and
 the workaround.

 215, could I ask you to verify that 4415.01.patch fixes your issue?

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


More information about the buddypress-trac mailing list