From 2db9caba31565a0c5dca67a5bcc6085e51fb0738 Mon Sep 17 00:00:00 2001 From: Tetrakern <26898880+Tetrakern@users.noreply.github.com> Date: Thu, 21 Nov 2024 00:29:18 +0100 Subject: [PATCH] Fix comment action button translation --- includes/functions/comments/_comments_threads.php | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/includes/functions/comments/_comments_threads.php b/includes/functions/comments/_comments_threads.php index 0d558c44..fbdc46dd 100644 --- a/includes/functions/comments/_comments_threads.php +++ b/includes/functions/comments/_comments_threads.php @@ -345,7 +345,7 @@ function fictioneer_get_comment_delete_button( $hidden = true ) { mb_strtoupper( _x( 'delete', 'Prompt confirm deletion string.', 'fictioneer' ) ) ) . '" data-dialog-confirm="' . esc_attr_x( 'delete', 'Prompt confirm deletion string.', 'fictioneer' ) . - '" data-tooltip="' . esc_attr_x( 'Delete', 'Delete comment inline.'. 'fictioneer' ) . + '" data-tooltip="' . esc_attr_x( 'Delete', 'Delete comment inline.', 'fictioneer' ) . '" data-click="delete-my-comment" %s>'; } @@ -369,9 +369,7 @@ function fictioneer_get_comment_edit_button( $hidden = true ) { static $html_start = null; if ( is_null( $html_start ) ) { - $html_start = ''; + $html_start = ''; } return sprintf(