Make sure to use 3-digit x.x.x style for two 3.9.0 @since
versions.
Props netweb. Fixes #28446. git-svn-id: https://develop.svn.wordpress.org/trunk@28658 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
parent
85961d28df
commit
24b3ed214e
@ -23,7 +23,7 @@ function got_mod_rewrite() {
|
||||
* like nginx. Use the got_url_rewrite filter in got_url_rewrite() instead.
|
||||
*
|
||||
* @since 2.5.0
|
||||
*
|
||||
*
|
||||
* @see got_url_rewrite()
|
||||
*
|
||||
* @param bool $got_rewrite Whether Apache and mod_rewrite are present.
|
||||
@ -47,7 +47,7 @@ function got_url_rewrite() {
|
||||
* Filter whether URL rewriting is available.
|
||||
*
|
||||
* @since 3.7.0
|
||||
*
|
||||
*
|
||||
* @param bool $got_url_rewrite Whether URL rewriting is available.
|
||||
*/
|
||||
return apply_filters( 'got_url_rewrite', $got_url_rewrite );
|
||||
@ -804,7 +804,7 @@ add_filter( 'heartbeat_settings', 'wp_heartbeat_set_suspension' );
|
||||
/**
|
||||
* Autosave with heartbeat
|
||||
*
|
||||
* @since 3.9
|
||||
* @since 3.9.0
|
||||
*/
|
||||
function heartbeat_autosave( $response, $data ) {
|
||||
if ( ! empty( $data['wp_autosave'] ) ) {
|
||||
|
@ -1615,7 +1615,7 @@ function post_preview() {
|
||||
*
|
||||
* 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.
|
||||
* @return mixed The value 0 or WP_Error on failure. The saved post ID on success.
|
||||
|
Loading…
Reference in New Issue
Block a user