Wordpress/tests/phpunit/data
John Blackbourn 2aef21a55b Themes: Improve child theme file inheritance by introducing functions for locating and fetching the URL or path to files within child and parent themes.
The most useful function this introduces is `get_theme_file_uri()`, which returns the URL to the specified file in the child theme if it exists, and falls back to the URL to the specified file in the parent theme. This allows parent themes to reference files (including enqueuing CSS and JavaScript files) that can be overridden by the child theme simply by existing.

This change also introduces `get_theme_file_path()`, which is the file path equivalent of `get_theme_file_uri()`.

Finally, `get_parent_theme_file_uri()` and `get_parent_theme_file_path()` are also introduced, which allow a theme to specifically reference a file URL or file path in the parent theme. These can be used as replacements for `get_template_directory_uri()` and `get_template_directory()` respectively, for consistency.

Props johnbillion, georgestephanis, gma992.
Fixes #18302


git-svn-id: https://develop.svn.wordpress.org/trunk@38578 602fd350-edb4-49c9-b593-d223f7449a82
2016-09-08 22:53:57 +00:00
..
export Add wordpress-importer tests demonstrating slashed data behavior. 2016-08-19 13:26:04 +00:00
formatting
images
languages I18N: Remove the requirement to call `load_plugin_textdomain()` / `load_theme_textdomain()`. 2016-05-10 20:04:52 +00:00
plugins I18N: Remove the requirement to call `load_plugin_textdomain()` / `load_theme_textdomain()`. 2016-05-10 20:04:52 +00:00
pomo
theme-file-child Themes: Improve child theme file inheritance by introducing functions for locating and fetching the URL or path to files within child and parent themes. 2016-09-08 22:53:57 +00:00
theme-file-parent Themes: Improve child theme file inheritance by introducing functions for locating and fetching the URL or path to files within child and parent themes. 2016-09-08 22:53:57 +00:00
themedir1 I18N: Remove the requirement to call `load_plugin_textdomain()` / `load_theme_textdomain()`. 2016-05-10 20:04:52 +00:00
WPHTTP-testcase-redirection-script.php