Respect $compat values for the link format fallback output. props wonderboymusic. see #23347.

git-svn-id: http://core.svn.wordpress.org/trunk@24075 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
Helen Hou-Sandí 2013-04-23 23:19:29 +00:00
parent c2fb7f5a6a
commit e5cf5ca63d
1 changed files with 0 additions and 3 deletions

View File

@ -347,9 +347,6 @@ function post_formats_compat( $content, $id = 0 ) {
switch ( $format ) {
case 'link':
$compat['tag'] = '';
$compat['position'] = 'before';
if ( ! empty( $meta['link_url'] ) ) {
$esc_url = preg_quote( $meta['link_url'], '#' );
// Make sure the same URL isn't in the post (modified/extended versions allowed)