Inline documentation fixes for wp_heartbeat_set_suspension()
.
See #25073. git-svn-id: https://develop.svn.wordpress.org/trunk@26732 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
parent
bab3a29a8e
commit
86282508aa
@ -751,9 +751,12 @@ function wp_refresh_post_nonces( $response, $data, $screen_id ) {
|
|||||||
add_filter( 'heartbeat_received', 'wp_refresh_post_nonces', 10, 3 );
|
add_filter( 'heartbeat_received', 'wp_refresh_post_nonces', 10, 3 );
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Disable suspending of Heartbeat on the Add/Edit Post screens
|
* Disable suspension of Heartbeat on the Add/Edit Post screens.
|
||||||
*
|
*
|
||||||
* @since 3.8
|
* @since 3.8.0
|
||||||
|
*
|
||||||
|
* @param array $settings An array of Heartbeat settings.
|
||||||
|
* @return array Filtered Heartbeat settings.
|
||||||
*/
|
*/
|
||||||
function wp_heartbeat_set_suspension( $settings ) {
|
function wp_heartbeat_set_suspension( $settings ) {
|
||||||
global $pagenow;
|
global $pagenow;
|
||||||
|
Loading…
Reference in New Issue
Block a user