wordpress-develop/tests/phpunit/tests/general
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
..
archives.php Coding Standards: Fix the Squiz.PHP.DisallowMultipleAssignments violations in tests. 2019-07-02 04:43:01 +00:00
document-title.php Coding Standards: Upgrade WPCS to 1.0.0 2018-08-17 01:50:26 +00:00
paginateLinks.php Docs: Improve inline comments per the documentation standards. 2020-01-29 00:43:23 +00:00
resourceHints.php Code is Poetry. 2017-11-30 23:09:33 +00:00
template.php Themes: Add a return value to theme functions calling locate_template(): 2020-06-28 23:08:57 +00:00
wpError.php Coding Standards: Fix and whitelist variable names. 2019-01-12 06:05:55 +00:00