[wp-trac] [WordPress Trac] #21630: Calling add_settings_section() without callback function throws notices
WordPress Trac
wp-trac at lists.automattic.com
Sun Aug 19 14:38:09 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 | Keywords: has-patch
-----------------------------+-----------------------------
Calling add_settings_section() without a callback function should be
possible, since a lot of settings section don't need *anything* special
between the <h3> tags and the input settings.
This patch aloows people to call without providing a custom function for
that purpose.
Changind do_settings_section().
--
Ticket URL: <http://core.trac.wordpress.org/ticket/21630>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software
More information about the wp-trac
mailing list