[buddypress-trac] [BuddyPress] #2247: bp_core_set_uri_globals() doesn't properly return on WP page
buddypress-trac at lists.automattic.com
buddypress-trac at lists.automattic.com
Fri Mar 26 07:28:33 UTC 2010
#2247: bp_core_set_uri_globals() doesn't properly return on WP page
-----------------------+----------------------------------------------------
Reporter: cnorris23 | Owner:
Type: defect | Status: new
Priority: normal | Milestone: 1.2.4
Component: Core | Keywords: has-patch
-----------------------+----------------------------------------------------
The function, {{{bp_core_set_uri_globals()}}} is set to return false, if
you're on a WP page starting at line 122 of bp-catch-uri.php.
{{{
/* This is not a BuddyPress page, so just return. */
if ( in_array( 0, (array) $matches ) )
return false;
}}}
However, the function can never return false, as {{{$matches}}} is unset
in the preceding foreach statement if there is no match to a BP page.
--
Ticket URL: <http://trac.buddypress.org/ticket/2247>
BuddyPress <http://buddypress.org/>
BuddyPress
More information about the buddypress-trac
mailing list