From 3e6d4779e1c271c42bce80f43fdc7f42d673b09f Mon Sep 17 00:00:00 2001 From: davidperezgar Date: Mon, 21 Oct 2024 16:31:05 +0200 Subject: [PATCH] updated prefix number in docs and link function --- WordPress/Docs/NamingConventions/PrefixAllGlobalsStandard.xml | 2 +- WordPress/Sniffs/NamingConventions/PrefixAllGlobalsSniff.php | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/WordPress/Docs/NamingConventions/PrefixAllGlobalsStandard.xml b/WordPress/Docs/NamingConventions/PrefixAllGlobalsStandard.xml index 2da45692c..bb518dbda 100644 --- a/WordPress/Docs/NamingConventions/PrefixAllGlobalsStandard.xml +++ b/WordPress/Docs/NamingConventions/PrefixAllGlobalsStandard.xml @@ -101,7 +101,7 @@ function wp_save_post() {} diff --git a/WordPress/Sniffs/NamingConventions/PrefixAllGlobalsSniff.php b/WordPress/Sniffs/NamingConventions/PrefixAllGlobalsSniff.php index f6ed8f3dc..3f213ab47 100644 --- a/WordPress/Sniffs/NamingConventions/PrefixAllGlobalsSniff.php +++ b/WordPress/Sniffs/NamingConventions/PrefixAllGlobalsSniff.php @@ -58,8 +58,8 @@ final class PrefixAllGlobalsSniff extends AbstractFunctionParameterSniff { /** * Minimal number of characters the prefix needs in order to be valid. * - * @since 2.2.0 * @since 3.2.0 The minimum number of characters was raised from 3 to 4. + * @since 2.2.0 * * @link https://github.com/WordPress/WordPress-Coding-Standards/issues/1733 Issue 1733. * @link https://github.com/WordPress/WordPress-Coding-Standards/issues/2467 Issue 2467.