[wp-trac] [WordPress Trac] #40969: RFE: get_template_part() to return something or warn when nothing found
WordPress Trac
noreply at wordpress.org
Sat Feb 16 21:27:16 UTC 2019
#40969: RFE: get_template_part() to return something or warn when nothing found
-------------------------+-----------------------
Reporter: sphakka | Owner: pento
Type: enhancement | Status: reopened
Priority: normal | Milestone: 5.2
Component: Themes | Version:
Severity: normal | Resolution:
Keywords: close | Focuses: template
-------------------------+-----------------------
Changes (by tferry):
* Attachment "40969.4.diff" added.
Adds a new `has_template_part()` function, which determines whether a
template part file exists
--
Ticket URL: <https://core.trac.wordpress.org/ticket/40969>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list