Make WordPress Core

Ticket #28446: 28446.patch

File 28446.patch, 1.3 KB (added by netweb, 9 years ago)
  • src/wp-admin/includes/misc.php

     
    2323         * like nginx. Use the got_url_rewrite filter in got_url_rewrite() instead.
    2424         *
    2525         * @since 2.5.0
    26          * 
     26         *
    2727         * @see got_url_rewrite()
    2828         *
    2929         * @param bool $got_rewrite Whether Apache and mod_rewrite are present.
     
    4747         * Filter whether URL rewriting is available.
    4848         *
    4949         * @since 3.7.0
    50          * 
     50         *
    5151         * @param bool $got_url_rewrite Whether URL rewriting is available.
    5252         */
    5353        return apply_filters( 'got_url_rewrite', $got_url_rewrite );
     
    804804/**
    805805 * Autosave with heartbeat
    806806 *
    807  * @since 3.9
     807 * @since 3.9.0
    808808 */
    809809function heartbeat_autosave( $response, $data ) {
    810810        if ( ! empty( $data['wp_autosave'] ) ) {
  • src/wp-admin/includes/post.php

     
    16151615 *
    16161616 * Intended for use with heartbeat and autosave.js
    16171617 *
    1618  * @since 3.9
     1618 * @since 3.9.0
    16191619 *
    16201620 * @param $post_data Associative array of the submitted post data.
    16211621 * @return mixed The value 0 or WP_Error on failure. The saved post ID on success.