[wp-trac] [WordPress Trac] #60491: Fix handling of plugins with unmet requirements

WordPress Trac noreply at wordpress.org
Tue Feb 13 00:31:31 UTC 2024


#60491: Fix handling of plugins with unmet requirements
--------------------------+-----------------------------
 Reporter:  azaozz        |       Owner:  (none)
     Type:  defect (bug)  |      Status:  new
 Priority:  normal        |   Milestone:  Future Release
Component:  Plugins       |     Version:  5.1
 Severity:  normal        |  Resolution:
 Keywords:  needs-patch   |     Focuses:
--------------------------+-----------------------------

Comment (by azaozz):

 Replying to [comment:4 swissspidy]:
 > > A plugin with unmet requirements cannot be updated when using the UI
 >
 > That seems like an unnecessary restriction. What if the updated version
 doesn‘t have any dependencies anymore? Then you would have to uninstall
 and reinstall, which is weird.

 This is handled by the wporg API. Think that if a plugin has had unmet
 requirements, but now all requirements are satisfied, it will be returned
 by the API as an update (untested).

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


More information about the wp-trac mailing list