wordpress-develop/tests/phpunit/tests/general
Peter Wilson 9ea1a7eb4f Posts: Fix back-compat for filters in get the modified time and date functions after [37738].
When no valid post exists for `get_the_modified_time` or `get_the_modified_date` calls, the result (`false`) is passed through the functions respective filters to maintain back-compat.

Introduces unit tests to ensure filters are applied and for the `get_the_modified_date` function.

Fixes #37059.


git-svn-id: https://develop.svn.wordpress.org/trunk@37866 602fd350-edb4-49c9-b593-d223f7449a82
2016-06-26 11:29:13 +00:00
..
archives.php Unit Tests: after [35225], make factory a method/getter on WP_UnitTestCase and add magic methods for BC for every plugin that is extending WP_UnitTestCase and accessing the $factory instance prop. 2015-10-17 18:02:16 +00:00
document-title.php Template: Always display the site title on the front page. 2016-01-04 17:15:31 +00:00
errors.php New remove() method and some unit tests for the WP_Error class. 2014-10-08 07:11:09 +00:00
paginateLinks.php Tests: Introduce WP_UnitTestCase::reset_permalinks(), an attempt to DRY up logic for resetting and restoring default permalinks on setUp() and tearDown(). 2015-10-03 17:14:12 +00:00
template.php Posts: Fix back-compat for filters in get the modified time and date functions after [37738]. 2016-06-26 11:29:13 +00:00