wordpress-develop/tests/phpunit/tests/post
Sergey Biryukov fc62131e31 Tests: Add more fixtures to get_lastpostdate() and get_lastpostmodified() tests.
Follow-up to [48631].

Props munyagu.
See #47777.

git-svn-id: https://develop.svn.wordpress.org/trunk@48633 602fd350-edb4-49c9-b593-d223f7449a82
2020-07-27 11:15:04 +00:00
..
attachments.php Docs: Remove extra spaces from @ticket tag in unit tests. 2020-06-27 12:01:30 +00:00
bodyClass.php Themes: Add additional later escaping to post_class() and body_class() functions. 2020-06-16 16:55:45 +00:00
filtering.php Docs: Improve inline comments per the documentation standards. 2020-01-29 00:43:23 +00:00
formats.php Docs: Improve inline comments per the documentation standards. 2020-01-29 00:43:23 +00:00
getBodyClass.php PHPCS: Fix WPCS violation in [45088]. 2019-04-01 16:48:32 +00:00
getLastPostDate.php Tests: Add more fixtures to get_lastpostdate() and get_lastpostmodified() tests. 2020-07-27 11:15:04 +00:00
getLastPostModified.php Tests: Add more fixtures to get_lastpostdate() and get_lastpostmodified() tests. 2020-07-27 11:15:04 +00:00
getPageByPath.php Code is Poetry. 2017-11-30 23:09:33 +00:00
getPageChildren.php Code is Poetry. 2017-11-30 23:09:33 +00:00
getPages.php Docs: Improve inline comments per the documentation standards. 2020-01-29 00:43:23 +00:00
getPageUri.php Docs: Improve inline comments per the documentation standards. 2020-01-29 00:43:23 +00:00
getPostClass.php Code is Poetry. 2017-11-30 23:09:33 +00:00
getPosts.php Code is Poetry. 2017-11-30 23:09:33 +00:00
getPostsByAuthorSql.php Code is Poetry. 2017-11-30 23:09:33 +00:00
getPostTypeLabels.php Coding Standards: Upgrade WPCS to 1.0.0 2018-08-17 01:50:26 +00:00
getTheContent.php Posts, Post Types: Avoid a PHP warning when get_the_content() is called outside of the loop. 2020-06-21 10:34:35 +00:00
getTheExcerpt.php Posts: Avoid the use of globals in get_the_content() and related functions. 2019-03-20 15:48:46 +00:00
isPostTypeViewable.php Coding Standards: Upgrade WPCS to 1.0.0 2018-08-17 01:50:26 +00:00
listPages.php Tests: Further fix some issues with indeterminate sort ordering in Tests_List_Pages: 2020-07-02 18:21:43 +00:00
meta.php Docs: Improve inline comments per the documentation standards. 2020-01-29 00:43:23 +00:00
nav-menu.php Menus: Simplify the test for wp_update_nav_menu_item() with special characters in category name. 2020-07-11 21:46:29 +00:00
objects.php Tests: Remove an irrelevant tags_input property assertion from test_get_page_template_property(). 2020-02-19 01:03:37 +00:00
output.php Docs: Improve inline comments per the documentation standards. 2020-01-29 00:43:23 +00:00
pings.php Code is Poetry. 2017-11-30 23:09:33 +00:00
postClass.php Themes: Add additional later escaping to post_class() and body_class() functions. 2020-06-16 16:55:45 +00:00
query.php Query: Make sure the found_posts property of WP_Query is always an integer, to match the documented type. 2020-07-05 21:32:26 +00:00
revisions.php Docs: Improve inline comments per the documentation standards. 2020-01-29 00:43:23 +00:00
slashes.php Docs: Improve inline comments per the documentation standards. 2020-01-29 00:43:23 +00:00
template.php Docs: Improve inline comments per the documentation standards. 2020-01-29 00:43:23 +00:00
thumbnails.php Post Thumbnails: Change the return value of get_post_thumbnail_id() for a non-existing post to false instead of an empty string. 2020-07-05 10:15:40 +00:00
types.php Build/Test Tools: Remove redundant Tests_Post_Types::register_post_type() helper method, use register_post_type() directly. 2020-02-26 13:16:10 +00:00
walkerPage.php Menus: In Walker_Nav_Menu, Walker_Category, and Walker_Page, properly output link attributes having a legitimate "empty" value, for example an HTML data attribute with a value of zero (0). 2019-10-06 15:04:18 +00:00
wpGetPostParentId.php Tests: Improve tests for wp_get_post_parent_id() added in [42397]. 2018-02-01 16:02:26 +00:00
wpInsertPost.php Coding Standards: Fix WPCS violations in [45851]. 2019-08-19 16:34:57 +00:00
wpPost.php Coding Standards: Upgrade WPCS to 1.0.0 2018-08-17 01:50:26 +00:00
wpPostType.php Posts, Post Types: Allow support arguments to be specified when registering post types. 2019-09-17 19:57:18 +00:00
wpUniquePostSlug.php General: Remove “whitelist” and “blacklist” in favor of more clear and inclusive language. 2020-06-22 17:24:34 +00:00