- Timestamp:
- Jun 9, 2009, 1:22:56 PM (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/xpressme_integration_kit/wp-content/themes/xpress_default/blocks/recent_comments_block_theme.php
r262 r269 60 60 $comment_content = $comment->comment_content; 61 61 $comment_excerpt = ($disp_length>0 ? xpress_substr($comment_content, 0, $disp_length): $comment->comment_content); 62 63 $comment_link = get_permalink($comment->comment_post_ID) . '#comment-' . $comment->comment_ID ; 62 if (xpress_is_wp20()){ 63 $comment_link = get_permalink($comment->comment_post_ID) . '#comment-' . $comment->comment_ID ; 64 } else { 65 $comment_link = get_comment_link($comment->comment_ID); 66 } 64 67 $comment_title = $comment_excerpt; 65 68 $comment_title_link = "<a href='$comment_link' rel='external nofollow' class='url'>$comment_title</a>"; 66 69 67 $post_link = get_ comment_link($comment->comment_ID);70 $post_link = get_permalink($comment->comment_post_ID); 68 71 $post_title = get_the_title($comment->comment_post_ID); 69 72 $post_title_link = '<a href="'. $post_link . '">' . $post_title . '</a>'; … … 74 77 75 78 $comment_type = (empty($comment->comment_type) ? 'comment': $comment->comment_type); 76 $from_auther_to_post = sprintf(__('%1$s on %2$s'), $author_name_link , $post_title_link ); 79 80 $post_title_comment_link = '<a href="'. $comment_link . '">' . $post_title . '</a>'; 81 $from_auther_to_post = sprintf(__('%1$s on %2$s','xpress'), $author_name_link , $post_title_comment_link ); 77 82 78 83 $row_data = array(
Note: See TracChangeset
for help on using the changeset viewer.