Changeset 10425
- Timestamp:
- 01/24/2009 09:33:37 AM (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/2.7/wp-includes/link-template.php
r10336 r10425 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 } … … 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 }
Note: See TracChangeset
for help on using the changeset viewer.