WordPress.org

Make WordPress Core

Changeset 12220


Ignore:
Timestamp:
11/19/09 17:37:50 (6 years ago)
Author:
ryan
Message:

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

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/wp-admin/includes/template.php

    r12162 r12220  
    31633163            echo '<th scope="row">' . $field['title'] . '</th>'; 
    31643164        echo '<td>'; 
    3165         call_user_func($field['callback']); 
     3165        call_user_func($field['callback'], $field['args']); 
    31663166        echo '</td>'; 
    31673167        echo '</tr>'; 
Note: See TracChangeset for help on using the changeset viewer.