Skip to content

Commit

Permalink
fix translation escape
Browse files Browse the repository at this point in the history
  • Loading branch information
Jazz-Man committed Jun 6, 2021
1 parent bd11784 commit a989571
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions wp-object-cache.php
Original file line number Diff line number Diff line change
Expand Up @@ -122,7 +122,7 @@ public function showAdminNotices(): void

if (version_compare($dropin['Version'], $plugin['Version'], '<')) {
$message = sprintf(
esc_html__(
__(
'<strong>The object cache drop-in is outdated.</strong> Please <a href="%s">update it now</a>.',
'wp-object-cache'
),
Expand All @@ -131,7 +131,7 @@ public function showAdminNotices(): void
}
} else {
$message = sprintf(
esc_html__(
__(
'<strong>An unknown object cache drop-in was found</strong>. To use WP Object Cache , <a href="%s">please replace it now</a>.',
'wp-object-cache'
),
Expand All @@ -146,7 +146,7 @@ public function showAdminNotices(): void
$enableUrl = $this->getNonceUrl('enable-cache');

$message = sprintf(
esc_html__(
__(
'<strong>WP Object Cache is not used.</strong> To use WP Object Cache , <a href="%s">please enable it now</a>.',
'wp-object-cache'
),
Expand Down Expand Up @@ -393,7 +393,7 @@ private function buildAdminWrapper(string $content): void
{
printf(
'<div class="wrap"><h1>%s</h1><div class="section-overview">%s</div></div>',
esc_html__('WP Object Cache', 'wp-object-cache'),
__('WP Object Cache', 'wp-object-cache'),
$content
);
}
Expand Down

0 comments on commit a989571

Please sign in to comment.