wordpress-develop/tests/phpunit/tests
Aaron Jorbin 7f544b912b REST API: Declare unfiltered_html capability in links.
Because user capabilities can be modified at runtime, the REST API needs to expose them in some evaluated but declarative manner for clients to interpret. JSON Hyper Schema targetSchema provides an appropriate paradigm for doing so.

Merges [43682] to trunk.

Props timothyblynjacobs.

Fixes #45014.


git-svn-id: https://develop.svn.wordpress.org/trunk@43974 602fd350-edb4-49c9-b593-d223f7449a82
2018-12-11 04:12:56 +00:00
..
actions Code is Poetry. 2017-11-30 23:09:33 +00:00
admin Upgrade/Install: Properly exclude the admin/includesSchema.php tests file for the WordPress.DB.PreparedSQL.NotPrepared sniff. 2018-09-14 07:54:53 +00:00
ajax Coding Standards: Upgrade WPCS to 1.0.0 2018-08-17 01:50:26 +00:00
attachment Code is Poetry. 2017-11-30 23:09:33 +00:00
bookmark Code is Poetry. 2017-11-30 23:09:33 +00:00
canonical Coding Standards: Upgrade WPCS to 1.0.0 2018-08-17 01:50:26 +00:00
category Taxonomy: Make sure wp_list_categories() correctly outputs term name of 0. 2018-09-02 22:08:05 +00:00
comment Coding Standards: Upgrade WPCS to 1.0.0 2018-08-17 01:50:26 +00:00
customize Coding Standards: Upgrade WPCS to 1.0.0 2018-08-17 01:50:26 +00:00
date Date/Time: Make sure current_time() always calculates the offset from GMT/UTC. 2018-08-30 12:12:55 +00:00
db Code is Poetry. 2017-11-30 23:09:33 +00:00
dependencies Script/Style Dependencies: Make sure that inline scripts for handles without a source are printed. 2018-08-11 17:41:29 +00:00
editor Coding Standards: Upgrade WPCS to 1.0.0 2018-08-17 01:50:26 +00:00
external-http Embeds: Remove the external oEmbed tests for YouTube. 2017-10-03 16:51:25 +00:00
feed Coding Standards: Upgrade WPCS to 1.0.0 2018-08-17 01:50:26 +00:00
filesystem Code is Poetry. 2017-11-30 23:09:33 +00:00
formatting Coding Standards: Upgrade WPCS to 1.0.0 2018-08-17 01:50:26 +00:00
functions Coding Standards: Upgrade WPCS to 1.0.0 2018-08-17 01:50:26 +00:00
general Coding Standards: Upgrade WPCS to 1.0.0 2018-08-17 01:50:26 +00:00
hooks Code is Poetry. 2017-11-30 23:09:33 +00:00
http Coding Standards: Upgrade WPCS to 1.0.0 2018-08-17 01:50:26 +00:00
image Coding Standards: Upgrade WPCS to 1.0.0 2018-08-17 01:50:26 +00:00
import Coding Standards: Upgrade WPCS to 1.0.0 2018-08-17 01:50:26 +00:00
includes Code is Poetry. 2017-11-30 23:09:33 +00:00
l10n Code is Poetry. 2017-11-30 23:09:33 +00:00
link Coding Standards: Upgrade WPCS to 1.0.0 2018-08-17 01:50:26 +00:00
load Bootstrap: Enhance core's memory limit handling. 2016-07-08 14:36:37 +00:00
media Coding Standards: Upgrade WPCS to 1.0.0 2018-08-17 01:50:26 +00:00
menu Coding Standards: Upgrade WPCS to 1.0.0 2018-08-17 01:50:26 +00:00
meta Coding Standards: Upgrade WPCS to 1.0.0 2018-08-17 01:50:26 +00:00
multisite Multisite: Fix coding standard errors after [43654]. 2018-09-24 15:22:01 +00:00
oembed Coding Standards: Upgrade WPCS to 1.0.0 2018-08-17 01:50:26 +00:00
option Coding Standards: Upgrade WPCS to 1.0.0 2018-08-17 01:50:26 +00:00
pomo Coding Standards: Upgrade WPCS to 1.0.0 2018-08-17 01:50:26 +00:00
post Coding Standards: Upgrade WPCS to 1.0.0 2018-08-17 01:50:26 +00:00
privacy Privacy: Add test for wp_privacy_export_expiration filter. 2018-09-13 17:25:31 +00:00
query Coding Standards: Upgrade WPCS to 1.0.0 2018-08-17 01:50:26 +00:00
rest-api REST API: Declare unfiltered_html capability in links. 2018-12-11 04:12:56 +00:00
rewrite Coding Standards: Upgrade WPCS to 1.0.0 2018-08-17 01:50:26 +00:00
taxonomy Coding Standards: Upgrade WPCS to 1.0.0 2018-08-17 01:50:26 +00:00
term Coding Standards: Upgrade WPCS to 1.0.0 2018-08-17 01:50:26 +00:00
theme Coding Standards: Upgrade WPCS to 1.0.0 2018-08-17 01:50:26 +00:00
url Privacy: Add template tags for building link to privacy policy page. 2018-04-25 15:54:29 +00:00
user Coding Standards: Upgrade WPCS to 1.0.0 2018-08-17 01:50:26 +00:00
widgets Coding Standards: Upgrade WPCS to 1.0.0 2018-08-17 01:50:26 +00:00
xmlrpc Coding Standards: Upgrade WPCS to 1.0.0 2018-08-17 01:50:26 +00:00
actions.php Code is Poetry. 2017-11-30 23:09:33 +00:00
adminbar.php Coding Standards: Upgrade WPCS to 1.0.0 2018-08-17 01:50:26 +00:00
auth.php Coding Standards: Upgrade WPCS to 1.0.0 2018-08-17 01:50:26 +00:00
avatar.php Code is Poetry. 2017-11-30 23:09:33 +00:00
basic.php Build/Test tools: Remove unnecessary PHP functionality tests from the test suite. 2017-12-09 23:08:24 +00:00
cache.php Code is Poetry. 2017-11-30 23:09:33 +00:00
canonical.php Code is Poetry. 2017-11-30 23:09:33 +00:00
category.php Code is Poetry. 2017-11-30 23:09:33 +00:00
comment-submission.php Coding Standards: Upgrade WPCS to 1.0.0 2018-08-17 01:50:26 +00:00
comment.php Privacy: Don't replace comment author URL and email with anything. 2018-07-17 08:59:30 +00:00
compat.php Coding Standards: Upgrade WPCS to 1.0.0 2018-08-17 01:50:26 +00:00
cron.php Coding Standards: Upgrade WPCS to 1.0.0 2018-08-17 01:50:26 +00:00
db.php Coding Standards: Upgrade WPCS to 1.0.0 2018-08-17 01:50:26 +00:00
dbdelta.php Coding Standards: Upgrade WPCS to 1.0.0 2018-08-17 01:50:26 +00:00
dependencies.php Code is Poetry. 2017-11-30 23:09:33 +00:00
file.php Code is Poetry. 2017-11-30 23:09:33 +00:00
filters.php Code is Poetry. 2017-11-30 23:09:33 +00:00
functions.php General: Introduce wp_unique_id(), a PHP implementation of Underscore's uniqueId method. 2018-09-24 20:56:30 +00:00
kses.php Formatting: Permit use of text-transform in safecss_filter_attr(). 2018-03-27 00:53:20 +00:00
l10n.php I18N: Introduce unit tests for the Japanese language in order to facilitate future improvements. 2018-06-16 12:44:46 +00:00
link.php Coding Standards: Upgrade WPCS to 1.0.0 2018-08-17 01:50:26 +00:00
locale.php Code is Poetry. 2017-11-30 23:09:33 +00:00
mail.php Code is Poetry. 2017-11-30 23:09:33 +00:00
media.php Coding Standards: Upgrade WPCS to 1.0.0 2018-08-17 01:50:26 +00:00
meta.php Coding Standards: Upgrade WPCS to 1.0.0 2018-08-17 01:50:26 +00:00
multisite.php Code is Poetry. 2017-11-30 23:09:33 +00:00
pluggable.php Coding Standards: Upgrade WPCS to 1.0.0 2018-08-17 01:50:26 +00:00
post.php Coding Standards: Upgrade WPCS to 1.0.0 2018-08-17 01:50:26 +00:00
query.php Coding Standards: Upgrade WPCS to 1.0.0 2018-08-17 01:50:26 +00:00
rest-api.php Coding Standards: Upgrade WPCS to 1.0.0 2018-08-17 01:50:26 +00:00
rewrite.php Coding Standards: Upgrade WPCS to 1.0.0 2018-08-17 01:50:26 +00:00
shortcode.php Coding Standards: Upgrade WPCS to 1.0.0 2018-08-17 01:50:26 +00:00
taxonomy.php Coding Standards: Upgrade WPCS to 1.0.0 2018-08-17 01:50:26 +00:00
template.php Coding Standards: Upgrade WPCS to 1.0.0 2018-08-17 01:50:26 +00:00
term.php Coding Standards: Upgrade WPCS to 1.0.0 2018-08-17 01:50:26 +00:00
theme.php Coding Standards: Upgrade WPCS to 1.0.0 2018-08-17 01:50:26 +00:00
upload.php Code is Poetry. 2017-11-30 23:09:33 +00:00
url.php Code is Poetry. 2017-11-30 23:09:33 +00:00
user.php Coding Standards: Upgrade WPCS to 1.0.0 2018-08-17 01:50:26 +00:00
walker.php Code is Poetry. 2017-11-30 23:09:33 +00:00
widgets.php Coding Standards: Upgrade WPCS to 1.0.0 2018-08-17 01:50:26 +00:00
wp.php Query: Add a WP::remove_query_var() helper function. 2016-01-05 20:56:10 +00:00