[wp-trac] [WordPress Trac] #40969: RFE: get_template_part() to return something or warn when nothing found
WordPress Trac
noreply at wordpress.org
Mon Feb 18 12:37:36 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 has-patch 2nd-opinion | Focuses: template
-----------------------------------------+-----------------------
Changes (by tferry):
* Attachment "40969.5.diff" added.
Adds a new has_template_part() function, which determines whether a
template part file exists (updated docblock)
--
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