[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:10:57 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        |   Keywords:  has-patch
--------------------------+-----------------------
 Just found this `doing_it_wrong` notice added in WordPress 5.5. As this
 route is used to embed activity content into a Post, we simply need to use
 the `__return_true` function as the permission callback.

-- 
Ticket URL: <https://buddypress.trac.wordpress.org/ticket/8334>
BuddyPress Trac <http://buddypress.org/>
BuddyPress Trac


More information about the buddypress-trac mailing list