[wp-trac] [WordPress Trac] #44397: Argument type does not match: theme.php

WordPress Trac noreply at wordpress.org
Thu Sep 26 20:21:05 UTC 2019


#44397: Argument type does not match: theme.php
------------------------------+----------------------------
 Reporter:  subrataemfluence  |       Owner:  williampatton
     Type:  defect (bug)      |      Status:  closed
 Priority:  normal            |   Milestone:  5.3
Component:  Themes            |     Version:
 Severity:  normal            |  Resolution:  fixed
 Keywords:  has-patch commit  |     Focuses:  docs
------------------------------+----------------------------
Changes (by whyisjake):

 * status:  accepted => closed
 * resolution:   => fixed


Comment:

 In [changeset:"46327" 46327]:
 {{{
 #!CommitTicketReference repository="" revision="46327"
 Themes: Docblock cleanup for `get_theme_root_uri()`

 In the function docblock of `get_theme_root_uri()`, the argument types of
 `$stylesheet_or_template` and `$theme_root` do not match. Default values
 of arguments are boolean but in function doc they are stated as strings.

 Props subrataemfluence, williampatton, garrett-eclipse.
 Fixes #44397.
 }}}

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


More information about the wp-trac mailing list