WordPress.org

Make WordPress Core

Ticket #12197: link-template-patch.diff

File link-template-patch.diff, 572 bytes (added by wojtekszkutnik, 4 years ago)

patch

  • link-template.php

     
    814814        if ( null === $link ) 
    815815                $link = __('Edit This'); 
    816816 
    817         $link = '<a class="post-edit-link" href="' . $url . '" title="' . esc_attr( __( 'Edit Post' ) ) . '">' . $link . '</a>'; 
     817        $link = '<a class="post-edit-link" href="' . $url . '" title="' . esc_attr( __( $link ) ) . '">' . $link . '</a>'; 
    818818        echo $before . apply_filters( 'edit_post_link', $link, $post->ID ) . $after; 
    819819} 
    820820