[buddypress-trac] [BuddyPress Trac] #9276: error when using $bp->displayed_user->domain
buddypress-trac
noreply at wordpress.org
Mon Dec 29 08:22:29 UTC 2025
#9276: error when using $bp->displayed_user->domain
--------------------------+--------------------------
Reporter: locker17 | Owner: espellcaste
Type: defect (bug) | Status: assigned
Priority: normal | Milestone: 15.0.0
Component: Members | Version: 14.3.2
Severity: normal | Resolution:
Keywords: |
--------------------------+--------------------------
Comment (by manhphucofficial):
Thanks for the patch!
I tested on PHP 8.2 with WP_DEBUG enabled and couldn’t reproduce any
undefined
property warnings in my setup (Members directory and member profile pages
load
without notices, and debug.log remains empty).
That said, initializing these common `$bp->displayed_user` properties is a
safe,
defensive change for PHP 8.2+ and shouldn’t affect existing behavior.
Looks good to me.
--
Ticket URL: <https://buddypress.trac.wordpress.org/ticket/9276#comment:5>
BuddyPress Trac <http://buddypress.org/>
BuddyPress Trac
More information about the buddypress-trac
mailing list