diff --git a/wp-admin/includes/meta-boxes.php b/wp-admin/includes/meta-boxes.php new file mode 100644 index 0000000000..1470f62f37 --- /dev/null +++ b/wp-admin/includes/meta-boxes.php @@ -0,0 +1,805 @@ +post_type; + $can_publish = current_user_can("publish_${post_type}s"); +?> +
+ + 0, 'name' => 'newcat_parent', 'orderby' => 'name', 'hierarchical' => 1, 'show_option_none' => __('Parent category'), 'tab_index' => 3 ) ); ?> + + +
+Learn more about manual excerpts.'); ?>
+to_ping) ) .'" />'; + if ('' != $post->pinged) { + $pings = ''. __('Already pinged:') . '
()
pingbacks, no other action necessary.'); ?>
+ +use in your theme.'); ?>
+ + + +get_var($wpdb->prepare("SELECT count(1) FROM $wpdb->comments WHERE comment_post_ID = '%d' AND ( comment_approved = '0' OR comment_approved = '1')", $post_ID)); + + if ( 1 > $total ) { + echo '' . __('No comments yet.') . '
'; + return; + } + + wp_nonce_field( 'get-comments', 'add_comment_nonce', false ); +?> + + + + + + + +id, true, $post->post_type ); // TODO: ROLE SYSTEM + if ( $post->post_author && !in_array($post->post_author, $authors) ) + $authors[] = $post->post_author; +?> + $authors, 'name' => 'post_author_override', 'selected' => empty($post->ID) ? $user_ID : $post->post_author) ); ?> + + + + $post->ID, 'selected' => $post->post_parent, 'name' => 'parent_id', 'show_option_none' => __('Main Page (no parent)'), 'sort_column'=> 'menu_order, post_title')); ?> + + + + + + + + + + ++ | + | ||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
+
|
+
XFN.'); ?>
+ ++ | + |
---|---|
+ | + |
+ | + |
+ | + | +