WordPress.org

Make WordPress Core

Changeset 42717


Ignore:
Timestamp:
02/17/2018 04:41:58 AM (5 months ago)
Author:
obenland
Message:

Docs: Add filter docs for wp_refresh_nonces

Props chetan200891, slushman, dlh, netweb.
Fixes #42777.

File:
1 edited

Legend:

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

    r42632 r42717  
    30263026
    30273027    if ( 1 !== $nonce_state ) {
     3028        /**
     3029         * Filters the nonces to send to the editor.
     3030         *
     3031         * @since 4.3.0
     3032         *
     3033         * @param array|object $response  The no-priv Heartbeat response object or array.
     3034         * @param array        $data      An array of data passed via $_POST.
     3035         * @param string       $screen_id The screen id.
     3036         */
    30283037        $response = apply_filters( 'wp_refresh_nonces', $response, $data, $screen_id );
    30293038
Note: See TracChangeset for help on using the changeset viewer.