WordPress.org

Make WordPress Core

Changeset 6373


Ignore:
Timestamp:
12/11/2007 08:30:22 PM (10 years ago)
Author:
westi
Message:

Autosave tags as well. Fixes #5359 props sembee

Location:
trunk
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/wp-admin/admin-ajax.php

    r6329 r6373  
    389389    $_POST['post_status'] = 'draft';
    390390    $_POST['post_category'] = explode(",", $_POST['catslist']);
     391    $_POST['tags_input'] = explode(",", $_POST['tags_input']);
    391392    if($_POST['post_type'] == 'page' || empty($_POST['post_category']))
    392393        unset($_POST['post_category']);
  • trunk/wp-includes/js/autosave.js

    r4970 r6373  
    132132    autosaveAjax.setVar("post_title", form.post_title.value);
    133133    autosaveAjax.setVar("post_type", form.post_type.value);
     134    autosaveAjax.setVar("tags_input", form.tags_input.value);
    134135    if ( form.comment_status.checked )
    135136        autosaveAjax.setVar("comment_status", 'open');
Note: See TracChangeset for help on using the changeset viewer.