Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion WordPress/Sniffs/DB/DirectDatabaseQuerySniff.php
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down
2 changes: 1 addition & 1 deletion WordPress/Sniffs/DB/SlowDBQuerySniff.php
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down
2 changes: 1 addition & 1 deletion WordPress/Sniffs/DateTime/RestrictedFunctionsSniff.php
Original file line number Diff line number Diff line change
Expand Up @@ -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',
Expand Down
2 changes: 1 addition & 1 deletion WordPress/Sniffs/Security/PluginMenuSlugSniff.php
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion WordPress/Sniffs/WP/CronIntervalSniff.php
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down
2 changes: 0 additions & 2 deletions WordPress/Sniffs/WP/EnqueuedResourcesSniff.php
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down
2 changes: 1 addition & 1 deletion WordPress/Sniffs/WP/PostsPerPageSniff.php
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down
Loading