Changeset 54831 for trunk/src/wp-includes/class-wp-oembed-controller.php
- Timestamp:
- 11/13/2022 01:49:16 PM (2 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-includes/class-wp-oembed-controller.php
r54133 r54831 161 161 * 162 162 * @see WP_oEmbed::get_html() 163 * @global WP_Embed $wp_embed 163 * @global WP_Embed $wp_embed 164 * @global WP_Scripts $wp_scripts 164 165 * 165 166 * @param WP_REST_Request $request Full data about the request. … … 167 168 */ 168 169 public function get_proxy_item( $request ) { 169 global $wp_embed ;170 global $wp_embed, $wp_scripts; 170 171 171 172 $args = $request->get_params(); … … 205 206 206 207 if ( $html ) { 207 global $wp_scripts;208 208 // Check if any scripts were enqueued by the shortcode, and include them in the response. 209 209 $enqueued_scripts = array();
Note: See TracChangeset
for help on using the changeset viewer.