From e2736b7583d15c135206c22595feb519a69de6cd Mon Sep 17 00:00:00 2001 From: dd32 Date: Sat, 20 Mar 2010 02:39:58 +0000 Subject: [PATCH] Tabs are better than spaces. Whitespace cleanup. git-svn-id: http://svn.automattic.com/wordpress/trunk@13777 1a063a9b-81f0-0310-95a4-ce76da25c4cd --- wp-admin/includes/meta-boxes.php | 48 ++++++++++++++++---------------- 1 file changed, 24 insertions(+), 24 deletions(-) diff --git a/wp-admin/includes/meta-boxes.php b/wp-admin/includes/meta-boxes.php index f98d199dbc..f879233af8 100644 --- a/wp-admin/includes/meta-boxes.php +++ b/wp-admin/includes/meta-boxes.php @@ -13,7 +13,7 @@ function post_submit_meta_box($post) { global $action; $post_type = $post->post_type; - $post_type_object = get_post_type_object($post_type); + $post_type_object = get_post_type_object($post_type); $type_cap = $post_type_object->capability_type; $can_publish = current_user_can("publish_${type_cap}s"); ?> @@ -283,19 +283,19 @@ function post_tags_meta_box($post, $box) { */ function post_categories_meta_box( $post, $box ) { $defaults = array('taxonomy' => 'category'); - if ( !isset($box['args']) || !is_array($box['args']) ) - $args = array(); + if ( !isset($box['args']) || !is_array($box['args']) ) + $args = array(); else $args = $box['args']; - extract( wp_parse_args($args, $defaults), EXTR_SKIP ); + extract( wp_parse_args($args, $defaults), EXTR_SKIP ); $tax = get_taxonomy($taxonomy); - ?> -
- + ?> +
+ - edit_cap) ) : ?> -
-

singular_label ); ?>

-

- - $taxonomy, 'hide_empty' => 0, 'name' => 'new'.$taxonomy.'_parent', 'orderby' => 'name', 'hierarchical' => 1, 'show_option_none' => sprintf( __('— Parent %s —'), $tax->singular_label ), 'tab_index' => 3 ) ); ?> - - - -

-
- -
- edit_cap) ) : ?> +
+

singular_label ); ?>

+

+ + $taxonomy, 'hide_empty' => 0, 'name' => 'new'.$taxonomy.'_parent', 'orderby' => 'name', 'hierarchical' => 1, 'show_option_none' => sprintf( __('— Parent %s —'), $tax->singular_label ), 'tab_index' => 3 ) ); ?> + + + +

+
+ +
+