Wordpress/tests/phpunit/tests
Konstantin Obenland 09182448e7 Widgets: Add nudge for registered widgets
Informs developers that widgets need to be registered before they can be
displayed through `the_widget()`. Previously it would fail with an ambiguous
undefined index notice.

Props SeBsZ, mrasharirfan.
Fixes #41743.



git-svn-id: https://develop.svn.wordpress.org/trunk@41327 602fd350-edb4-49c9-b593-d223f7449a82
2017-09-01 08:49:50 +00:00
..
actions Build/Test Tools: Continue eliminating randomness in tests. 2016-10-09 01:29:04 +00:00
admin Post Formats: In bulk_edit_posts(), set post format before the post is updated, for consistency with edit_post(). 2017-07-30 14:40:42 +00:00
ajax Build/Test tools: Remove usage of DOING_AJAX from the test suite, so all tests that expect either an Ajax request or a 2017-08-22 15:07:42 +00:00
attachment
bookmark
canonical Revert [40256] for now as some tests are failing in some environments. 2017-05-12 22:49:48 +00:00
category Taxonomy: Introduce get_term_parents_list(). 2016-12-09 16:09:31 +00:00
comment Introduce paged argument to WP_Comment_Query. 2017-08-21 15:34:19 +00:00
customize Customize: Prevent potential cache corruption when finding a secondary changeset post by UUID. 2017-08-29 04:09:57 +00:00
date Date/Time: Improve date_i18n() timezone tests. 2016-11-08 22:31:51 +00:00
db Tests: Restore the database connection earlier when switching test groups. 2016-12-21 04:58:47 +00:00
dependencies Build/Test Tools: Utilise assertFileExists() and assertFileNotExists() in more places. 2016-11-08 23:49:11 +00:00
external-http Build/Test Tools: Don't skip tests when php.net or dev.mysql.com are unreachable. 2017-04-22 18:44:18 +00:00
feed Build/Test Tools: Remove ancient UT ticket handling. 2017-04-22 19:38:42 +00:00
filesystem General: Improve terminology used when referring to installations of WordPress and its extensions. 2017-08-22 11:51:11 +00:00
formatting Formatting: In sanitize_title_with_dashes(), convert forward slash to hyphen on save. 2017-08-25 23:27:55 +00:00
functions Tests: Fix typo in Tests_Functions_AllowedProtocols::data_example_urls(). 2017-07-24 10:02:52 +00:00
general Themes: Improve the theme Custom Logo accessibility. 2017-05-22 20:28:43 +00:00
hooks Tests: Rename tests with underscore in the name 2017-08-18 09:57:12 +00:00
http General: Improve terminology used when referring to installations of WordPress and its extensions. 2017-08-22 11:51:11 +00:00
image Build/Test tools: Revert [41278] because the PHP 5.2 environment on Travis doesn't support OpenSSL, hence the tests fail. 2017-08-20 12:58:59 +00:00
import Build/Test Tools: Clarify the error message when running the test suite without the WordPress Importer plugin present in the test suite. 2017-07-27 14:00:16 +00:00
includes Tests: Reset post-related globals after each test. 2016-09-30 03:15:36 +00:00
l10n Build/Test Tools: Automatically skip tests in the ms-required and ms-excluded groups. 2017-05-01 20:34:10 +00:00
link Multisite: Introduce a self_admin_url filter to adjust the URL to an administration panel. 2017-07-14 23:00:55 +00:00
load
media Revert [40842] due to failing tests. 2017-05-25 18:27:08 +00:00
menu Map nav menu locations on theme switch 2017-08-09 21:03:16 +00:00
meta Unit Tests: 2016-08-27 08:35:16 +00:00
multisite Multisite: Remove references to $wpdb->siteid and use get_current_network_id() instead. 2017-08-12 13:10:24 +00:00
oembed REST API: Always add index.php to the REST URL when pretty permalinks are disabled. 2017-07-25 00:49:22 +00:00
option Multisite: Remove references to $wpdb->siteid and use get_current_network_id() instead. 2017-08-12 13:10:24 +00:00
pomo
post Post Thumbnails: Pass post ID to post_thumbnail_size filter. 2017-08-18 18:18:51 +00:00
query Introduce $comment_count param for WP_Query. 2017-07-01 11:24:26 +00:00
rest-api REST API: Populate some missing tests from test cases which extend the controller test case. 2017-08-04 13:55:04 +00:00
rewrite Tests: Restore the database connection earlier when switching test groups. 2016-12-21 04:58:47 +00:00
taxonomy
term Taxonomy: Avoid duplicates when querying for terms in taxonomies registered with $args parameter. 2017-07-13 13:40:39 +00:00
theme Themes: Skip tests if ReflectionMethod::setAccessible is unavailable 2017-05-23 22:15:08 +00:00
user Plugins: Introduce singular capabilities for activating and deactivating individual plugins. 2017-08-22 14:01:36 +00:00
widgets Widgets: Prevent visual Text widget from decoding encoded HTML. 2017-08-17 23:36:53 +00:00
xmlrpc Add term meta support to XML-RPC addTerm and editTerm endpoints. 2017-06-18 10:39:12 +00:00
actions.php Build/Test Tools: Continue eliminating randomness in tests. 2016-10-09 01:29:04 +00:00
adminbar.php Users: Correct a permission check when showing the User item in the + New admin toolbar menu. 2017-05-07 17:41:24 +00:00
auth.php Build/Test Tools: Add an extra WP_Error assertion when testing a valid user activation key. This provides a better failure message if the assertion does fail. 2016-11-27 01:24:58 +00:00
avatar.php
basic.php Build/Test: Revert that failing test. 2017-05-11 00:15:05 +00:00
cache.php Multisite: Remove unused site-lookup global cache group. 2017-03-28 21:07:22 +00:00
canonical.php Unit Tests: 2016-08-27 08:35:16 +00:00
category.php
comment-submission.php Comments: When commenting on a draft post, display a friendly error message if the user can view the post. 2017-02-27 00:22:02 +00:00
comment.php Allow metadata to be updated via wp_update_comment(). 2017-07-01 13:35:38 +00:00
compat.php
cron.php Cron API: Introduce wp_unschedule_hook() to clear all events attached to a hook. 2017-06-30 00:21:49 +00:00
db.php Build/Test Tools: Remove more unnecessary test skipping when erroneous situations occur. 2017-04-23 22:11:52 +00:00
dbdelta.php Tests: Use utf8mb4 max index length when creating keys. 2017-03-27 19:33:55 +00:00
dependencies.php
file.php Build/Test Tools: Begin eliminating unnecessary randomness in tests. 2016-10-09 01:11:14 +00:00
filters.php Plugins: Add a current_priority() method to WP_Hook. 2016-12-02 07:09:33 +00:00
functions.php Build/Test Tools: Automatically skip tests in the ms-required and ms-excluded groups. 2017-05-01 20:34:10 +00:00
kses.php KSES: Support 'tag' => true as a shorthand for 'tag' => array() in wp_kses_attr(). 2017-05-11 19:22:17 +00:00
l10n.php I18N: In wp_dropdown_languages() rename the new show_site_locale_default argument to show_option_site_default. 2016-11-21 16:14:01 +00:00
link.php
locale.php I18N: Introduce a locale-switching function. 2016-10-26 15:35:58 +00:00
mail.php Mail: Set a better error code when triggering wp_mail_failed. 2016-11-02 04:26:18 +00:00
media.php Media: Move the Tests_Media::test_video_shortcode_body() method so it runs before other tests in the class that depend on it. 2017-08-04 14:05:27 +00:00
meta.php Build/Test Tools: Begin eliminating unnecessary randomness in tests. 2016-10-09 01:11:14 +00:00
multisite.php
pluggable.php
post.php Widgets: Remove the title attributes used in the Tag cloud widget. 2017-05-22 20:23:49 +00:00
query.php Built/Test Tools: Unify the way the permastructure is set when used in conjunction with re-registering the initial taxonomies. This ensure that rewrite rules for taxonomies are consistently available. 2016-09-26 17:01:48 +00:00
rest-api.php REST API: Always call rest_get_server() instead of accessing the $wp_rest_server global. 2017-08-10 01:37:30 +00:00
rewrite.php Build/Test Tools: Automatically skip tests in the ms-required and ms-excluded groups. 2017-05-01 20:34:10 +00:00
shortcode.php Shortcodes: Allow using single quotes for empty value attributes. 2017-07-11 00:53:33 +00:00
taxonomy.php General: Avoid counting uncountable values when reading theme directories, and in some unit tests. 2017-07-27 16:59:36 +00:00
template.php Posts, Post Types: Revert [40558] pending investigation. 2017-04-30 11:18:43 +00:00
term.php Unit Tests: 2016-08-27 08:35:16 +00:00
theme.php Customize: Keep alive auto-drafts created for page/post stubs when parent changeset is updated, and delete when changeset is garbage-collected. 2017-05-16 05:36:25 +00:00
upload.php Build/Test Tools: Remove ancient UT ticket handling. 2017-04-22 19:38:42 +00:00
url.php
user.php Options, Meta APIs: Update the multisite unit tests after [41254], [41164], and [41163]. 2017-08-15 09:15:53 +00:00
walker.php
widgets.php Widgets: Add nudge for registered widgets 2017-09-01 08:49:50 +00:00
wp.php