mirror of
https://github.com/gosticks/wordpress-develop.git
synced 2026-08-11 20:30:23 +00:00
Docs: Correct the parameter docs for various Heartbeat filters and functions.
See #32246 git-svn-id: https://develop.svn.wordpress.org/trunk@36231 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
@@ -2706,9 +2706,9 @@ function wp_ajax_heartbeat() {
|
||||
*
|
||||
* @since 3.6.0
|
||||
*
|
||||
* @param array|object $response The Heartbeat response object or array.
|
||||
* @param array $data The $_POST data sent.
|
||||
* @param string $screen_id The screen id.
|
||||
* @param array $response The Heartbeat response.
|
||||
* @param array $data The $_POST data sent.
|
||||
* @param string $screen_id The screen id.
|
||||
*/
|
||||
$response = apply_filters( 'heartbeat_received', $response, $data, $screen_id );
|
||||
}
|
||||
@@ -2718,8 +2718,8 @@ function wp_ajax_heartbeat() {
|
||||
*
|
||||
* @since 3.6.0
|
||||
*
|
||||
* @param array|object $response The Heartbeat response object or array.
|
||||
* @param string $screen_id The screen id.
|
||||
* @param array $response The Heartbeat response.
|
||||
* @param string $screen_id The screen id.
|
||||
*/
|
||||
$response = apply_filters( 'heartbeat_send', $response, $screen_id );
|
||||
|
||||
@@ -2730,8 +2730,8 @@ function wp_ajax_heartbeat() {
|
||||
*
|
||||
* @since 3.6.0
|
||||
*
|
||||
* @param array|object $response The Heartbeat response object or array.
|
||||
* @param string $screen_id The screen id.
|
||||
* @param array $response The Heartbeat response.
|
||||
* @param string $screen_id The screen id.
|
||||
*/
|
||||
do_action( 'heartbeat_tick', $response, $screen_id );
|
||||
|
||||
|
||||
Reference in New Issue
Block a user