Ticket #8945: link-template-patch.patch
File link-template-patch.patch, 1016 bytes (added by , 15 years ago) |
---|
-
link-template.php
725 725 return; 726 726 } 727 727 728 $link = '<a href="' . get_edit_post_link( $post->ID ) . '" title="' . attribute_escape( __( 'Edit post' ) ) . '">' . $link . '</a>';728 $link = '<a class="post-edit-link" href="' . get_edit_post_link( $post->ID ) . '" title="' . attribute_escape( __( 'Edit post' ) ) . '">' . $link . '</a>'; 729 729 echo $before . apply_filters( 'edit_post_link', $link, $post->ID ) . $after; 730 730 } 731 731 … … 775 775 return; 776 776 } 777 777 778 $link = '<a href="' . get_edit_comment_link( $comment->comment_ID ) . '" title="' . __( 'Edit comment' ) . '">' . $link . '</a>';778 $link = '<a class="comment-edit-link" href="' . get_edit_comment_link( $comment->comment_ID ) . '" title="' . __( 'Edit comment' ) . '">' . $link . '</a>'; 779 779 echo $before . apply_filters( 'edit_comment_link', $link, $comment->comment_ID ) . $after; 780 780 } 781 781