WordPress.org

Make WordPress Core

Changeset 7514


Ignore:
Timestamp:
03/26/2008 03:31:27 AM (12 years ago)
Author:
ryan
Message:

Pass box to add_meta_box() callback. Props henrikmelin. fixes #6316

File:
1 edited

Legend:

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

    r7506 r7514  
    10681068        echo "<h3>{$box['title']}</h3>\n";
    10691069        echo '<div class="inside">' . "\n";
    1070         call_user_func($box['callback'], $object);
     1070        call_user_func($box['callback'], $object, $box);
    10711071        echo "</div>\n";
    10721072        echo "</div>\n";
Note: See TracChangeset for help on using the changeset viewer.