Skip to content

Commit 0578c70

Browse files
authored
Fix admin notice for import showing a gettext placeholder. Fixes #6 (#82)
1 parent a3d7a71 commit 0578c70

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

includes/importer/class-importer-abstract.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -149,7 +149,7 @@ public function maybe_show_notice() {
149149
return;
150150
} ?>
151151
<div class="notice notice-info">
152-
<p><strong><?php printf( esc_html_e( '%s Detected', 'weforms' ), wp_kses_post( $this->get_importer_name() ) ); ?></strong></p>
152+
<p><strong><?php printf( esc_html__( '%s Detected', 'weforms' ), wp_kses_post( $this->get_importer_name() ) ); ?></strong></p>
153153
<p><?php printf( wp_kses_post( 'Hey, looks like you have <strong>%s</strong> installed. Would you like to <strong>import</strong> the forms into weForms?', 'weforms' ), wp_kses_post ( $this->get_importer_name() ) ); ?></p>
154154

155155
<p>

0 commit comments

Comments
 (0)