[wp-trac] [WordPress Trac] #50020: WP_Theme get_post_templates incorrect @return docblock line?

WordPress Trac noreply at wordpress.org
Mon Apr 27 22:05:24 UTC 2020


#50020: WP_Theme get_post_templates incorrect @return docblock line?
----------------------------------------+---------------------
 Reporter:  salvatore.formisano         |       Owner:  (none)
     Type:  defect (bug)                |      Status:  new
 Priority:  normal                      |   Milestone:  5.5
Component:  Themes                      |     Version:
 Severity:  trivial                     |  Resolution:
 Keywords:  needs-patch good-first-bug  |     Focuses:  docs
----------------------------------------+---------------------
Changes (by SergeyBiryukov):

 * keywords:   => needs-patch good-first-bug
 * milestone:  Awaiting Review => 5.5


Comment:

 Hi there, welcome to WordPress Trac! Thanks for the report.

 Good catch, this appears to be a typo in [46661], which intended to switch
 the `array` to a more specific `string[]`, but accidentally used `string`
 instead.

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


More information about the wp-trac mailing list