[wp-trac] [WordPress Trac] #51401: Docs: Fix bracket issue in autosave JS DocBlock
WordPress Trac
noreply at wordpress.org
Mon Sep 28 04:45:00 UTC 2020
#51401: Docs: Fix bracket issue in autosave JS DocBlock
-------------------------------------+-------------------------------
Reporter: dilipbheda | Owner: (none)
Type: defect (bug) | Status: new
Priority: normal | Milestone: Awaiting Review
Component: Autosave | Version: trunk
Severity: normal | Resolution:
Keywords: has-patch needs-refresh | Focuses: javascript, docs
-------------------------------------+-------------------------------
Changes (by mukesh27):
* keywords: has-patch => has-patch needs-refresh
Comment:
Hi there!
The [attachment:"51401.patch"] patch needs update because you have added
an extra }.
{{{#!php
<?php
/**
* Auto saves the post.
*
* @since 3.9.0
*
* @return {Object} {
* {
* getPostData: getPostData,
* getCompareString: getCompareString,
* disableButtons: disableButtons,
* enableButtons: enableButtons,
* local: ({hasStorage, getSavedPostData, save, suspend, resume}|*),
* server: ({tempBlockSave, triggerSave, postChanged, suspend,
resume}|*)
* }
* } The object with all functions for autosave.
*/
}}}
--
Ticket URL: <https://core.trac.wordpress.org/ticket/51401#comment:1>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list