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

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