mirror of
https://github.com/gosticks/wordpress-develop.git
synced 2026-08-12 12:50:28 +00:00
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:
+4
-1
@@ -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) )
|
||||
|
||||
Reference in New Issue
Block a user