[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:46:41 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:  has-patch     |
--------------------------+---------------------
Changes (by prbot):

 * keywords:   => has-patch


Comment:

 ''This ticket was mentioned in
 [https://github.com/buddypress/buddypress/pull/130 PR #130] on
 [https://github.com/buddypress/buddypress/ buddypress/buddypress] by
 [https://profiles.wordpress.org/imath/ @imath].''
 - In case plain permalinks are used, use the
 `$GLOBALS['wp']->query_string` to set the `buddypress()->unfiltered_uri`
 global.
 - No need to edit sub nav links when calling `bp_core_new_nav_default()`
 if the URL parser is set to `'rewrites'` (default one since 12.0.0).
 - Finally reply to the original issue raised by the contributor making
 sure to avoid a notice if the new subnav object misses the slug and/or the
 link properties.

 Trac ticket: https://buddypress.trac.wordpress.org/ticket/8936

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


More information about the buddypress-trac mailing list