[wp-trac] [WordPress Trac] #57999: Don't show error message when there is nothing to update

WordPress Trac noreply at wordpress.org
Thu Jun 29 07:19:18 UTC 2023


#57999: Don't show error message when there is nothing to update
-------------------------------------+-------------------------------------
 Reporter:  Presskopp                |       Owner:  audrasjb
     Type:  defect (bug)             |      Status:  closed
 Priority:  normal                   |   Milestone:  6.3
Component:  Upgrade/Install          |     Version:
 Severity:  normal                   |  Resolution:  fixed
 Keywords:  good-first-bug has-      |     Focuses:  administration, ui-
  patch has-screenshots has-         |  copy
  testing-info commit                |
-------------------------------------+-------------------------------------
Changes (by audrasjb):

 * status:  reviewing => closed
 * resolution:   => fixed


Comment:

 In [changeset:"56107" 56107]:
 {{{
 #!CommitTicketReference repository="" revision="56107"
 Upgrade/Install: Only show errors if there is nothing to update.

 Previously, when the `do-plugin-upgrade` or `do-theme-upgrade` actions
 were accessed directly on `update-core.php`, an error message stating
 "Select one or
 more (plugins|themes) to update" would be shown even if there was nothing
 to update.

 This ensures that the error message only appears when there is something
 to update.

 Props Presskopp, sabernhardt, pbiron, afragen, zunaid321, shuvoaftab,
 ugyensupport, costdev.
 Fixes #57999.
 }}}

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


More information about the wp-trac mailing list