[buddypress-trac] [BuddyPress Trac] #9286: bp_get_blog_latest_post not applying filters properly
buddypress-trac
noreply at wordpress.org
Sun May 18 02:11:07 UTC 2025
#9286: bp_get_blog_latest_post not applying filters properly
--------------------------+-----------------------------
Reporter: shawfactor | Owner: (none)
Type: defect (bug) | Status: new
Priority: normal | Milestone: Awaiting Review
Component: Core | Version:
Severity: normal | Keywords:
--------------------------+-----------------------------
The function
bp_get_blog_latest_post does this on line 763
apply_filters( 'the_title', $retval )
However if you look at the documentation of that filter:
https://developer.wordpress.org/reference/hooks/the_title/
You will see that the there are two parameters $post_title and $post_id
and both are mandatory, so that any plugin that adds this filter and
follows the documentation strictly will cause a fatal error
Can this be fixed asap please?
--
Ticket URL: <https://buddypress.trac.wordpress.org/ticket/9286>
BuddyPress Trac <http://buddypress.org/>
BuddyPress Trac
More information about the buddypress-trac
mailing list