Make WordPress Core

Ticket #51401: 51401.1.patch

File 51401.1.patch, 893 bytes (added by dilipbheda, 4 years ago)

Updated patch

  • src/js/_enqueues/wp/autosave.js

    diff --git a/src/js/_enqueues/wp/autosave.js b/src/js/_enqueues/wp/autosave.js
    index 33c7e2d3b6..b7ce2301a5 100644
    a b window.autosave = function() { 
    2323         *
    2424         * @since 3.9.0
    2525         *
    26          * @return {Object}
    27          *      {{
     26         * @returns {Object} {
     27         *      {
    2828         *              getPostData: getPostData,
    2929         *              getCompareString: getCompareString,
    3030         *              disableButtons: disableButtons,
    3131         *              enableButtons: enableButtons,
    3232         *              local: ({hasStorage, getSavedPostData, save, suspend, resume}|*),
    33          *              server: ({tempBlockSave, triggerSave, postChanged, suspend, resume}|*)}
    34          *      }
    35          *      The object with all functions for autosave.
     33         *              server: ({tempBlockSave, triggerSave, postChanged, suspend, resume}|*)
     34         *              }
     35         *      } The object with all functions for autosave.
    3636         */
    3737        function autosave() {
    3838                var initialCompareString,