Wordpress/tests/phpunit/tests
Jonathan Desrosiers 0f349bd621 I18N: Fix JavaScript translations for subdirectory installations.
Fixes the `load_script_textdomain` function not resolving the md5 hash based on the relative path for WordPress installations in a subdirectory. Also adds a filter to allow sites using CDNs or other alternative asset locations to filter the relative path resolution.

Props akirk, fierevere, swissspidy, mypacecreator, babaevan, tmatsuur, ocean90, herregroen.

Merges [44209] to trunk.

Fixes #45528.

git-svn-id: https://develop.svn.wordpress.org/trunk@44310 602fd350-edb4-49c9-b593-d223f7449a82
2018-12-18 23:09:51 +00:00
..
actions Code is Poetry. 2017-11-30 23:09:33 +00:00
admin Meta: Allow empty strings to be set by Custom Fields meta box. 2018-12-14 03:16:56 +00:00
ajax Tests: Update a test that relied on the Hello Dolly plugin version. 2018-12-16 04:54:40 +00:00
attachment Code is Poetry. 2017-11-30 23:09:33 +00:00
blocks REST API: Preserve unknown, respect null in server-side block rendering. 2018-12-17 17:59:44 +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 REST API: Move object type-specific metadata integrations from the wrapper functions to the low-level Meta API functions. 2018-12-12 03:02:00 +00:00
customize Bundled Themes: Make twentynineteen the default theme. 2018-12-14 02:48:14 +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 I18N: Set translations for all WordPress packages scripts. 2018-12-16 22:23:34 +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 I18N: Fix JavaScript translations for subdirectory installations. 2018-12-18 23:09:51 +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 Nav Menus: Fix a PHP 7.3 error when switching themes. 2018-12-14 05:15:54 +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 General: Fix some code formatting issues. 2018-12-14 03:24:35 +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 REST API: Move object type-specific metadata integrations from the wrapper functions to the low-level Meta API functions. 2018-12-12 03:02:00 +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: Preserve unknown, respect null in server-side block rendering. 2018-12-17 17:59:44 +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 REST API: Move object type-specific metadata integrations from the wrapper functions to the low-level Meta API functions. 2018-12-12 03:02:00 +00:00
theme Themes: Introduce responsive embeds support. 2018-12-14 01:49:46 +00:00
url Privacy: Add template tags for building link to privacy policy page. 2018-04-25 15:54:29 +00:00
user Blocks: Add the reusable block post type, wp_block. 2018-12-14 02:14:13 +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 WPDB: Check that $wpdb->last_result is countable before counting with it. 2018-12-17 18:38:13 +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 Media: Improve verification of MIME file types. 2018-12-18 16:34:17 +00:00
kses.php KSES: Allow the download attribute on <a> tags. 2018-12-14 03:27:55 +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 Block Editor: Preload wp/v2/media with OPTIONS for caps check. 2018-12-14 06:01:24 +00:00
rewrite.php Coding Standards: Upgrade WPCS to 1.0.0 2018-08-17 01:50:26 +00:00
shortcode.php KSES: Allow url() to be used in inline CSS. 2018-12-14 01:40:50 +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 Bundled Themes: Make twentynineteen the default theme. 2018-12-14 02:48:14 +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