You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
-`get_page_by_path()` restricted function warning, to suggest `wpcom_vip_get_page_by_path()` function.
@@ -41,6 +43,8 @@ This release switches from having WPCS `1.*` as a dependency, to WPCS `2.*`. It
41
43
42
44
The sniffs in WPCS `2.*` are more accurate, so you may see new violations there weren't being reported before, and a reduction in violations for false positives.
The sniffs in VIPCS have been reorganised into different categories, with new sniff names and new violation codes. The changes are detailed in the table below. If you reference any of the old violations in your custom ruleset (to change severity, type, or message), or with `// phpcs:ignore` or `// phpcs:disable`, you will need to updates these references to the new violation codes.
@@ -345,10 +351,12 @@ The sniffs in VIPCS have been reorganised into different categories, with new sn
345
351
- Silence `WordPress.WP.AlternativeFunctions.file_system_read_fwrite` and `WordPress.WP.AlternativeFunctions.file_system_read_file_put_contents` since we have `WordPressVIPMinimum.Functions.RestrictedFunctions.file_ops_*`.
0 commit comments