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

git-svn-id: https://develop.svn.wordpress.org/trunk@12220 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
Ryan Boren 2009-11-19 17:37:50 +00:00
parent 168aecd7c1
commit 26193065a4
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>';
}