Ticket #37343: 37343-02.patch
File 37343-02.patch, 395 bytes (added by , 7 years ago) |
---|
-
post-template.php
old new 1452 1452 if ( trim( $link_text ) == '' ) 1453 1453 $link_text = $_post->post_title; 1454 1454 1455 // If no title set, fallback to filename1456 if ( trim( $link_text ) == '' )1457 $link_text = basename($_post->guid);1458 1459 1455 /** 1460 1456 * Filter a retrieved attachment page link. 1461 1457 *