Ticket #23347: 23347.13.diff
File 23347.13.diff, 523 bytes (added by , 11 years ago) |
---|
-
wp-includes/post-formats.php
diff --git wp-includes/post-formats.php wp-includes/post-formats.php index b52f278..400bfcf 100644
function post_formats_compat( $content, $id = 0 ) { 347 347 348 348 switch ( $format ) { 349 349 case 'link': 350 $compat['tag'] = '';351 $compat['position'] = 'before';352 353 350 if ( ! empty( $meta['link_url'] ) ) { 354 351 $esc_url = preg_quote( $meta['link_url'], '#' ); 355 352 // Make sure the same URL isn't in the post (modified/extended versions allowed)