Ticket #24456: 24456.3.diff
File 24456.3.diff, 442 bytes (added by , 10 years ago) |
---|
-
src/wp-includes/class-wp-embed.php
142 142 public function shortcode( $attr, $url = '' ) { 143 143 $post = get_post(); 144 144 145 if ( empty( $url ) && ! empty( $attr['src'] ) ) { 146 $url = $attr['src']; 147 } 148 145 149 if ( empty( $url ) ) 146 150 return ''; 147 151