Changeset 14901 for trunk/wp-includes/link-template.php
- Timestamp:
- 05/25/2010 06:55:51 PM (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/wp-includes/link-template.php
r14711 r14901 828 828 $link = __('Edit This'); 829 829 830 $link = '<a class="post-edit-link" href="' . $url . '" title="' . esc_attr( __( 'Edit Post' ) ) . '">' . $link . '</a>'; 830 $post_type_obj = get_post_type_object( $post->post_type ); 831 $link = '<a class="post-edit-link" href="' . $url . '" title="' . esc_attr( $post_type_obj->labels->edit_item ) . '">' . $link . '</a>'; 831 832 echo $before . apply_filters( 'edit_post_link', $link, $post->ID ) . $after; 832 833 }
Note: See TracChangeset
for help on using the changeset viewer.