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:
Andrew Ozz 2013-02-25 04:19:51 +00:00
parent 9b691a21b0
commit d5719ec648

View File

@ -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;
}