Changeset 33963 for trunk/src/wp-includes/link-template.php
- Timestamp:
- 09/09/2015 02:50:43 AM (10 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-includes/link-template.php
r33891 r33963 1312 1312 * @since 1.0.0 1313 1313 * 1314 * @global object $comment1315 *1316 1314 * @param string $text Optional. Anchor text. 1317 1315 * @param string $before Optional. Display before edit link. … … 1319 1317 */ 1320 1318 function edit_comment_link( $text = null, $before = '', $after = '' ) { 1321 global $comment;1319 $comment = get_comment(); 1322 1320 1323 1321 if ( ! current_user_can( 'edit_comment', $comment->comment_ID ) ) {
Note: See TracChangeset
for help on using the changeset viewer.