From e18c1eeb3a9d43e12408c343049498a34fb3c0a7 Mon Sep 17 00:00:00 2001 From: ryan Date: Fri, 9 Apr 2010 15:17:57 +0000 Subject: [PATCH] add_meta_boxes actions for comment and link forms. git-svn-id: http://svn.automattic.com/wordpress/trunk@14044 1a063a9b-81f0-0310-95a4-ce76da25c4cd --- wp-admin/edit-form-comment.php | 6 +++++- wp-admin/edit-link-form.php | 3 +++ 2 files changed, 8 insertions(+), 1 deletion(-) diff --git a/wp-admin/edit-form-comment.php b/wp-admin/edit-form-comment.php index 552d3c740f..d701ac2ad2 100644 --- a/wp-admin/edit-form-comment.php +++ b/wp-admin/edit-form-comment.php @@ -124,8 +124,12 @@ $date = date_i18n( $datef, strtotime( $comment->comment_date ) ); - + diff --git a/wp-admin/edit-link-form.php b/wp-admin/edit-link-form.php index 60296b8747..1fbec58d0c 100644 --- a/wp-admin/edit-link-form.php +++ b/wp-admin/edit-link-form.php @@ -30,6 +30,9 @@ add_meta_box('linktargetdiv', __('Target'), 'link_target_meta_box', 'link', 'nor add_meta_box('linkxfndiv', __('Link Relationship (XFN)'), 'link_xfn_meta_box', 'link', 'normal', 'core'); add_meta_box('linkadvanceddiv', __('Advanced'), 'link_advanced_meta_box', 'link', 'normal', 'core'); +do_action('add_meta_boxes', 'link', $link); +do_action('add_meta_boxes_link', $link); + do_action('do_meta_boxes', 'link', 'normal', $link); do_action('do_meta_boxes', 'link', 'advanced', $link); do_action('do_meta_boxes', 'link', 'side', $link);