WordPress.org

Make WordPress Core

Ticket #8658: define-post_data_content-at-declaration.diff

File define-post_data_content-at-declaration.diff, 431 bytes (added by projct, 9 years ago)
  • wp-includes/js/autosave.js

    diff --git a/wp-includes/js/autosave.js b/wp-includes/js/autosave.js
    index 8459bc5..5af6a26 100644
    a b var autosave = function() { 
    132132                autosavenonce: jQuery('#autosavenonce').val(),
    133133                tags_input: jQuery("#tags-input").val() || "",
    134134                post_type: jQuery('#post_type').val() || "",
     135                content: jQuery('#post_content').val() | "",
    135136                autosave: 1
    136137        };
    137138