[wp-trac] [WordPress Trac] #40969: RFE: get_template_part() to return something or warn when nothing found
WordPress Trac
noreply at wordpress.org
Tue Aug 27 10:22:47 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.3
Component: Themes | Version:
Severity: normal | Resolution:
Keywords: has-patch 2nd-opinion dev-feedback | Focuses: template
------------------------------------------------+-----------------------
Comment (by williampatton):
[attachment:"40969.6.diff"] looks good to me. I'm with @birgire that some
of those are edge-casey enough that we do not need any additional early
bail in this function to account for them.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/40969#comment:31>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list