WordPress/wp-admin/js
Peter Wilson 5d3a6274b4 Administration: Increase frequency of heartbeat API requests.
Increases the frequency of heartbeat API requests from once every 15 seconds to once every 10 seconds.

The purpose of this change is to reduce the length of time before a post becomes unlocked as a user navigates around the WordPress Dashboard and ceases editing a post.

`wp.heartbeat.interval()` has been modified to allow theme and plugin authors to set the heartbeat interval to any value between one second and one hour rather than limiting them to a fixed set of values.

Props azaozz, annezazu, jorbin, kirasong.
Fixes #61960.

Built from https://develop.svn.wordpress.org/trunk@59016


git-svn-id: http://core.svn.wordpress.org/trunk@58412 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2024-09-11 23:09:16 +00:00
..
widgets Build/Test Tools: Revert uglify-js update. 2024-06-27 12:55:22 +00:00
accordion.js
accordion.min.js Build/Test Tools: Update npm dependencies. 2023-02-02 16:36:32 +00:00
application-passwords.js Administration: Move tabindex="-1" from notice to JS. 2023-09-17 22:51:24 +00:00
application-passwords.min.js Administration: Move tabindex="-1" from notice to JS. 2023-09-17 22:51:24 +00:00
auth-app.js
auth-app.min.js
code-editor.js
code-editor.min.js Build/Test Tools: Revert uglify-js update. 2024-06-27 12:55:22 +00:00
color-picker.js
color-picker.min.js
comment.js General: Remove ableist language from code comments. 2024-02-11 19:14:19 +00:00
comment.min.js
common.js Administration: A11y: Use aria-haspopup only if item has popup behavior. 2024-06-20 19:41:15 +00:00
common.min.js Administration: A11y: Use aria-haspopup only if item has popup behavior. 2024-06-20 19:41:15 +00:00
custom-background.js
custom-background.min.js
custom-header.js
customize-controls.js Administration: A11y: Replace placeholders with visible labels. 2024-05-14 16:49:09 +00:00
customize-controls.min.js Administration: A11y: Replace placeholders with visible labels. 2024-05-14 16:49:09 +00:00
customize-nav-menus.js Menus: Accessibility: Improve screen reader text for edit button. 2024-06-03 20:35:13 +00:00
customize-nav-menus.min.js Build/Test Tools: Revert uglify-js update. 2024-06-27 12:55:22 +00:00
customize-widgets.js Administration: A11y: Add role="alert" on JS injected admin notices. 2024-06-21 18:17:14 +00:00
customize-widgets.min.js Administration: A11y: Add role="alert" on JS injected admin notices. 2024-06-21 18:17:14 +00:00
dashboard.js Docs: Fix various typos and spelling mistakes. 2024-04-12 17:47:13 +00:00
dashboard.min.js Build/Test Tools: Revert uglify-js update. 2024-06-27 12:55:22 +00:00
edit-comments.js Comments: Announce reply notices to screen reader users. 2024-08-25 22:37:19 +00:00
edit-comments.min.js Comments: Announce reply notices to screen reader users. 2024-08-25 22:37:19 +00:00
editor-expand.js Docs: Fix various typos and spelling mistakes. 2024-04-12 17:47:13 +00:00
editor-expand.min.js Build/Test Tools: Revert uglify-js update. 2024-06-27 12:55:22 +00:00
editor.js Docs: Fix various typos and spelling mistakes. 2024-04-12 17:47:13 +00:00
editor.min.js Build/Test Tools: Update npm dependencies. 2023-02-02 16:36:32 +00:00
farbtastic.js External Libraries: Update deprecated jQuery code in Farbtastic lib. 2023-07-17 22:03:26 +00:00
gallery.js Administration: Remove deprecated unload event handlers and use pagehide (and pageshow) when appropriate. 2023-10-09 21:31:27 +00:00
gallery.min.js Administration: Remove deprecated unload event handlers and use pagehide (and pageshow) when appropriate. 2023-10-09 21:31:27 +00:00
image-edit.js Media: Fix viewport scrolling and code style in image rotation. 2024-08-28 16:45:11 +00:00
image-edit.min.js Media: Fix viewport scrolling and code style in image rotation. 2024-08-28 16:45:11 +00:00
inline-edit-post.js Administration: Increase frequency of heartbeat API requests. 2024-09-11 23:09:16 +00:00
inline-edit-post.min.js Administration: Increase frequency of heartbeat API requests. 2024-09-11 23:09:16 +00:00
inline-edit-tax.js
inline-edit-tax.min.js
iris.min.js
language-chooser.js
language-chooser.min.js
link.js
link.min.js
media-gallery.js
media-gallery.min.js
media-upload.js
media-upload.min.js Build/Test Tools: Update npm dependencies. 2023-02-02 16:36:32 +00:00
media.js External Libraries: Accessibility: Clean up clipboard.js Copy buttons from focus management workaround. 2023-12-28 15:27:15 +00:00
media.min.js External Libraries: Accessibility: Clean up clipboard.js Copy buttons from focus management workaround. 2023-12-28 15:27:15 +00:00
nav-menu.js Menus: Accessibility: Improve screen reader text for edit button. 2024-06-03 20:35:13 +00:00
nav-menu.min.js Menus: Accessibility: Improve screen reader text for edit button. 2024-06-03 20:35:13 +00:00
password-strength-meter.js
password-strength-meter.min.js
password-toggle.js Upgrade/Install: Show/hide toggle on password fields. 2023-06-23 23:09:29 +00:00
password-toggle.min.js Upgrade/Install: Show/hide toggle on password fields. 2023-06-23 23:09:29 +00:00
plugin-install.js
plugin-install.min.js Build/Test Tools: Update npm dependencies. 2023-02-02 16:36:32 +00:00
post.js Administration: Increase frequency of heartbeat API requests. 2024-09-11 23:09:16 +00:00
post.min.js Administration: Increase frequency of heartbeat API requests. 2024-09-11 23:09:16 +00:00
postbox.js Docs: Align spelling with American English. 2023-01-10 09:30:13 +00:00
postbox.min.js Build/Test Tools: Update NPM dependencies to their latest versions. 2022-09-23 19:55:30 +00:00
privacy-tools.js Administration: A11y: Add role="alert" on JS injected admin notices. 2024-06-21 18:17:14 +00:00
privacy-tools.min.js Administration: A11y: Add role="alert" on JS injected admin notices. 2024-06-21 18:17:14 +00:00
revisions.js
revisions.min.js
set-post-thumbnail.js
set-post-thumbnail.min.js
site-health.js External Libraries: Accessibility: Clean up clipboard.js Copy buttons from focus management workaround. 2023-12-28 15:27:15 +00:00
site-health.min.js External Libraries: Accessibility: Clean up clipboard.js Copy buttons from focus management workaround. 2023-12-28 15:27:15 +00:00
site-icon.js Administration: Modernize Site Icon UI in settings, customizer. 2024-08-23 22:47:16 +00:00
site-icon.min.js Administration: Modernize Site Icon UI in settings, customizer. 2024-08-23 22:47:16 +00:00
svg-painter.js Administration: Remove old IE9 code from wp-admin/js/svg-painter.js. 2024-09-07 22:44:17 +00:00
svg-painter.min.js Administration: Remove old IE9 code from wp-admin/js/svg-painter.js. 2024-09-07 22:44:17 +00:00
tags-box.js
tags-box.min.js Build/Test Tools: Update npm dependencies. 2023-02-02 16:36:32 +00:00
tags-suggest.js Script Loader: Switch to JavaScript translations. 2024-02-18 22:16:14 +00:00
tags-suggest.min.js Script Loader: Switch to JavaScript translations. 2024-02-18 22:16:14 +00:00
tags.js
tags.min.js
theme-plugin-editor.js Docs: Fix various typos and spelling mistakes. 2024-04-12 17:47:13 +00:00
theme-plugin-editor.min.js Build/Test Tools: Revert uglify-js update. 2024-06-27 12:55:22 +00:00
theme.js Themes: Fix themes search event not firing on enter. 2024-08-19 19:19:17 +00:00
theme.min.js Themes: Fix themes search event not firing on enter. 2024-08-19 19:19:17 +00:00
updates.js Plugins: Delay AJAX search until after 2 characters. 2024-08-30 22:17:16 +00:00
updates.min.js Plugins: Delay AJAX search until after 2 characters. 2024-08-30 22:17:16 +00:00
user-profile.js Administration: A11y: Add role="alert" on JS injected admin notices. 2024-06-21 18:17:14 +00:00
user-profile.min.js Administration: A11y: Add role="alert" on JS injected admin notices. 2024-06-21 18:17:14 +00:00
user-suggest.js
user-suggest.min.js
widgets.js
widgets.min.js Build/Test Tools: Update npm dependencies. 2023-02-02 16:36:32 +00:00
word-count.js
word-count.min.js Build/Test Tools: Update npm dependencies. 2023-02-02 16:36:32 +00:00
xfn.js
xfn.min.js