Wordpress/tests/phpunit/tests
Scott Taylor 3d1f8f292a After [33148]:
Don't nest `esc_attr()` and `htmlspecialchars()` when escaping the post title on the edit post screen.

Unrevert parts of [32851] and [32850].

Adds/alters unit tests.

Props miqrogroove.
Fixes #17780.


git-svn-id: https://develop.svn.wordpress.org/trunk@33271 602fd350-edb4-49c9-b593-d223f7449a82
2015-07-14 17:55:07 +00:00
..
actions
admin Disallow post slugs that will result in permalinks that conflict with date archive URLs. 2015-05-29 12:52:17 +00:00
ajax Pinking shears in unit test files. 2015-03-05 13:14:28 +00:00
attachment
canonical In PHPUnit test classes, parent::tearDown() should be the last thing done in tearDown() methods. 2015-03-05 13:14:15 +00:00
category In wp_list_categories(), 'All' link should point to post type archive if taxonomy is not registered for 'post' or 'page'. 2015-04-24 14:56:37 +00:00
comment In WP_Comment_Query, parse meta_query vars after the pre_get_comments hook. 2015-06-23 14:35:29 +00:00
customize Customizer: Remove additional wrapper element around wp_nav_menu() which broke some theme designs. 2015-07-08 21:29:53 +00:00
date
db Correct a unit test name. 2015-06-17 23:09:28 +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 Use shared fixtures in RSS2 unit tests. 2015-03-20 12:34:28 +00:00
filesystem Require dependencies when appropriate in some unit test files. 2015-07-14 03:07:13 +00:00
formatting After [33148]: 2015-07-14 17:55:07 +00:00
functions
general In paginate_links(), improve handling of custom pagination query vars. 2015-05-05 21:58:23 +00:00
http WP_HTTP: ensure that the temporary file is created within the temporary directly when stream is specified without a filename parameter. 2015-06-09 03:54:49 +00:00
image Require dependencies when appropriate in some unit test files. 2015-07-14 03:07:13 +00:00
import Require dependencies when appropriate in some unit test files. 2015-07-14 03:07:13 +00:00
includes Term unit test factory class should override create_and_get() method. 2015-05-30 13:03:07 +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 Skip the Tests_Option_Transient::test_nonexistent_key_old_timeout() tests on multisite for now. 2015-07-08 18:23:46 +00:00
pomo
post In wp_unique_post_slug(), only prevent date archive conflicts when the slug is being changed. 2015-07-14 12:27:11 +00:00
query Require dependencies when appropriate in some unit test files. 2015-07-14 03:07:13 +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 Site Icon: Add Android-specific app icon. 2015-07-13 17:57:19 +00:00
term Don't allow $field param to be passed to get_term_link(). 2015-07-01 12:53:05 +00:00
theme
user Do not allow deletion of a super admin user through wpmu_delete_user(). 2015-07-09 16:15:30 +00:00
xmlrpc Correctly set the post author in wp_xmlrpc_server::mw_editPost() when the current user is not the author of the post. 2015-04-02 15:48:41 +00:00
actions.php
adminbar.php
auth.php Expire password reset links after 24 hours (by default). This causes existing password reset links to become invalid. 2015-07-01 06:32:07 +00:00
avatar.php Fix a unit test after [31721]. 2015-03-11 20:11:38 +00:00
basic.php In PHPUnit test classes, parent::tearDown() should be the last thing done in tearDown() methods. 2015-03-05 13:14:15 +00:00
cache.php In PHPUnit test classes, parent::tearDown() should be the last thing done in tearDown() methods. 2015-03-05 13:14:15 +00:00
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 category dropdown, 'selected' should match against 'value_field'. 2015-05-11 13:10:19 +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 In PHPUnit test classes, parent::tearDown() should be the last thing done in tearDown() methods. 2015-03-05 13:14:15 +00:00
db.php WPDB: When extracting the table name from a query, we had a 1000 character limit on the SQL string that would be searched. This was a hangover from when the code was imported from HyperDB, and isn't appropriate for Core, where a wider range of queries are likely to be run. 2015-07-14 10:18:57 +00:00
dbdelta.php Add dbDelta insert test 2015-07-12 17:28:15 +00:00
dependencies.php
file.php Tests: Clean up the resulting /tmp/foo* files from the tempnam call. 2015-03-31 02:10:52 +00:00
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 Don't strip \0 (backslash+zero) from post content for users without "unfiltered_html" 2015-06-19 18:46:11 +00:00
l10n.php
link.php In PHPUnit test classes, parent::tearDown() should be the last thing done in tearDown() methods. 2015-03-05 13:14:15 +00:00
mail.php Update PHPMailer to 5.2.10 from 5.2.7. 2015-07-08 17:15:02 +00:00
media.php YouTube oEmbed parsing: support the m subdomain. 2015-06-24 21:05:59 +00:00
meta.php
multisite.php Improve tests for is_email_address_unsafe(). 2015-05-28 16:05:30 +00:00
post.php When creating a new post with an empty post_name and post_title, don't generate a post_name that conflicts with a date archive permalink. 2015-07-14 12:27:03 +00:00
query.php Use assertEqualSets() in WP_Query::parse_tax_query() tests. 2015-07-07 00:57:04 +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 Allow shortcode parameter names (attributes) to contain dashes. 2015-07-07 23:58:49 +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
upload.php
url.php
user.php In wp_insert_user(), comparing an email address against the user's old email address should not be case-sensitive. 2015-07-07 19:28:46 +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