mirror of
https://github.com/gosticks/wordpress-develop.git
synced 2026-08-11 12:20:22 +00:00
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
This commit is contained in:
@@ -0,0 +1 @@
|
||||
Header
|
||||
Reference in New Issue
Block a user