Make WordPress Core

Changeset 36231


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

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

See #32246

Location:
trunk/src/wp-admin/includes
Files:
2 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 );
  • trunk/src/wp-admin/includes/misc.php

    r35468 r36231  
    730730 *
    731731 * @since 3.6.0
     732 *
     733 * @param array  $response  The Heartbeat response.
     734 * @param array  $data      The $_POST data sent.
     735 * @param string $screen_id The screen id.
     736 * @return array The Heartbeat response.
    732737 */
    733738function wp_check_locked_posts( $response, $data, $screen_id ) {
     
    760765 *
    761766 * @since 3.6.0
     767 *
     768 * @param array  $response  The Heartbeat response.
     769 * @param array  $data      The $_POST data sent.
     770 * @param string $screen_id The screen id.
     771 * @return array The Heartbeat response.
    762772 */
    763773function wp_refresh_post_lock( $response, $data, $screen_id ) {
     
    798808 *
    799809 * @since 3.6.0
     810 *
     811 * @param array  $response  The Heartbeat response.
     812 * @param array  $data      The $_POST data sent.
     813 * @param string $screen_id The screen id.
     814 * @return array The Heartbeat response.
    800815 */
    801816function wp_refresh_post_nonces( $response, $data, $screen_id ) {
     
    851866 *
    852867 * @since 3.9.0
     868 *
     869 * @param array $response The Heartbeat response.
     870 * @param array $data     The $_POST data sent.
     871 * @return array The Heartbeat response.
    853872 */
    854873function heartbeat_autosave( $response, $data ) {
Note: See TracChangeset for help on using the changeset viewer.