Make WordPress Core


Ignore:
Timestamp:
05/06/2014 09:34:10 PM (13 years ago)
Author:
wonderboymusic
Message:

In wp_get_attachment_link(), $post_title is set and then not used.

See #27882.

File:
1 edited

Legend:

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

    r28249 r28331  
    14131413                $url = get_attachment_link( $_post->ID );
    14141414
    1415         $post_title = esc_attr( $_post->post_title );
    1416 
    14171415        if ( $text )
    14181416                $link_text = $text;
Note: See TracChangeset for help on using the changeset viewer.