Wordpress/tests/phpunit/data/themedir1
Sergey Biryukov 9f053c58fe Themes: Add a return value to theme functions calling locate_template():
* `get_header()`
* `get_footer()`
* `get_sidebar()`
* `get_template_part()`

These functions now return false if the template file could not be found, to allow for easier debugging.

Props tferry, sphakka, johnbillion, pento, davidbinda, desrosj, birgire, garrett-eclipse, williampatton, davidbaumwald, SergeyBiryukov.
Fixes #40969.

git-svn-id: https://develop.svn.wordpress.org/trunk@48209 602fd350-edb4-49c9-b593-d223f7449a82
2020-06-28 23:08:57 +00:00
..
broken-theme
camelCase Code Modernization: Replace dirname( __FILE__ ) calls with __DIR__ magic constant. 2020-02-06 06:31:22 +00:00
child-parent-itself Themes: Report theme as broken that sets itself as its parent. 2017-09-26 08:53:20 +00:00
default Themes: Add a return value to theme functions calling locate_template(): 2020-06-28 23:08:57 +00:00
internationalized-theme I18N: Remove the requirement to call load_plugin_textdomain() / load_theme_textdomain(). 2016-05-10 20:04:52 +00:00
page-templates Docs: Improve inline comments per the documentation standards. 2020-01-29 00:43:23 +00:00
page-templates-child Themes: Add files missed in [41975]. 2017-10-23 20:22:44 +00:00
rest-api REST API: Add additional fields to the themes controller. 2020-06-07 06:44:08 +00:00
sandbox Code Modernization: Replace dirname( __FILE__ ) calls with __DIR__ magic constant. 2020-02-06 06:31:22 +00:00
stylesheetonly
subdir
theme1 Code Modernization: Replace dirname( __FILE__ ) calls with __DIR__ magic constant. 2020-02-06 06:31:22 +00:00
theme1-dupe Code Modernization: Replace dirname( __FILE__ ) calls with __DIR__ magic constant. 2020-02-06 06:31:22 +00:00