diff --git a/wp-admin/edit-form-advanced.php b/wp-admin/edit-form-advanced.php index 9ac28066e..1df023de7 100644 --- a/wp-admin/edit-form-advanced.php +++ b/wp-admin/edit-form-advanced.php @@ -55,6 +55,14 @@ if ( 0 == $post_ID ) { } // All meta boxes should be defined and added before the first do_meta_boxes() call (or potentially during the do_meta_boxes action). + +/** + * Display post submit form fields. + * + * @since 2.7.0 + * + * @param object $post + */ function post_submit_meta_box($post) { global $action; @@ -186,6 +194,13 @@ if ( !in_array( $post->post_status, array('publish', 'future') ) || 0 == $post-> } add_meta_box('submitdiv', __('Publish'), 'post_submit_meta_box', 'post', 'side', 'core'); +/** + * Display post tags form fields. + * + * @since 2.6.0 + * + * @param object $post + */ function post_tags_meta_box($post) { ?>

@@ -195,6 +210,14 @@ function post_tags_meta_box($post) { } add_meta_box('tagsdiv', __('Tags'), 'post_tags_meta_box', 'post', 'side', 'core'); +/** + * Display add post media and current post media form fields and images. + * + * @todo Complete. + * @since 2.7.0 + * + * @param object $post + */ function post_media_meta_box($post) { echo "

This feature isn't fully functional in this prototype.

"; @@ -231,6 +254,13 @@ function post_media_meta_box($post) { } add_meta_box( 'mediadiv', __('Media' ), 'post_media_meta_box', 'post', 'side', 'core' ); +/** + * Display post categories form fields. + * + * @since 2.6.0 + * + * @param object $post + */ function post_categories_meta_box($post) { ?>