diff --git a/WordPress/Sniffs/DB/DirectDatabaseQuerySniff.php b/WordPress/Sniffs/DB/DirectDatabaseQuerySniff.php index a600e6ae83..1d05da486d 100644 --- a/WordPress/Sniffs/DB/DirectDatabaseQuerySniff.php +++ b/WordPress/Sniffs/DB/DirectDatabaseQuerySniff.php @@ -19,7 +19,7 @@ /** * Flag Database direct queries. * - * @link https://vip.wordpress.com/documentation/vip-go/code-review-blockers-warnings-notices/#direct-database-queries + * @link https://docs.wpvip.com/php_codesniffer/warnings/#h-direct-database-queries * * @since 0.3.0 * @since 0.6.0 Removed the add_unique_message() function as it is no longer needed. diff --git a/WordPress/Sniffs/DB/SlowDBQuerySniff.php b/WordPress/Sniffs/DB/SlowDBQuerySniff.php index 5cbd99ac61..061a3e7de8 100644 --- a/WordPress/Sniffs/DB/SlowDBQuerySniff.php +++ b/WordPress/Sniffs/DB/SlowDBQuerySniff.php @@ -14,7 +14,7 @@ /** * Flag potentially slow queries. * - * @link https://vip.wordpress.com/documentation/vip-go/code-review-blockers-warnings-notices/#uncached-pageload + * @link https://docs.wpvip.com/php_codesniffer/warnings/#h-functions-that-use-joins-taxonomy-relation-queries-cat-tax-queries-subselects-or-api-calls * * @since 0.3.0 * @since 0.13.0 Class name changed: this class is now namespaced. diff --git a/WordPress/Sniffs/DateTime/RestrictedFunctionsSniff.php b/WordPress/Sniffs/DateTime/RestrictedFunctionsSniff.php index 279da5735c..16c279b9bc 100644 --- a/WordPress/Sniffs/DateTime/RestrictedFunctionsSniff.php +++ b/WordPress/Sniffs/DateTime/RestrictedFunctionsSniff.php @@ -29,7 +29,7 @@ public function getGroups() { /* * Disallow the changing the timezone. * - * @link https://vip.wordpress.com/documentation/vip-go/code-review-blockers-warnings-notices/#manipulating-the-timezone-server-side + * @link https://docs.wpvip.com/php_codesniffer/errors/#h-manipulating-the-timezone-server-side */ 'timezone_change' => array( 'type' => 'error', diff --git a/WordPress/Sniffs/Security/PluginMenuSlugSniff.php b/WordPress/Sniffs/Security/PluginMenuSlugSniff.php index 0deac9e82c..7efb287f8c 100644 --- a/WordPress/Sniffs/Security/PluginMenuSlugSniff.php +++ b/WordPress/Sniffs/Security/PluginMenuSlugSniff.php @@ -15,7 +15,7 @@ /** * Warn about __FILE__ for page registration. * - * @link https://vip.wordpress.com/documentation/vip-go/code-review-blockers-warnings-notices/#using-__file__-for-page-registration + * @link https://docs.wpvip.com/php_codesniffer/warnings/#h-using-file-for-page-registration * * @since 0.3.0 * @since 0.11.0 Refactored to extend the new WordPressCS native diff --git a/WordPress/Sniffs/WP/CronIntervalSniff.php b/WordPress/Sniffs/WP/CronIntervalSniff.php index fd48e1a2f2..a93315daa9 100644 --- a/WordPress/Sniffs/WP/CronIntervalSniff.php +++ b/WordPress/Sniffs/WP/CronIntervalSniff.php @@ -22,7 +22,7 @@ /** * Flag cron schedules less than 15 minutes. * - * @link https://vip.wordpress.com/documentation/vip-go/code-review-blockers-warnings-notices/#cron-schedules-less-than-15-minutes-or-expensive-events + * @link https://docs.wpvip.com/php_codesniffer/warnings/#h-cron-schedules-less-than-15-minutes-or-expensive-events * * @since 0.3.0 * @since 0.11.0 - Extends the WordPressCS native `Sniff` class. diff --git a/WordPress/Sniffs/WP/EnqueuedResourcesSniff.php b/WordPress/Sniffs/WP/EnqueuedResourcesSniff.php index bc7e9c94fa..28142e8aac 100644 --- a/WordPress/Sniffs/WP/EnqueuedResourcesSniff.php +++ b/WordPress/Sniffs/WP/EnqueuedResourcesSniff.php @@ -18,8 +18,6 @@ /** * Makes sure scripts and styles are enqueued and not explicitly echo'd. * - * @link https://vip.wordpress.com/documentation/vip-go/code-review-blockers-warnings-notices/#inline-resources - * * @since 0.3.0 * @since 0.12.0 This class now extends the WordPressCS native `Sniff` class. * @since 0.13.0 Class name changed: this class is now namespaced. diff --git a/WordPress/Sniffs/WP/PostsPerPageSniff.php b/WordPress/Sniffs/WP/PostsPerPageSniff.php index e2575cbd43..6c62b920d9 100644 --- a/WordPress/Sniffs/WP/PostsPerPageSniff.php +++ b/WordPress/Sniffs/WP/PostsPerPageSniff.php @@ -16,7 +16,7 @@ /** * Flag returning high or infinite posts_per_page. * - * @link https://vip.wordpress.com/documentation/vip-go/code-review-blockers-warnings-notices/#no-limit-queries + * @link https://docs.wpvip.com/php_codesniffer/warnings/#h-no-limit-queries * * @since 0.3.0 * @since 0.13.0 Class name changed: this class is now namespaced.