[wp-trac] [WordPress Trac] #62212: If you update a plugin from the details modal, it no longer updates the main page

WordPress Trac noreply at wordpress.org
Sun Oct 13 13:04:38 UTC 2024


#62212: If you update a plugin from the details modal, it no longer updates the
main page
--------------------------+------------------------------
 Reporter:  siliconforks  |       Owner:  (none)
     Type:  defect (bug)  |      Status:  new
 Priority:  normal        |   Milestone:  Awaiting Review
Component:  Plugins       |     Version:  6.5
 Severity:  normal        |  Resolution:
 Keywords:                |     Focuses:
--------------------------+------------------------------

Comment (by siliconforks):

 Note that the old JavaScript code for handling the click on the "Install
 Update Now" button was never removed - it is still present in 6.5 and
 later (including the latest trunk version), even though the code never
 gets executed any more.

 https://github.com/WordPress/wordpress-
 develop/blob/6e7acb0103ce64bcd0b66d22cb0efb6249028004/src/js/_enqueues/wp/updates.js#L3212

 That is just dead code now, since the `plugin_update_from_iframe` ID no
 longer exists.

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


More information about the wp-trac mailing list