Wordpress/tests/phpunit/tests
Joe Hoyle 0a2a83056c Prevent unnecessary $wpdb->update() when hierarchical post doesn't have children.
Props danielbachhuber.
Fixes #34896.


git-svn-id: https://develop.svn.wordpress.org/trunk@35817 602fd350-edb4-49c9-b593-d223f7449a82
2015-12-07 17:46:35 +00:00
..
actions
admin Unit Tests: better fixtures for Tests_Admin_Includes_Post. 2015-10-17 19:47:07 +00:00
ajax After [35518] define $_POST['post_view'] in test_dont_process_terms_if_taxonomy_does_not_allow_show_on_quick_edit(). 2015-11-04 23:05:03 +00:00
attachment
canonical
category
comment WP_Comment_Query: Fill comment objects from database when cache is unavailable. 2015-11-04 21:09:01 +00:00
customize Customizer: Apply customize_dynamic_setting_class and customize_dynamic_setting_args filters in calls to WP_Customize_Manager::add_setting( $id, $args ). 2015-12-06 23:21:46 +00:00
date
db WPDB: Fall back to the connection charset when sanity checking strings. 2015-11-17 06:12:08 +00:00
dependencies
external-http
feed Feeds: <comments> is optional in RSS2, so don't include it when comments aren't present or open. Same for <wfw:commentRss> and <slash:comments> 2015-11-04 17:46:41 +00:00
filesystem
formatting Allow usage of angle brackets in a site title or tagline. 2015-12-06 20:28:26 +00:00
functions
general Site Icon: Wrap site icon retrieval with switch_to_blog() as needed. 2015-11-08 02:03:34 +00:00
http HTTP Tests: Use login.wordpress.org/wp-login.php in test_get_response_cookies(). 2015-11-24 21:59:23 +00:00
image Remove the explicit Imagick extension test. 2015-10-21 22:40:48 +00:00
import
includes
link
meta Unit Tests: better fixtures for Tests_Meta_Slashes and Tests_WP_Customize_Section. 2015-10-17 21:28:43 +00:00
multisite Ensure that the scheme used in the URL returned by get_blogaddress_by_id() always reflects the blog's URL, instead of using http. 2015-10-30 02:01:32 +00:00
oembed Embeds: Enforce, via unit tests, the no-ampersand rule for wp-embed.js. 2015-12-04 05:45:29 +00:00
option
pomo
post Add a unit test for wp_nav_menu() with container => '' 2015-11-25 18:18:37 +00:00
query Rewrite: alleviate conflicts between image attachment pages and posts when permalink structure is /%postname%/. 2015-11-18 19:58:01 +00:00
rest-api REST API: Core typically sends nocache headers on all auth'ed responses, as in wp, admin-ajax, etc. Because the REST API infrastructure is hooked in pre-wp, we should be setting this ourselves. 2015-12-04 23:35:54 +00:00
rewrite Some cleanup that was missed in [35259]. 2015-10-18 06:25:25 +00:00
term When deleting a term, delete its metadata as well. 2015-11-09 03:35:56 +00:00
theme
user Show user_login in Dashboard user dropdowns. 2015-12-06 20:56:11 +00:00
xmlrpc XMLRPC: Prevent authentication from occuring after a failed authentication attmept in any single XML-RPC call. 2015-10-23 04:45:10 +00:00
actions.php
adminbar.php Unit Tests: better fixtures for Tests_AdminBar. Don't force-delete some posts: some filter callbacks are no-ops on Multisite if the post is vanquished. 2015-10-17 20:48:33 +00:00
auth.php
avatar.php
basic.php
cache.php
canonical.php
category.php
comment-submission.php Ensure the correct error message is returned when a user attempts to comment on a post to which they do not have access. 2015-11-28 18:28:54 +00:00
comment.php Comments: don't auto-close comments on draft posts. 2015-10-31 20:12:16 +00:00
compat.php
cron.php
db.php
dbdelta.php Upgrades: Add support for FULLTEXT indexes to dbDelta(). 2015-11-01 23:09:49 +00:00
dependencies.php
file.php
filters.php
functions.php Formatting: when making unique filenames in wp_unique_filename() by adding an incrementing number, prefix it with a dash to disambiguate from files that end in numbers. 2015-10-20 04:04:26 +00:00
kses.php
l10n.php
link.php Formatting: wp_make_link_relative() should return an empty string if no path is present in the link. 2015-11-03 21:35:17 +00:00
mail.php Mail: after [33124], add unit tests. 2015-11-11 22:04:59 +00:00
media.php Media: don't use get_media_embedded_in_content() in wp_make_content_images_responsive(). 2015-12-01 20:49:13 +00:00
meta.php
multisite.php
pluggable.php
post.php Prevent unnecessary $wpdb->update() when hierarchical post doesn't have children. 2015-12-07 17:46:35 +00:00
query.php
rest-api.php REST API: Require namespace when registering routes. 2015-11-17 02:38:31 +00:00
rewrite.php Move the test_is_home_should_be_false_when_visiting_custom_endpoint_without_a_registered_query_var_and_page_on_front_is_set() test into a more appropriate place. 2015-10-18 01:34:29 +00:00
shortcode.php
taxonomy.php Prevent non-public taxonomies from registering aquery var. 2015-10-21 16:53:51 +00:00
term.php Unit Tests: better fixtures for Tests_AdminBar. Don't force-delete some posts: some filter callbacks are no-ops on Multisite if the post is vanquished. 2015-10-17 20:48:33 +00:00
theme.php Upgrade: New themes are not automatically installed on upgrade. This can still be explicitly asked for by defining CORE_UPGRADE_SKIP_NEW_BUNDLED as false. 2015-11-25 21:44:02 +00:00
upload.php
url.php
user.php Use 'invalid_username' error code when tripping 'illegal_user_logins'. 2015-12-04 23:24:56 +00:00
walker.php
widgets.php Widgets: Modify unit test assertion to be compatible with widget_nav_menu option being filtered by plugin to return ArrayIterator. 2015-10-19 21:26:24 +00:00