[buddypress-trac] [BuddyPress Trac] #9076: Cache issue when trying to use get_post() with an existing directory page ID

buddypress-trac noreply at wordpress.org
Sat Mar 2 12:29:44 UTC 2024


#9076: Cache issue when trying to use get_post() with an existing directory page
ID
--------------------------------------+---------------------
 Reporter:  imath                     |       Owner:  (none)
     Type:  defect (bug)              |      Status:  new
 Priority:  normal                    |   Milestone:  12.4.0
Component:  Members                   |     Version:  12.0.0
 Severity:  normal                    |  Resolution:
 Keywords:  has-patch has-unit-tests  |
--------------------------------------+---------------------
Changes (by prbot):

 * keywords:   => has-patch has-unit-tests


Comment:

 ''This ticket was mentioned in
 [https://github.com/buddypress/buddypress/pull/246 PR #246] on
 [https://github.com/buddypress/buddypress/ buddypress/buddypress] by
 [https://github.com/imath imath].''
 Introduce the `BP_Component->set_queried_object()` to set the BP queried
 object even for some failed object cache reason a post does not exist
 although it does!

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

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


More information about the buddypress-trac mailing list