Changeset 6373
- Timestamp:
- 12/11/2007 08:30:22 PM (17 years ago)
- Location:
- trunk
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/wp-admin/admin-ajax.php
r6329 r6373 389 389 $_POST['post_status'] = 'draft'; 390 390 $_POST['post_category'] = explode(",", $_POST['catslist']); 391 $_POST['tags_input'] = explode(",", $_POST['tags_input']); 391 392 if($_POST['post_type'] == 'page' || empty($_POST['post_category'])) 392 393 unset($_POST['post_category']); -
trunk/wp-includes/js/autosave.js
r4970 r6373 132 132 autosaveAjax.setVar("post_title", form.post_title.value); 133 133 autosaveAjax.setVar("post_type", form.post_type.value); 134 autosaveAjax.setVar("tags_input", form.tags_input.value); 134 135 if ( form.comment_status.checked ) 135 136 autosaveAjax.setVar("comment_status", 'open');
Note: See TracChangeset
for help on using the changeset viewer.