Make sure to use 3-digit x.x.x style for two 3.9.0 @since versions.
Props netweb. Fixes #28446. Built from https://develop.svn.wordpress.org/trunk@28658 git-svn-id: http://core.svn.wordpress.org/trunk@28476 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
@@ -804,7 +804,7 @@ add_filter( 'heartbeat_settings', 'wp_heartbeat_set_suspension' );
|
|||||||
/**
|
/**
|
||||||
* Autosave with heartbeat
|
* Autosave with heartbeat
|
||||||
*
|
*
|
||||||
* @since 3.9
|
* @since 3.9.0
|
||||||
*/
|
*/
|
||||||
function heartbeat_autosave( $response, $data ) {
|
function heartbeat_autosave( $response, $data ) {
|
||||||
if ( ! empty( $data['wp_autosave'] ) ) {
|
if ( ! empty( $data['wp_autosave'] ) ) {
|
||||||
|
|||||||
@@ -1615,7 +1615,7 @@ function post_preview() {
|
|||||||
*
|
*
|
||||||
* Intended for use with heartbeat and autosave.js
|
* Intended for use with heartbeat and autosave.js
|
||||||
*
|
*
|
||||||
* @since 3.9
|
* @since 3.9.0
|
||||||
*
|
*
|
||||||
* @param $post_data Associative array of the submitted post data.
|
* @param $post_data Associative array of the submitted post data.
|
||||||
* @return mixed The value 0 or WP_Error on failure. The saved post ID on success.
|
* @return mixed The value 0 or WP_Error on failure. The saved post ID on success.
|
||||||
|
|||||||
Reference in New Issue
Block a user