From d2d46bf3172b7f94e576c8e42b7613a7a2685332 Mon Sep 17 00:00:00 2001 From: Ryan Boren Date: Wed, 12 Nov 2008 20:20:21 +0000 Subject: [PATCH] Merge page parent, order and template boxes into one box git-svn-id: https://develop.svn.wordpress.org/trunk@9643 602fd350-edb4-49c9-b593-d223f7449a82 --- wp-admin/edit-page-form.php | 35 ++++++++--------------------------- 1 file changed, 8 insertions(+), 27 deletions(-) diff --git a/wp-admin/edit-page-form.php b/wp-admin/edit-page-form.php index b48d446bdb..81145f5f32 100644 --- a/wp-admin/edit-page-form.php +++ b/wp-admin/edit-page-form.php @@ -270,31 +270,22 @@ function page_password_meta_box($post){ // add_meta_box('pagepassworddiv', __('Privacy Options'), 'page_password_meta_box', 'page', 'side', 'core'); /** - * Display page parent form fields. + * Display page attributes form fields. * - * @since 2.6.0 + * @since 2.7.0 * * @param object $post */ -function page_parent_meta_box($post){ +function page_attributes_meta_box($post){ ?> +
$post->post_parent, 'name' => 'parent_id', 'show_option_none' => __('Main Page (no parent)'))); ?>

+