[wp-trac] [WordPress Trac] #40969: RFE: get_template_part() to return something or warn when nothing found

WordPress Trac noreply at wordpress.org
Mon Jan 21 21:05:26 UTC 2019


#40969: RFE: get_template_part() to return something or warn when nothing found
-------------------------------------+-----------------------------
 Reporter:  sphakka                  |       Owner:  johnbillion
     Type:  enhancement              |      Status:  reopened
 Priority:  normal                   |   Milestone:  Future Release
Component:  Themes                   |     Version:
 Severity:  normal                   |  Resolution:
 Keywords:  has-patch needs-refresh  |     Focuses:  template
-------------------------------------+-----------------------------
Changes (by tferry):

 * Attachment "40969.3.diff" added.

 Updates multiple get_*() template part functions to return the value of
 locate_template

-- 
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