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

buddypress-trac noreply at wordpress.org
Sun Jul 16 15:43:32 UTC 2023


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

 * owner:  (none) => imath
 * status:  new => closed
 * resolution:   => fixed


Comment:

 In [changeset:"13519" 13519]:
 {{{
 #!CommitTicketReference repository="" revision="13519"
 Make sure `bp_core_new_nav_default()` is ready for the BP Rewrites API

 - In case plain permalinks are used, use the
 `$GLOBALS['wp']->query_string` to set the `buddypress()->unfiltered_uri`
 global.
 - Do not edit sub nav links when calling `bp_core_new_nav_default()` if
 the URL parser is set to `'rewrites'`.
 - Avoid a PHP notice if the new sub nav object misses the `slug` and/or
 the `link` properties.

 Props corzel

 See #4954
 Fixes #8936
 Closes https://github.com/buddypress/buddypress/pull/130
 }}}

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


More information about the buddypress-trac mailing list