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

WordPress Trac noreply at wordpress.org
Fri Oct 4 23:17:32 UTC 2019


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

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


Comment:

 Given that these parameters are still documented as strings in
 `get_theme_root()`, `get_raw_theme_root()` and the `theme_root_uri`
 filter, and are not explicitly checked for `false`, I think a more
 consistent fix would be to actually bring the default values in line with
 the documentation.

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


More information about the wp-trac mailing list