Wordpress/tests/phpunit/tests
Pascal Birchler 931440e375 Embeds: Enforce a valid post ID when embedding a post from the current site.
Otherwise `wp_filter_pre_oembed_result()` could erroneously return the HTML of the current post instead of the intended result.

Props kraftbj.
See #36767.

git-svn-id: https://develop.svn.wordpress.org/trunk@37729 602fd350-edb4-49c9-b593-d223f7449a82
2016-06-16 17:17:32 +00:00
..
actions
admin
ajax Tests: Don't create unused users in `Tests_Ajax_DeleteComment`. 2016-05-09 19:16:35 +00:00
attachment
bookmark In `get_bookmarks()`, don't cache if 'orderby=rand'. 2016-05-25 18:29:01 +00:00
canonical
category Introduce `required` argument for `wp_dropdown_categories()`. 2016-05-19 02:38:33 +00:00
comment Comments: Do not flag a comment as a duplicate if the `comment_author_email` is provided but not a match. 2016-06-15 14:50:38 +00:00
customize Customize: Update server-sent setting validation notifications as changes are entered. 2016-06-14 19:16:54 +00:00
date
db
dependencies External Libraries: Update Backbone to version 1.3.3. 2016-06-16 09:26:06 +00:00
external-http
feed
filesystem
formatting Emoji: Use SVG in supported browsers 2016-05-20 06:02:55 +00:00
functions Plugins: Normalize `WP_PLUGIN_DIR` in the test added in [37332], otherwise it fails on Windows. 2016-06-15 18:30:32 +00:00
general
http HTTP API: Replace internals with Requests library. 2016-05-13 04:41:45 +00:00
image
import
includes
l10n I18N: In `get_translations_for_domain()` check if the global `$l10n` was set by `_load_textdomain_just_in_time()` before accessing it. 2016-05-16 15:09:33 +00:00
link Canonical: Introduce `wp_get_canonical_url()`. 2016-06-11 13:30:23 +00:00
meta Tests: Change some 'group' annotations to 'ticket'. 2016-05-30 04:37:57 +00:00
multisite Multisite: Use `to_array()` method on `WP_Site` objects in `wp_get_sites()` 2016-06-09 18:09:25 +00:00
oembed Embeds: Enforce a valid post ID when embedding a post from the current site. 2016-06-16 17:17:32 +00:00
option Tests: Fix an incorrect `@ticket` header included in [37469]. 2016-05-20 05:29:50 +00:00
pomo
post Query: `set_found_posts()` must run immediately after main query. 2016-06-16 02:00:02 +00:00
query Add tests for `no_found_rows` behavior of `WP_Query`. 2016-05-31 19:28:46 +00:00
rest-api REST API: Include X-Robots-Tag: noindex header in REST API responses to prevent endpoints from being indexed by search engines. 2016-06-16 14:58:28 +00:00
rewrite
term Introduce `term_taxonomy_id` parameter for `WP_Term_Query`. 2016-06-11 03:48:03 +00:00
theme I18N: Remove the requirement to call `load_plugin_textdomain()` / `load_theme_textdomain()`. 2016-05-10 20:04:52 +00:00
user Users: The 'who' parameter should not interfere with 'meta_key' + 'meta_value' in `WP_User_Query`. 2016-05-04 18:56:58 +00:00
xmlrpc
actions.php Bootstrap/Load: Load plugin.php earlier in wp-settings.php 2016-05-27 19:19:12 +00:00
adminbar.php
auth.php
avatar.php
basic.php
cache.php
canonical.php
category.php Move `wp_dropdown_categories()` tests into their own file. 2016-05-19 02:22:59 +00:00
comment-submission.php
comment.php Add tests demonstrating individual comment cache invalidation. 2016-06-01 17:15:27 +00:00
compat.php
cron.php
db.php Tests: Fix an incorrect `@ticket` header introduced in [37601]. 2016-06-01 02:40:19 +00:00
dbdelta.php Database: Normalize index definitions in `dbDelta()`. 2016-05-27 11:56:20 +00:00
dependencies.php
file.php
filters.php
functions.php I18N: Revert the test added in [37716], as it causes errors when running the full suite. 2016-06-15 18:04:31 +00:00
kses.php
l10n.php
link.php
locale.php
mail.php Tests: Introduce `reset_phpmailer_instance()` function. 2016-05-04 03:48:46 +00:00
media.php In `size_format()` and `wp_convert_bytes_to_hr()`, replace `kB` with `KB` for consistency with other units. 2016-06-14 21:40:02 +00:00
meta.php
multisite.php
pluggable.php
post.php
query.php
rest-api.php REST API: Create the general `wp_check_jsonp_callback()` function for validating JSONP callback functions. 2016-06-06 21:33:30 +00:00
rewrite.php
shortcode.php
taxonomy.php
term.php Tests: Move `wp_set_object_terms()` tests to their own file. 2016-06-06 21:22:43 +00:00
theme.php
upload.php
url.php
user.php Tests: Introduce `reset_phpmailer_instance()` function. 2016-05-04 03:48:46 +00:00
walker.php
widgets.php Widgets: Revert [37425] and [37427]. 2016-06-06 21:50:29 +00:00
wp.php