Make WordPress Core

Changeset 14044


Ignore:
Timestamp:
04/09/2010 03:17:57 PM (15 years ago)
Author:
ryan
Message:

add_meta_boxes actions for comment and link forms.

Location:
trunk/wp-admin
Files:
2 edited

Legend:

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

    r12162 r14044  
    125125</div>
    126126
    127 <?php do_meta_boxes('comment', 'normal', $comment); ?>
     127<?php
     128do_action('add_meta_boxes', 'comment', $comment);
     129do_action('add_meta_boxes_comment', $comment);
    128130
     131do_meta_boxes('comment', 'normal', $comment);
     132?>
    129133<input type="hidden" name="c" value="<?php echo esc_attr($comment->comment_ID) ?>" />
    130134<input type="hidden" name="p" value="<?php echo esc_attr($comment->comment_post_ID) ?>" />
  • trunk/wp-admin/edit-link-form.php

    r12728 r14044  
    3030add_meta_box('linkxfndiv', __('Link Relationship (XFN)'), 'link_xfn_meta_box', 'link', 'normal', 'core');
    3131add_meta_box('linkadvanceddiv', __('Advanced'), 'link_advanced_meta_box', 'link', 'normal', 'core');
     32
     33do_action('add_meta_boxes', 'link', $link);
     34do_action('add_meta_boxes_link', $link);
    3235
    3336do_action('do_meta_boxes', 'link', 'normal', $link);
Note: See TracChangeset for help on using the changeset viewer.