Make WordPress Core

Ticket #24419: 24419.patch

File 24419.patch, 672 bytes (added by tollmanz, 13 years ago)
  • wp-includes/post-formats.php

    diff --git a/wp-includes/post-formats.php b/wp-includes/post-formats.php
    index 5a2c1f7..ac5a03e 100644
    a b function post_formats_compat( $content, $post_id = 0 ) { 
    366366                                        '<a %shref="%s">%s</a>',
    367367                                        empty( $compat['link_class'] ) ? '' : sprintf( 'class="%s" ', esc_attr( $compat['link_class'] ) ),
    368368                                        esc_url( $url ),
    369                                         empty( $post->post_title ) ? esc_url( $meta['link_url'] ) : apply_filters( 'the_title', $post->post_title, $post->ID )
     369                                        empty( $post->post_title ) ? esc_url( $url ) : apply_filters( 'the_title', $post->post_title, $post->ID )
    370370                                );
    371371                        }
    372372                        break;