[wp-trac] [WordPress Trac] #19809: can't pass an array(class, method) as a callback in add_settings_field()
WordPress Trac
wp-trac at lists.automattic.com
Wed Jan 11 18:28:02 UTC 2012
#19809: can't pass an array(class, method) as a callback in add_settings_field()
--------------------------+------------------------------
Reporter: mati1000 | Owner:
Type: defect (bug) | Status: new
Priority: normal | Milestone: Awaiting Review
Component: General | Version: 3.3.1
Severity: normal | Resolution:
Keywords: |
--------------------------+------------------------------
Comment (by mati1000):
The PHP error is:
Warning: call_user_func() [function.call-user-func]: First argument is
expected to be a valid callback in /wp-admin/includes/template.php on line
1102
--
Ticket URL: <http://core.trac.wordpress.org/ticket/19809#comment:1>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software
More information about the wp-trac
mailing list