mirror of
https://github.com/gosticks/wordpress-develop.git
synced 2026-12-06 20:58:55 +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:
@@ -133,6 +133,8 @@ if ( ('edit' == $action) && current_user_can('delete_page', $post_ID) )
|
||||
|
||||
</p>
|
||||
|
||||
<?php do_meta_boxes('post', 'normal', $post); ?>
|
||||
|
||||
<?php do_action('edit_page_form'); ?>
|
||||
|
||||
<h2><?php _e('Advanced Options'); ?></h2>
|
||||
@@ -224,6 +226,8 @@ if ( $authors && count( $authors ) > 1 ) :
|
||||
</div>
|
||||
<?php endif; ?>
|
||||
|
||||
<?php do_meta_boxes('page', 'advanced', $post); ?>
|
||||
|
||||
</div>
|
||||
|
||||
</div>
|
||||
|
||||
Reference in New Issue
Block a user