[wp-trac] [WordPress Trac] #35772: add_settings_section and add_settings_field callback param should be of 'callable' type

WordPress Trac noreply at wordpress.org
Tue Feb 23 18:04:24 UTC 2016


#35772: add_settings_section and add_settings_field callback param should be of
'callable' type
----------------------------+---------------------------
 Reporter:  aidanlane       |       Owner:  DrewAPicture
     Type:  defect (bug)    |      Status:  closed
 Priority:  normal          |   Milestone:  4.5
Component:  Administration  |     Version:  trunk
 Severity:  normal          |  Resolution:  fixed
 Keywords:  has-patch       |     Focuses:  docs
----------------------------+---------------------------
Changes (by DrewAPicture):

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


Comment:

 In [changeset:"36642"]:
 {{{
 #!CommitTicketReference repository="" revision="36642"
 Docs: Update the type for `$callback` parameters to `callable` in
 DocBlocks for `add_settings_section()` and `add_settings_field()`.

 Props aidanlane.
 Fixes #35772.
 }}}

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


More information about the wp-trac mailing list