[wp-trac] [WordPress Trac] #55491: Replace `unload` event handlers from core

WordPress Trac noreply at wordpress.org
Wed Sep 20 16:31:36 UTC 2023


#55491: Replace `unload` event handlers from core
----------------------------+--------------------------------------
 Reporter:  shawfactor      |       Owner:  westonruter
     Type:  enhancement     |      Status:  accepted
 Priority:  normal          |   Milestone:  6.4
Component:  Administration  |     Version:
 Severity:  normal          |  Resolution:
 Keywords:  has-patch       |     Focuses:  javascript, performance
----------------------------+--------------------------------------
Changes (by westonruter):

 * milestone:  Future Release => 6.4


Comment:

 Replying to [comment:25 shawfactor]:
 > search github, you'll find quite a few:
 >
 > https://github.com/search?q=heartbeat_nopriv_received&type=code

 OK, searching for that string on WPdirectory I see there are only
 [https://wpdirectory.net/search/01HASP7N7YSZMKX95B4K51ZYCR 28 plugins]
 that use that filter. Of them, the most popular plugin (by two magnitudes)
 using the hook is BuddyPress.

 So it still doesn't seem fixing this will have a huge impact on
 performance for unauthenticated users. Nevertheless, let's see if we can
 still get it into this release.

-- 
Ticket URL: <https://core.trac.wordpress.org/ticket/55491#comment:26>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list