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

WordPress Trac noreply at wordpress.org
Sun Aug 19 11:51:16 UTC 2018


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

 * status:  reviewing => closed
 * resolution:   => invalid


Comment:

 Thanks for the spot @johnbillion, docs are super important. Updated with
 the `@return` value added to the docblock.

-- 
Ticket URL: <https://core.trac.wordpress.org/ticket/40969#comment:7>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list