Skip to content

Commit

Permalink
- phpcs:ignore
Browse files Browse the repository at this point in the history
  • Loading branch information
jasonbahl committed Oct 18, 2022
1 parent 9061929 commit dc3ad1b
Showing 1 changed file with 9 additions and 1 deletion.
10 changes: 9 additions & 1 deletion wp-graphql-smart-cache.php
Original file line number Diff line number Diff line change
Expand Up @@ -140,7 +140,15 @@ function show_admin_notice() {
function () {
?>
<div class="error notice">
<p><?php esc_html_e( sprintf( 'WPGraphQL (v%s+) must be active for "wp-graphql-smart-cache" to work', WPGRAPHQL_REQUIRED_MIN_VERSION ), 'wp-graphql-smart-cache' ); ?></p>
<p>
<?php
// translators: placeholder is the version number of the WPGraphQL Plugin that this plugin depends on
$text = sprintf( 'WPGraphQL (v%s+) must be active for "wp-graphql-smart-cache" to work', WPGRAPHQL_REQUIRED_MIN_VERSION );

// phpcs:ignore
esc_html_e( $text, 'wp-graphql-smart-cache' );
?>
</p>
</div>
<?php
}
Expand Down

0 comments on commit dc3ad1b

Please sign in to comment.