diff --git a/wp-admin/edit-form-advanced.php b/wp-admin/edit-form-advanced.php index d273f5c1ca..3224845a51 100644 --- a/wp-admin/edit-form-advanced.php +++ b/wp-admin/edit-form-advanced.php @@ -210,50 +210,6 @@ 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.
"; - - if ( empty( $post->ID ) ) - return; - - $atts = get_children( array( - 'post_parent' => $post->ID, - 'post_type' => 'attachment' - ) ); - - if ( !$atts ) { - _e( 'No media.' ); - return; - } - - foreach ( $atts as $att ) { - if ( $thumb = wp_get_attachment_image( $att->ID, array(60, 45), true ) ) { -?> - post_title)); ?>"> - - - -$att->post_title"; - - echo "Remove | "; - echo "Edit"; - - echo "