[wp-trac] [WordPress Trac] #45319: get_theme_mod() declaration of return type

WordPress Trac noreply at wordpress.org
Wed Jan 16 05:31:34 UTC 2019


#45319: get_theme_mod() declaration of return type
--------------------------+---------------------
 Reporter:  mensmaximus   |       Owner:  pento
     Type:  defect (bug)  |      Status:  closed
 Priority:  normal        |   Milestone:  5.1
Component:  Themes        |     Version:  4.9.8
 Severity:  normal        |  Resolution:  fixed
 Keywords:  has-patch     |     Focuses:  docs
--------------------------+---------------------
Changes (by pento):

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


Comment:

 In [changeset:"44613" 44613]:
 {{{
 #!CommitTicketReference repository="" revision="44613"
 Docs: Correct the `@return` type of `get_theme_mod()`.

 This now matches the type of the `$value` parameter of `set_theme_mod()`.

 Props mensmaximus.
 Fixes #45319.
 }}}

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


More information about the wp-trac mailing list