fixed hard code string, fixes #4489
This commit is contained in:
parent
956de3ce53
commit
2dd9d81f3d
|
@ -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();
|
||||
|
|
Loading…
Reference in New Issue