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:
Ryan Boren
2008-02-08 21:06:15 +00:00
parent 4c6d9571f9
commit 2c80b3fb04
4 changed files with 30 additions and 9 deletions
+4
View File
@@ -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>