]> scripts.mit.edu Git - autoinstalls/wordpress.git/blobdiff - wp-includes/js/heartbeat.js
WordPress 4.0.1
[autoinstalls/wordpress.git] / wp-includes / js / heartbeat.js
index 5406459c8579fe3242627f56e7eedc9dee5e5751..63ee4f523c22c139c837763dd94579d68d59d35b 100644 (file)
@@ -1,14 +1,10 @@
 /**
  * Heartbeat API
  *
- * Note: this API is "experimental" meaning it will likely change a lot
- * in the next few releases based on feedback from 3.6.0. If you intend
- * to use it, please follow the development closely.
- *
  * Heartbeat is a simple server polling API that sends XHR requests to
  * the server every 15 - 60 seconds and triggers events (or callbacks) upon
  * receiving data. Currently these 'ticks' handle transports for post locking,
- * login-expiration warnings, and related tasks while a user is logged in.
+ * login-expiration warnings, autosave, and related tasks while a user is logged in.
  *
  * Available PHP filters (in ajax-actions.php):
  * - heartbeat_received
@@ -67,7 +63,7 @@
                                // Whether a connection is currently in progress
                                connecting: false,
 
-                               // Whether a connection error occured
+                               // Whether a connection error occurred
                                connectionError: false,
 
                                // Used to track non-critical errors