WordPress.org

Make WordPress Core

Changeset 23655


Ignore:
Timestamp:
03/09/13 02:29:29 (14 months ago)
Author:
SergeyBiryukov
Message:

Pass the post ID to the_title filter in post_formats_compat(). see #23347.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/wp-includes/post-formats.php

    r23499 r23655  
    322322                        empty( $compat['link_class'] ) ? '' : sprintf( 'class="%s" ', esc_attr( $compat['link_class'] ) ), 
    323323                        esc_url( $meta['url'] ), 
    324                         empty( $post->post_title ) ? esc_url( $meta['url'] ) : apply_filters( 'the_title', $post->post_title ) 
     324                        empty( $post->post_title ) ? esc_url( $meta['url'] ) : apply_filters( 'the_title', $post->post_title, $post->ID ) 
    325325                    ); 
    326326                } 
Note: See TracChangeset for help on using the changeset viewer.