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

WordPress Trac noreply at wordpress.org
Fri Jun 22 10:38:21 UTC 2018


#40969: RFE: get_template_part() to return something or warn when nothing found
-------------------------+------------------------------
 Reporter:  sphakka      |       Owner:  (none)
     Type:  enhancement  |      Status:  new
 Priority:  normal       |   Milestone:  Awaiting Review
Component:  Themes       |     Version:
 Severity:  normal       |  Resolution:
 Keywords:  2nd-opinion  |     Focuses:  template
-------------------------+------------------------------
Changes (by tferry):

 * Attachment "40969.diff" added.

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