Pass args to settings field callback. Props hanilovesme, scribu. fixes #11143

git-svn-id: http://svn.automattic.com/wordpress/trunk@12220 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
ryan 2009-11-19 17:37:50 +00:00
parent bfd2b650ee
commit 06bab5e3ff
1 changed files with 1 additions and 1 deletions

View File

@ -3162,7 +3162,7 @@ function do_settings_fields($page, $section) {
else
echo '<th scope="row">' . $field['title'] . '</th>';
echo '<td>';
call_user_func($field['callback']);
call_user_func($field['callback'], $field['args']);
echo '</td>';
echo '</tr>';
}