buddypress icon indicating copy to clipboard operation
buddypress copied to clipboard

Use the `$bp->pages` global as a fallback to set the BP queried object

Open imath opened this issue 2 years ago • 0 comments

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


This Pull Request is for code review only. Please keep all other discussion in the BuddyPress Trac ticket. Do not merge this Pull Request. See GitHub Pull Requests for Code Review in the WordPress Core Handbook for more details.

imath avatar Mar 02 '24 12:03 imath