mirror of
https://github.com/WordPress/WordPress.git
synced 2024-12-23 01:27:36 +01:00
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:
parent
290b377a31
commit
a6e536fba6
@ -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