File tree Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -41,7 +41,7 @@ $args = array(
4141_query_posts ( 'posts_per_page=999 ' ); // Warning.
4242$ query_args ['posts_per_page ' ] = 999 ; // Warning.
4343
44- // WordPress.WP.TimezoneChange
44+ // WordPress.DateTime.RestrictedFunctions
4545date_default_timezone_set ( 'FooBar ' ); // Error.
4646
4747// WordPress.DB.PreparedSQL
Original file line number Diff line number Diff line change 2626 <rule ref =" WordPress.PHP.IniSet" />
2727 <rule ref =" WordPress.WP.EnqueuedResources" />
2828 <rule ref =" WordPress.WP.PostsPerPage" />
29- <rule ref =" WordPress.WP.TimezoneChange " />
29+ <rule ref =" WordPress.DateTime.RestrictedFunctions " />
3030 <rule ref =" WordPress.DB.PreparedSQL" />
3131 <rule ref =" WordPress.DB.DirectDatabaseQuery" />
3232 <rule ref =" WordPress.DB.SlowDBQuery" />
You can’t perform that action at this time.
0 commit comments