Changeset 38028 for trunk/src/wp-includes/class-wp-embed.php
- Timestamp:
- 07/10/2016 12:50:21 AM (10 years ago)
- File:
-
- 1 edited
-
trunk/src/wp-includes/class-wp-embed.php (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-includes/class-wp-embed.php
r37627 r38028 39 39 add_filter( 'the_content', array( $this, 'autoembed' ), 8 ); 40 40 41 // After a post is saved, cache oEmbed items via A JAX41 // After a post is saved, cache oEmbed items via Ajax 42 42 add_action( 'edit_form_advanced', array( $this, 'maybe_run_ajax_cache' ) ); 43 43 add_action( 'edit_page_form', array( $this, 'maybe_run_ajax_cache' ) ); … … 76 76 /** 77 77 * If a post/page was saved, then output JavaScript to make 78 * an A JAXrequest that will call WP_Embed::cache_oembed().78 * an Ajax request that will call WP_Embed::cache_oembed(). 79 79 */ 80 80 public function maybe_run_ajax_cache() {
Note: See TracChangeset
for help on using the changeset viewer.