New tag interface, tag auto-suggest while typing. Rough - suggest and parts of JS should probably be refactored. Hat tip: jhodgdon.

git-svn-id: https://develop.svn.wordpress.org/trunk@6542 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
Matt Mullenweg
2008-01-03 01:34:11 +00:00
parent d3502c9b82
commit 30224a0b3d
10 changed files with 500 additions and 25 deletions
+4 -1
View File
@@ -58,10 +58,13 @@ case 'edit':
exit();
}
if($post->post_status == 'draft') {
wp_enqueue_script('post');
if( 'draft' == $post->post_status ) {
wp_enqueue_script('prototype');
wp_enqueue_script('autosave');
}
require_once('admin-header.php');
if ( !current_user_can('edit_post', $post_ID) )