Editor API enhancement, first run (still needs some work), see #17144

git-svn-id: https://develop.svn.wordpress.org/trunk@18498 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
Andrew Ozz
2011-08-03 10:19:00 +00:00
parent d5a6cf3dfd
commit 461ceba60d
47 changed files with 2697 additions and 2082 deletions

View File

@@ -264,9 +264,9 @@ wp_nonce_field( 'samplepermalink', 'samplepermalinknonce', false );
<?php } ?>
<?php if ( post_type_supports($post_type, 'editor') ) { ?>
<div id="<?php echo user_can_richedit() ? 'postdivrich' : 'postdiv'; ?>" class="postarea">
<div id="postdivrich" class="postarea">
<?php the_editor($post->post_content); ?>
<?php wp_editor($post->post_content, 'content'); ?>
<table id="post-status-info" cellspacing="0"><tbody><tr>
<td id="wp-word-count"><?php printf( __( 'Word count: %s' ), '<span class="word-count">0</span>' ); ?></td>