[buddypress-trac] [BuddyPress Trac] #8936: Warning: Attempt to read property in bp-core-buddybar.php

buddypress-trac noreply at wordpress.org
Sat Jul 15 09:40:53 UTC 2023


#8936: Warning: Attempt to read property in bp-core-buddybar.php
--------------------------+---------------------
 Reporter:  corzel        |       Owner:  (none)
     Type:  defect (bug)  |      Status:  new
 Priority:  high          |   Milestone:  12.0.0
Component:  Core          |     Version:  1.1
 Severity:  major         |  Resolution:
 Keywords:                |
--------------------------+---------------------
Changes (by imath):

 * priority:  normal => high
 * severity:  normal => major


Comment:

 This bug revealed a more severe issue with the BP Rewrites API when plain
 permalinks are used. In this case we absolutely need to set the
 `buddypress()->unfiltered_uri` global according to the
 `$GLOBALS['wp']->query_string` instead of the `$GLOBALS['wp']->request`,
 otherwise `bp_core_new_nav_default()` redirects all sub navs to the
 default one.

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


More information about the buddypress-trac mailing list