Make WordPress Core


Ignore:
Timestamp:
01/09/2016 01:36:45 AM (11 years ago)
Author:
johnbillion
Message:

Docs: Correct the parameter docs for various Heartbeat filters and functions.

See #32246

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/wp-admin/includes/ajax-actions.php

    r35811 r36231  
    27072707                 * @since 3.6.0
    27082708                 *
    2709                  * @param array|object $response  The Heartbeat response object or array.
    2710                  * @param array        $data      The $_POST data sent.
    2711                  * @param string       $screen_id The screen id.
     2709                 * @param array  $response  The Heartbeat response.
     2710                 * @param array  $data      The $_POST data sent.
     2711                 * @param string $screen_id The screen id.
    27122712                 */
    27132713                $response = apply_filters( 'heartbeat_received', $response, $data, $screen_id );
    … …  
    27192719         * @since 3.6.0
    27202720         *
    2721          * @param array|object $response  The Heartbeat response object or array.
    2722          * @param string       $screen_id The screen id.
     2721         * @param array  $response  The Heartbeat response.
     2722         * @param string $screen_id The screen id.
    27232723         */
    27242724        $response = apply_filters( 'heartbeat_send', $response, $screen_id );
    … …  
    27312731         * @since 3.6.0
    27322732         *
    2733          * @param array|object $response  The Heartbeat response object or array.
    2734          * @param string       $screen_id The screen id.
     2733         * @param array  $response  The Heartbeat response.
     2734         * @param string $screen_id The screen id.
    27352735         */
    27362736        do_action( 'heartbeat_tick', $response, $screen_id );
Note: See TracChangeset for help on using the changeset viewer.