Make WordPress Core

Opened 5 years ago

#46242 new enhancement


Reported by: mireillesan's profile mireillesan Owned by:
Milestone: Awaiting Review Priority: normal
Severity: normal Version: 5.0.3
Component: Posts, Post Types Keywords:
Focuses: Cc:


While Heartbeat has its merits, on some pages it isn't fully needed and it's also too hard to disable it properly.

Would it be possible to add extra arguments to register_post_type with options to enable/disable heartbeat (and depending scripts (e.g. autosave, wp-remove-post-lock))?

If it's not possible at least load heartbeat related files at the end of a page load (footer). With query monitor I noticed these ajax calls are loaded first before anything else.

Kind regards,

Change History (0)

Note: See TracTickets for help on using tickets.