| 703 | | // Comments might not have a post they relate to, e.g. programmatically created ones. |
| 704 | | if ( $comment_post_link ) { |
| 705 | | printf( |
| 706 | | /* translators: 1: comment author, 2: post link, 3: notification if the comment is pending */ |
| 707 | | __( 'From %1$s on %2$s %3$s' ), |
| 708 | | '<cite class="comment-author">' . get_comment_author_link( $comment ) . '</cite>', |
| 709 | | $comment_post_link, |
| 710 | | '<span class="approve">' . __( '[Pending]' ) . '</span>' |
| 711 | | ); |
| 712 | | } else { |
| 713 | | printf( |
| 714 | | /* translators: 1: comment author, 2: notification if the comment is pending */ |
| 715 | | __( 'From %1$s %2$s' ), |
| 716 | | '<cite class="comment-author">' . get_comment_author_link( $comment ) . '</cite>', |
| 717 | | '<span class="approve">' . __( '[Pending]' ) . '</span>' |
| 718 | | ); |
| 719 | | } |
| 720 | | ?> |
| 721 | | </p> |
| | 711 | // Comments might not have a post they relate to, e.g. programmatically created ones. |
| | 712 | if ( $comment_post_link ) { |
| | 713 | printf( |
| | 714 | /* translators: 1: comment author, 2: post link, 3: notification if the comment is pending */ |
| | 715 | __( 'From %1$s on %2$s %3$s' ), |
| | 716 | '<cite class="comment-author">' . get_comment_author_link( $comment ) . '</cite>', |
| | 717 | $comment_post_link, |
| | 718 | '<span class="approve">' . __( '[Pending]' ) . '</span>' |
| | 719 | ); |
| | 720 | } else { |
| | 721 | printf( |
| | 722 | /* translators: 1: comment author, 2: notification if the comment is pending */ |
| | 723 | __( 'From %1$s %2$s' ), |
| | 724 | '<cite class="comment-author">' . get_comment_author_link( $comment ) . '</cite>', |
| | 725 | '<span class="approve">' . __( '[Pending]' ) . '</span>' |
| | 726 | ); |
| | 727 | } |
| | 728 | ?> |
| | 729 | </p> |