<?php

/*
Plugin Name: 11862 Example Plugin
Plugin URI: https://core.trac.wordpress.org/ticket/11862
Description: This plugin shows the use of the_editor() more than once on the post editor.
Author: Chris Jean
Version: 1.0.0
Author URI: http://gaarai.com/
*/


// the_editor($content, $id = 'content', $prev_id = 'title', $media_buttons = true, $tab_index = 2)

function add_another_editor_meta_box( $post_type ) {
	add_meta_box( 'another_editor', 'Another Editor', 'render_another_editor', $post_type, 'normal', 'high' );
}

function render_another_editor() {
	the_editor( 'Please try using the Visual and HTML tabs to verify if they are working on each editor.', 'additional-content' );
	
?>
	<table class="post-status-info" cellspacing="0"><tbody><tr>
		<td style="padding:2px 7px;">Test</td>
	</tr></tbody></table>
<?php
	
}

add_action( 'add_meta_boxes', 'add_another_editor_meta_box' );


?>
