[buddypress-trac] [BuddyPress Trac] #8334: oembed/1.0/embed/activity is missing the required permission_callback
buddypress-trac
noreply at wordpress.org
Wed Jul 22 10:43:35 UTC 2020
#8334: oembed/1.0/embed/activity is missing the required permission_callback
--------------------------+-----------------------
Reporter: imath | Owner: (none)
Type: defect (bug) | Status: assigned
Priority: normal | Milestone: 6.2.0
Component: Activity | Version: 2.6.0
Severity: normal | Resolution:
Keywords: has-patch |
--------------------------+-----------------------
Comment (by imath):
In [changeset:"12685" 12685]:
{{{
#!CommitTicketReference repository="" revision="12685"
Activity: add a `permission_callback` to the BP Activity Embed route
Since version 5.5, WordPress is requiring REST routes to have a permission
callback. As Activity Embeds are public content and can be seen by any
user, we are using the `__return_true` function as the permission callback
for the `oembed/1.0/embed/activity` route.
See #8334 (trunk)
}}}
--
Ticket URL: <https://buddypress.trac.wordpress.org/ticket/8334#comment:1>
BuddyPress Trac <http://buddypress.org/>
BuddyPress Trac
More information about the buddypress-trac
mailing list