diff --git a/wp-admin/includes/ajax-actions.php b/wp-admin/includes/ajax-actions.php index ab521ba0ad..7945bc4157 100644 --- a/wp-admin/includes/ajax-actions.php +++ b/wp-admin/includes/ajax-actions.php @@ -3025,6 +3025,15 @@ function wp_ajax_heartbeat() { } if ( 1 !== $nonce_state ) { + /** + * Filters the nonces to send to the editor. + * + * @since 4.3.0 + * + * @param array|object $response The no-priv Heartbeat response object or array. + * @param array $data An array of data passed via $_POST. + * @param string $screen_id The screen id. + */ $response = apply_filters( 'wp_refresh_nonces', $response, $data, $screen_id ); if ( false === $nonce_state ) { diff --git a/wp-includes/version.php b/wp-includes/version.php index b4f17c1a41..46aa5cf74f 100644 --- a/wp-includes/version.php +++ b/wp-includes/version.php @@ -4,7 +4,7 @@ * * @global string $wp_version */ -$wp_version = '5.0-alpha-42716'; +$wp_version = '5.0-alpha-42717'; /** * Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.