fixed hard code string, fixes #4489

This commit is contained in:
claudiosmweb 2014-01-10 22:14:27 -02:00
parent 956de3ce53
commit 2dd9d81f3d
1 changed files with 2 additions and 2 deletions

View File

@ -191,7 +191,7 @@ class WC_Admin_Dashboard {
echo '<div class="star-rating" title="' . esc_attr( $rating ) . '">
<span style="width:'. ( $rating * 20 ) . '%">' . $rating . ' ' . __( 'out of 5', 'woocommerce' ) . '</span></div>';
echo '<h4 class="meta"><a href="' . get_permalink( $comment->ID ) . '#comment-' . absint( $comment->comment_ID ) .'">' . esc_html__( $comment->post_title ) . '</a> reviewed by ' . esc_html( $comment->comment_author ) .'</h4>';
echo '<h4 class="meta"><a href="' . get_permalink( $comment->ID ) . '#comment-' . absint( $comment->comment_ID ) .'">' . esc_html__( $comment->post_title ) . '</a> ' . __( 'reviewed by', 'woocommerce' ) . ' ' . esc_html( $comment->comment_author ) .'</h4>';
echo '<blockquote>' . wp_kses_data( $comment->comment_excerpt ) . ' [...]</blockquote></li>';
}
@ -205,4 +205,4 @@ class WC_Admin_Dashboard {
endif;
return new WC_Admin_Dashboard();
return new WC_Admin_Dashboard();