Wordpress/tests/phpunit/tests
Boone Gorges 4ebab4dc16 Remove extraneous table join in get_adjacent_post().
Since [29248], a table join has not been necessary to process the
`$excluded_terms` parameter of `get_adjacent_post()`. Aside from adding extra
overhead, this join meant that post records that don't have any corresponding
rows in `wp_term_relationships` were erroneously excluded from results.

Fixes #32833.

git-svn-id: https://develop.svn.wordpress.org/trunk@34088 602fd350-edb4-49c9-b593-d223f7449a82
2015-09-12 20:33:07 +00:00
..
actions
admin Implement a priority system for Help Tabs to add them at specific positions. 2015-09-10 01:26:26 +00:00
ajax Capabilities: Fall back to the edit_posts capability for orphaned comments. 2015-08-13 22:30:26 +00:00
attachment
canonical
category In wp_list_categories(), 'current_category' should accept an array of values. 2015-08-29 19:45:35 +00:00
comment After [33925], rename the unit test class to Tests_Comment_Meta_Cache to avoid collisions on the PHP 5.2 superhighway. 2015-09-05 22:29:59 +00:00
customize Customizer: Fix failing tests on PHP 5.2 after [33488]. 2015-07-31 13:01:16 +00:00
date
db Remove svn:executable from test files. 2015-07-26 09:40:58 +00:00
dependencies Add a return value to wp_register_script() and wp_register_style() which matches the return value of WP_Dependencies::add(). 2015-05-10 19:56:15 +00:00
feed
filesystem Require dependencies when appropriate in some unit test files. 2015-07-14 03:07:13 +00:00
formatting Formatting: maintain the content of HTML comments when they contain <object> tags. Add more tests for wpaitop(). 2015-09-08 22:54:08 +00:00
functions
general In paginate_links(), improve handling of custom pagination query vars. 2015-05-05 21:58:23 +00:00
http Deprecate wp_get_http() - function isn't used anywhere (apart from itself). 2015-09-09 04:25:24 +00:00
image After [33807], fix unit tests for PHP 5.2 2015-09-01 17:03:13 +00:00
import Require dependencies when appropriate in some unit test files. 2015-07-14 03:07:13 +00:00
includes Remove svn:executable from test files. 2015-07-26 09:40:58 +00:00
link
meta Avoid returning duplicate matches when using a meta query in WP_User_Query. 2015-06-09 17:41:35 +00:00
multisite Tests: Use a data provider when testing site flags in update_blog_details(). 2015-07-14 06:38:19 +00:00
option After [33840], JS regex needs the g modifier. 2015-09-08 16:43:27 +00:00
pomo
post In get_post_type_labels(), ensure that filtered labels contain all required default values. 2015-08-28 03:38:26 +00:00
query Query: 2015-08-22 16:58:21 +00:00
rewrite When parsing what appears to be a date archive request, check for a post with a clashing permalink before resolving to the archive. 2015-05-29 13:09:26 +00:00
template Tests: Update Site Icon tests to account for changes in [33605]. 2015-08-11 18:41:01 +00:00
term Add unit tests for get_term(). 2015-09-11 03:10:47 +00:00
theme
user Require numeric IDs in user deletion functions. 2015-09-11 02:24:03 +00:00
xmlrpc After [33325], supply a missing post_type in ->mw_editPost(). 2015-08-13 15:27:57 +00:00
actions.php
adminbar.php
auth.php Add 'wp_verify_nonce_failed' action that fires when nonce verification fails. 2015-08-26 00:05:11 +00:00
avatar.php Remove svn:executable from test files. 2015-07-26 09:40:58 +00:00
basic.php Tests: Check that readme.html is recommending an actively supported version of MySQL. 2015-09-08 03:23:29 +00:00
cache.php
canonical.php Implement canonical and url_to_postid() tests for child pages which share a post name with other child pages. 2015-06-24 00:40:45 +00:00
category.php In Walker_CategoryDropdown::start_el(), cast values to strings before deciding whether to append 'selected' attribute. 2015-08-21 01:10:34 +00:00
comment.php Allow 'comment_agent' and 'comment_author_IP' to be set via wp_new_comment(). 2015-07-01 12:07:28 +00:00
compat.php WPDB: When checking that a string can be sent to MySQL, we shouldn't use mb_convert_encoding(), as it behaves differently to MySQL's character encoding conversion. 2015-05-06 02:59:50 +00:00
cron.php
db.php WPDB: get_table_from_query() didn't find table names with hyphens in them. 2015-08-24 00:18:49 +00:00
dbdelta.php Remove svn:executable from test files. 2015-07-26 09:40:58 +00:00
dependencies.php
file.php
filters.php
functions.php Add unit test asserting that serializable objects will never pass is_serialized(). see #17375. 2015-05-28 05:22:14 +00:00
kses.php Shortcodes: Improve the reliablity of shortcodes inside HTML tags. 2015-07-22 05:14:50 +00:00
l10n.php
link.php Remove extraneous table join in get_adjacent_post(). 2015-09-12 20:33:07 +00:00
mail.php Update PHPMailer to 5.2.10 from 5.2.7. 2015-07-08 17:15:02 +00:00
media.php Ensure that attachment_url_to_postid() matches cross-scheme when front-end and back-end schemes are different. 2015-08-22 16:38:09 +00:00
meta.php
multisite.php Improve tests for is_email_address_unsafe(). 2015-05-28 16:05:30 +00:00
post.php In wp_insert_post(), when setting $post_author, use isset() instead of ! empty() to allow 0 to be passed as the value for $post_author. 2015-09-12 18:53:56 +00:00
query.php Better default values in WP_Query::get_queried_object(). 2015-09-12 03:36:12 +00:00
rewrite.php Implement canonical and url_to_postid() tests for child pages which share a post name with other child pages. 2015-06-24 00:40:45 +00:00
shortcode.php Add some more data for Shortcode unit tests. 2015-08-25 21:50:55 +00:00
taxonomy.php Add Unit Tests for get_objects_in_term() 2015-07-12 20:12:19 +00:00
term.php Improve unit tests for wp_unique_term_slug(). 2015-05-15 20:37:51 +00:00
theme.php Themes: Get the correct theme when template and stylesheet were both passed as arguments. 2015-08-30 21:44:38 +00:00
upload.php
url.php
user.php Move wp_delete_user() tests to their own file. 2015-09-11 01:50:40 +00:00
walker.php
widgets.php Add support for WP_Widget::get_settings() returning ArrayIterator/ArrayObject instances. 2015-05-26 16:50:03 +00:00