[wp-trac] [WordPress Trac] #21630: Calling add_settings_section() without callback function throws notices

WordPress Trac wp-trac at lists.automattic.com
Mon Aug 20 09:03:30 UTC 2012


#21630: Calling add_settings_section() without callback function throws notices
-----------------------------+------------------------------
 Reporter:  lightningspirit  |       Owner:
     Type:  defect (bug)     |      Status:  new
 Priority:  normal           |   Milestone:  Awaiting Review
Component:  Administration   |     Version:  3.4.1
 Severity:  normal           |  Resolution:
 Keywords:  has-patch        |
-----------------------------+------------------------------

Comment (by obenland):

 One might as well just pass `'__return_false'`.

-- 
Ticket URL: <http://core.trac.wordpress.org/ticket/21630#comment:1>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software


More information about the wp-trac mailing list