diff --git src/bp-core/classes/class-bp-core-oembed-extension.php src/bp-core/classes/class-bp-core-oembed-extension.php
index 72fa60cae..b2a480965 100644
|
|
abstract class BP_Core_oEmbed_Extension { |
230 | 230 | |
231 | 231 | register_rest_route( 'oembed/1.0', "/embed/{$this->slug_endpoint}", array( |
232 | 232 | array( |
233 | | 'methods' => WP_REST_Server::READABLE, |
234 | | 'callback' => array( $this, 'get_item' ), |
235 | | 'args' => $args |
| 233 | 'methods' => WP_REST_Server::READABLE, |
| 234 | 'callback' => array( $this, 'get_item' ), |
| 235 | 'permission_callback' => '__return_true', |
| 236 | 'args' => $args |
236 | 237 | ), |
237 | 238 | ) ); |
238 | 239 | } |