X-Git-Url: https://scripts.mit.edu/gitweb/autoinstalls/wordpress.git/blobdiff_plain/41497a896330304904ef6d5783c724ea713739f6..6c8f14c09105d0afa4c1574215c59b5021040e76:/wp-admin/includes/meta-boxes.php diff --git a/wp-admin/includes/meta-boxes.php b/wp-admin/includes/meta-boxes.php index 18dc7c2a..2b0b2864 100644 --- a/wp-admin/includes/meta-boxes.php +++ b/wp-admin/includes/meta-boxes.php @@ -28,11 +28,11 @@ function post_submit_meta_box($post) {
-
+labels->separate_items_with_commas ); ?>
@@ -320,8 +384,8 @@ function post_categories_meta_box( $post, $box ) { ?>- + - $taxonomy, 'hide_empty' => 0, 'name' => 'new'.$taxonomy.'_parent', 'orderby' => 'name', 'hierarchical' => 1, 'show_option_none' => '— ' . $tax->labels->parent_item . ' —', 'tab_index' => 3 ) ); ?> - + $taxonomy, 'hide_empty' => 0, 'name' => 'new'.$taxonomy.'_parent', 'orderby' => 'name', 'hierarchical' => 1, 'show_option_none' => '— ' . $tax->labels->parent_item . ' —' ) ); ?> +
@@ -375,7 +439,7 @@ function post_categories_meta_box( $post, $box ) { */ function post_excerpt_meta_box($post) { ?> - +Learn more about manual excerpts.'); ?>
to_ping) ) .'" />'; + $form_trackback = 'to_ping) ) .'" />'; if ('' != $post->pinged) { $pings = ''. __('Already pinged:') . '
- +
@@ -912,8 +976,7 @@ function link_advanced_meta_box($link) { * * @since 2.9.0 */ -function post_thumbnail_meta_box() { - global $post; +function post_thumbnail_meta_box( $post ) { $thumbnail_id = get_post_meta( $post->ID, '_thumbnail_id', true ); - echo _wp_post_thumbnail_html( $thumbnail_id ); -} + echo _wp_post_thumbnail_html( $thumbnail_id, $post->ID ); +} \ No newline at end of file