From e41dc4b1370c52ac8b133602fc44b66631971c4b Mon Sep 17 00:00:00 2001 From: Jens Rey Date: Tue, 25 Sep 2018 10:57:30 +0200 Subject: [PATCH] use esc_html__() instead of esc_html_e() to return the value instead of echoing it --- src/functions.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/functions.php b/src/functions.php index 92f9239c..e14425e7 100644 --- a/src/functions.php +++ b/src/functions.php @@ -279,7 +279,7 @@ function html5wp_excerpt( $length_callback = '', $more_callback = '' ) { // Custom View Article link to Post function html5_blank_view_article( $more ) { global $post; - return '... ' . esc_html_e( 'View Article', 'html5blank' ) . ''; + return '... ' . esc_html__( 'View Article', 'html5blank' ) . ''; } // Remove Admin bar