2.1.0
Bumps requirements to PHPCS 3.5.5+ and WPCS 2.3.0+.
Added
get_page_by_path()
restricted function warning, to suggestwpcom_vip_get_page_by_path()
function.stats_get_csv()
restricted function error, since this is a Jetpack-only function.- Expanded list of HTMLExecutingFunctions to include
after
,appendTo
,before
,insertAfter
,insertBefore
,prepend
,prependTo
,replaceAll
andreplaceWith
. - Support PHP 5.4+ (down from 5.6+).
- PHP 8 nightly testing.
Changed
- Expand message for
wp_remote_get()
usage. - Downgrade
append()
usage violation from Error to Warning for VIP Go, to be consistent with the other HTMLExecutingFunctions. - Downgrade AdminBarRemoval sniff from Error to Warning for VIP Go.
- Add
get_parent_theme_file_path()
to safelist of path functions forWordPressVIPMinimum.Files.IncludingFile
sniff. - Allow short array syntax and fix tests within the VIPCS own coding standards.
- Update issue templates.
Fixed
- Use new
WordPress.DateTime.RestrictedFunctions
sniff instead of deprecatedWordPress.WP.TimezoneChange
. - Fixed warnings and information items in Travis.
Removed
get_super_admins()
restricted function rule for VIP Go.WordPressVIPMinimum.VersionControl.MergeConflict
sniff in favour ofGeneric.VersionControl.GitMergeConflict
.