Wordpress/tests/phpunit/data/themedir1/default
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
..
comments.php Docs: Improve inline comments per the documentation standards. 2020-01-29 00:43:23 +00:00
footer.php Themes: Add a return value to theme functions calling locate_template(): 2020-06-28 23:08:57 +00:00
functions.php Docs: Improve inline comments per the documentation standards. 2020-01-29 00:43:23 +00:00
header.php Themes: Add a return value to theme functions calling locate_template(): 2020-06-28 23:08:57 +00:00
index.php Build/Test Tools: Call wp_head() and wp_footer() in the theme used during tests. 2017-03-07 01:33:04 +00:00
sidebar.php Themes: Add a return value to theme functions calling locate_template(): 2020-06-28 23:08:57 +00:00
style.css Move PHPUnit tests into a tests/phpunit directory. 2013-08-29 18:39:34 +00:00
template-part.php Themes: Add a test to ensure get_template_part() does not return a value. 2019-09-26 20:25:59 +00:00