Fix typo in wp_heartbeat_settings, see #23216
git-svn-id: http://core.svn.wordpress.org/trunk@23482 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
parent
9c2ebc4c60
commit
f8ecd2719c
|
@ -2288,7 +2288,7 @@ function __checked_selected_helper( $helper, $current, $echo, $type ) {
|
||||||
*/
|
*/
|
||||||
function wp_heartbeat_settings( $settings ) {
|
function wp_heartbeat_settings( $settings ) {
|
||||||
if ( is_user_logged_in() )
|
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