From 358d65b9c735ba74900e9af839661e4c4708dba6 Mon Sep 17 00:00:00 2001 From: Gary Pendergast Date: Sat, 12 Jan 2019 03:48:05 +0000 Subject: [PATCH] Coding Standards: Fix an incorrect `phpcs:ignore` comment. It's `phpcs:ignore`, not `wpcs:ignore`. Props GaryJ. See #45934. git-svn-id: https://develop.svn.wordpress.org/trunk@44570 602fd350-edb4-49c9-b593-d223f7449a82 --- src/wp-includes/category-template.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/wp-includes/category-template.php b/src/wp-includes/category-template.php index 3881f0e033..b0609481a3 100644 --- a/src/wp-includes/category-template.php +++ b/src/wp-includes/category-template.php @@ -836,7 +836,7 @@ function wp_generate_tag_cloud( $tags, $args = '' ) { } elseif ( ! empty( $args['topic_count_text_callback'] ) ) { // Look for the alternative callback style. Ignore the previous default. if ( $args['topic_count_text_callback'] === 'default_topic_count_text' ) { - // wpcs:ignore WordPress.WP.I18n.NonSingularStringLiteralSingle,WordPress.WP.I18n.NonSingularStringLiteralPlural + // phpcs:ignore WordPress.WP.I18n.NonSingularStringLiteralSingle,WordPress.WP.I18n.NonSingularStringLiteralPlural $translate_nooped_plural = _n_noop( '%s item', '%s items' ); } else { $translate_nooped_plural = false;