..
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
Fix typo in a comment in slashing tests.
2015-01-07 07:08:47 +00:00
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
Use assertFalse()
rather than assertNull()
in Tests_WP_Customize_Setting::test_is_current_blog_previewed()
.
2015-06-18 14:07:35 +00:00
date
WP_Date_Query
date validation should not fail for hour = 0.
2015-01-20 19:12:48 +00:00
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
formatting
After [32896], update ConvertChars.php
unit tests and rename to ConvertInvalidEntries.php
.
2015-06-25 19:50:14 +00:00
functions
Ignore case when checking string 'false' in wp_validate_boolean()
.
2014-11-03 15:54:42 +00:00
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
In PHPUnit test classes, parent::tearDown()
should be the last thing done in tearDown()
methods.
2015-03-05 13:14:15 +00:00
import
Use HTTPS URLs for core.trac.wordpress.org
2014-09-29 13:27:55 +00:00
includes
Term unit test factory class should override create_and_get()
method.
2015-05-30 13:03:07 +00:00
link
In get_next_comments_link()
, ensure proper pagination when no 'cpage' query var is found.
2015-03-05 03:56:21 +00:00
meta
Avoid returning duplicate matches when using a meta query in WP_User_Query
.
2015-06-09 17:41:35 +00:00
multisite
Introduce get_main_network_id()
2015-06-14 21:44:45 +00:00
option
Use a dataProvider for network option sanitization tests.
2015-05-28 06:37:44 +00:00
pomo
Fix strict notices in Tests_POMO_PO.
2013-12-01 12:47:35 +00:00
post
Implement tests for the upload_mimes
filter to ensure it prevents the upload of disallowed file types.
2015-06-24 00:42:33 +00:00
query
Allow is_page_template()
to accept an array, as many other conditional tags do.
2015-03-12 16:27:06 +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
term
Introduce 'wp_generate_tag_cloud_data' filter.
2015-06-29 14:15:59 +00:00
theme
Clean up 'post-thumbnail' theme support unit tests.
2014-11-01 04:00:59 +00:00
user
Comprehensive unit tests for every available capability, and for all roles.
2015-06-17 00:04:08 +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
Introduce doing_filter() and doing_action() to identify hooks in progress.
2014-02-26 18:43:59 +00:00
adminbar.php
auth.php
Set $_SERVER['REQUEST_METHOD']
for unit tests.
2015-06-16 00:03:25 +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
In wp_notify_moderator()
, don't throw notice when comment belongs to a post with no author.
2015-06-04 17:28:07 +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: Allow queries to reference tables in the dbname.tablename
format, and allow table names to contain any valid character, rather than just ASCII.
2015-05-06 05:00:39 +00:00
dbdelta.php
Improve dbDelta unit tests
2015-06-14 19:22:20 +00:00
dependencies.php
Remove tests for code still in development, see #22229 . If accidentally run, they produce fatal errors.
2013-10-07 14:17:13 +00:00
file.php
Tests: Clean up the resulting /tmp/foo* files from the tempnam
call.
2015-03-31 02:10:52 +00:00
filters.php
In remove_all_filters()
, only remove callbacks that match the $priority
parameter.
2014-12-31 19:06:29 +00:00
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
Remove failing is_textdomain_loaded()
test.
2014-11-22 20:36:51 +00:00
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
Make sure $_SERVER['SERVER_NAME']
is set whenever wp_mail()
is called in PHPUnit tests.
2015-06-18 13:52:29 +00:00
media.php
YouTube oEmbed parsing: support the m
subdomain.
2015-06-24 21:05:59 +00:00
meta.php
Update the tests for get_metadata()
to reflect the revert in r30701.
2014-12-02 03:43:17 +00:00
multisite.php
Improve tests for is_email_address_unsafe()
.
2015-05-28 16:05:30 +00:00
post.php
Improve unit tests for wp_unique_post_slug()
.
2015-05-26 18:07:17 +00:00
query.php
Tests for some existing 'orderby' functionality in WP_*_Query
classes.
2015-03-07 15:44:28 +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
In PHPUnit test classes, parent::tearDown()
should be the last thing done in tearDown()
methods.
2015-03-05 13:14:15 +00:00
taxonomy.php
Filter out empty object_types in register_taxonomy_for_object_type()
.
2015-06-08 19:44:32 +00:00
term.php
Improve unit tests for wp_unique_term_slug()
.
2015-05-15 20:37:51 +00:00
theme.php
Fix formatting in [29946].
2014-10-17 22:14:49 +00:00
upload.php
wp_upload_dir()
has a (little-known?) side effect: if you call it, it will attempt to create an uploads directory for the current month. As such, tearDown()
and cleanup routines have to be in sync with this behavior when deleting bogus directories used in unit tests.
2014-11-30 19:05:52 +00:00
url.php
In get_adjacent_post()
, return private post if the current user has the capacity to read it.
2015-01-30 02:19:46 +00:00
user.php
When searching for users using the search
arg in get_users()
/WP_User_Query
, also search the user's email, url, and display name.
2015-06-28 00:35:42 +00:00
walker.php
Add unit tests for Walker
class.
2014-08-01 20:35:25 +00:00
widgets.php
Add support for WP_Widget::get_settings()
returning ArrayIterator
/ArrayObject
instances.
2015-05-26 16:50:03 +00:00