Ticket #12505: 12505.patch
| File 12505.patch, 585 bytes (added by Viper007Bond, 3 years ago) |
|---|
-
wp-includes/media.php
990 990 // Hack to get the [embed] shortcode to run before wpautop() 991 991 add_filter( 'the_content', array(&$this, 'run_shortcode'), 8 ); 992 992 993 // Shortcode placeholder for strip_shortcodes() 994 add_shortcode( 'embed', '__return_false' ); 995 993 996 // Attempts to embed all URLs in a post 994 997 if ( get_option('embed_autourls') ) 995 998 add_filter( 'the_content', array(&$this, 'autoembed'), 8 );