wordpress-develop/tests/phpunit/tests/query
Sergey Biryukov 10855438ea Date/Time: Replace all instances of date() with gmdate().
Use of `date()` in core depends on PHP timezone set to UTC and not changed by third party code (which cannot be guaranteed).

`gmdate()` is functionally equivalent, but is not affected by PHP timezone setting: it's always UTC, which is the exact behavior the core needs.

Props nielsdeblaauw, Rarst.
Fixes #46438. See #44491.

git-svn-id: https://develop.svn.wordpress.org/trunk@45424 602fd350-edb4-49c9-b593-d223f7449a82
2019-05-26 00:11:37 +00:00
..
commentCount.php Code is Poetry. 2017-11-30 23:09:33 +00:00
conditionals.php PHPCS: Remove extra spaces added in [44966]. 2019-03-21 20:19:16 +00:00
date.php Coding Standards: Upgrade WPCS to 1.0.0 2018-08-17 01:50:26 +00:00
dateQuery.php Coding Standards: Upgrade WPCS to 1.0.0 2018-08-17 01:50:26 +00:00
generatePostdata.php Posts: Avoid the use of globals in get_the_content() and related functions. 2019-03-20 15:48:46 +00:00
isTerm.php Coding Standards: Upgrade WPCS to 1.0.0 2018-08-17 01:50:26 +00:00
metaQuery.php Coding Standards: Upgrade WPCS to 1.0.0 2018-08-17 01:50:26 +00:00
noFoundRows.php Code is Poetry. 2017-11-30 23:09:33 +00:00
parseQuery.php Code is Poetry. 2017-11-30 23:09:33 +00:00
postStatus.php Coding Standards: Upgrade WPCS to 1.0.0 2018-08-17 01:50:26 +00:00
results.php Coding Standards: Upgrade WPCS to 1.0.0 2018-08-17 01:50:26 +00:00
search.php Coding Standards: Upgrade WPCS to 1.0.0 2018-08-17 01:50:26 +00:00
setupPostdata.php Fix setup_postdata() to set the (inside the loop) globals before the_post action is fired. Follow-up from #42814 and [44941]. 2019-05-04 20:59:11 +00:00
stickies.php Date/Time: Replace all instances of date() with gmdate(). 2019-05-26 00:11:37 +00:00
taxQuery.php Coding Standards: Upgrade WPCS to 1.0.0 2018-08-17 01:50:26 +00:00
vars.php Coding Standards: Upgrade WPCS to 1.0.0 2018-08-17 01:50:26 +00:00
verboseRewriteRules.php Built/Test Tools: Unify the way the permastructure is set when used in conjunction with re-registering the initial taxonomies. This ensure that rewrite rules for taxonomies are consistently available. 2016-09-26 17:01:48 +00:00