mirror of
https://github.com/gosticks/wordpress-develop.git
synced 2026-07-01 15:50:09 +00:00
Separate meta box context into page and context to accommodate postbox API changes. see #5798
git-svn-id: https://develop.svn.wordpress.org/trunk@6762 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
@@ -99,6 +99,8 @@ function xfn_check($class, $value = '', $deprecated = '') {
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<?php do_meta_boxes('link', 'normal', $link); ?>
|
||||
|
||||
<h2><?php _e('Advanced Options'); ?></h2>
|
||||
|
||||
<div id="linktargetdiv" class="postbox <?php echo postbox_classes('linktargetdiv', 'link'); ?>">
|
||||
@@ -274,6 +276,8 @@ function xfn_check($class, $value = '', $deprecated = '') {
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<?php do_meta_boxes('link', 'advanced', $link); ?>
|
||||
|
||||
<?php if ( $link_id ) : ?>
|
||||
<input type="hidden" name="action" value="save" />
|
||||
<input type="hidden" name="link_id" value="<?php echo (int) $link_id; ?>" />
|
||||
|
||||
Reference in New Issue
Block a user