Fix typo in wp_heartbeat_settings, see #23216
git-svn-id: https://develop.svn.wordpress.org/trunk@23482 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
parent
9b691a21b0
commit
d5719ec648
@ -2288,7 +2288,7 @@ function __checked_selected_helper( $helper, $current, $echo, $type ) {
|
||||
*/
|
||||
function wp_heartbeat_settings( $settings ) {
|
||||
if ( is_user_logged_in() )
|
||||
$setting['nonce'] = wp_create_nonce( 'heartbeat-nonce' );
|
||||
$settings['nonce'] = wp_create_nonce( 'heartbeat-nonce' );
|
||||
|
||||
return $setting;
|
||||
return $settings;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user