Changeset 51058 for trunk/src/wp-includes/class-wp-embed.php
- Timestamp:
- 06/02/2021 01:17:37 AM (3 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-includes/class-wp-embed.php
r48586 r51058 32 32 add_filter( 'the_content', array( $this, 'run_shortcode' ), 8 ); 33 33 add_filter( 'widget_text_content', array( $this, 'run_shortcode' ), 8 ); 34 add_filter( 'widget_block_content', array( $this, 'run_shortcode' ), 8 ); 34 35 35 36 // Shortcode placeholder for strip_shortcodes(). … … 39 40 add_filter( 'the_content', array( $this, 'autoembed' ), 8 ); 40 41 add_filter( 'widget_text_content', array( $this, 'autoembed' ), 8 ); 42 add_filter( 'widget_block_content', array( $this, 'autoembed' ), 8 ); 41 43 42 44 // After a post is saved, cache oEmbed items via Ajax.
Note: See TracChangeset
for help on using the changeset viewer.