Skip to content

Commit 7c4bd85

Browse files
committed
Text domain fixes. Thanks @josephfusco
1 parent 4596cf6 commit 7c4bd85

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

plugins/hwp-previews/hwp-previews.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -95,7 +95,7 @@ static function (): void {
9595
<div class="error notice">
9696
<p>
9797
<?php
98-
echo esc_html__( 'Composer vendor directory must be present for HWP Previews to work.', 'hwp-previews' );
98+
echo 'Composer vendor directory must be present for HWP Previews to work.'
9999
?>
100100
</p>
101101
</div>

plugins/hwp-previews/src/Plugin.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -65,7 +65,7 @@ public function setup(): void {
6565
*/
6666
public function __clone() {
6767
// Cloning instances of the class is forbidden.
68-
_doing_it_wrong( __FUNCTION__, esc_html__( 'The plugin Plugin class should not be cloned.', 'hwp-previews' ), esc_attr( HWP_PREVIEWS_VERSION ) );
68+
_doing_it_wrong( __FUNCTION__, 'The plugin Plugin class should not be cloned.', '0.0.1' );
6969
}
7070

7171
/**
@@ -75,7 +75,7 @@ public function __clone() {
7575
*/
7676
public function __wakeup(): void {
7777
// De-serializing instances of the class is forbidden.
78-
_doing_it_wrong( __FUNCTION__, esc_html__( 'De-serializing instances of the plugin Main class is not allowed.', 'hwp-previews' ), esc_attr( HWP_PREVIEWS_VERSION ) );
78+
_doing_it_wrong( __FUNCTION__, 'De-serializing instances of the plugin Main class is not allowed.', '0.0.1' );
7979
}
8080
}
8181
endif;

0 commit comments

Comments
 (0)