Skip to content

Commit c41657f

Browse files
committed
fix: translation slug issue
1 parent 65587f2 commit c41657f

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

src/Installer.php

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -111,28 +111,28 @@ public function checkRequirements()
111111
if (version_compare(PHP_VERSION, $this->_requirements['php'], '<')) {
112112
// Str From WP install script
113113
wp_die(
114-
esc_html__(
114+
esc_html(
115115
sprintf(
116116
// translators: 1: Current PHP version, 2: Version required by the uploaded plugin.
117117
__('The PHP version on your server is %1$s, however the uploaded plugin requires %2$s.'),
118118
PHP_VERSION,
119119
$this->_requirements['php']
120120
)
121121
),
122-
esc_html__('Requirements Not Met')
122+
esc_html('Requirements Not Met')
123123
);
124124
}
125125

126126
if (version_compare(get_bloginfo('version'), $this->_requirements['wp'], '<')) {
127127
wp_die(
128-
esc_html__(
128+
esc_html(
129129
sprintf(
130130
// translators: 1: Current WordPress version, 2: Version required by the uploaded plugin.
131131
__('Your WordPress version is %1$s, however the uploaded plugin requires %2$s.'),
132132
get_bloginfo('version'),
133133
$this->_requirements['wp']
134134
),
135-
esc_html__('Requirements Not Met')
135+
esc_html('Requirements Not Met')
136136
)
137137
);
138138
}

0 commit comments

Comments
 (0)