Make WordPress Core


Ignore:
Timestamp:
10/19/2011 09:43:02 PM (14 years ago)
Author:
ryan
Message:

Update meta box functions to handle WP_Screen objects and pass objects instead of IDs to them in core files. Allow passing emptiness to get the current screen. see #18958

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/wp-admin/edit-form-comment.php

    r18632 r19013  
    131131do_action('add_meta_boxes_comment', $comment);
    132132
    133 do_meta_boxes('comment', 'normal', $comment);
     133do_meta_boxes(null, 'normal', $comment);
    134134?>
    135135<input type="hidden" name="c" value="<?php echo esc_attr($comment->comment_ID) ?>" />
Note: See TracChangeset for help on using the changeset viewer.