WordPress.org

Make WordPress Core

Ticket #11143: do_settings_fields.diff

File do_settings_fields.diff, 449 bytes (added by scribu, 4 years ago)
  • wp-admin/includes/template.php

     
    31623162                else 
    31633163                        echo '<th scope="row">' . $field['title'] . '</th>'; 
    31643164                echo '<td>'; 
    3165                 call_user_func($field['callback']); 
     3165                call_user_func_array($field['callback'], $field['args']); 
    31663166                echo '</td>'; 
    31673167                echo '</tr>'; 
    31683168        }