[wp-trac] [WordPress Trac] #37774: Shiny Updates: Themes updates with no package available still show "Update now" link

WordPress Trac noreply at wordpress.org
Mon Aug 22 21:49:28 UTC 2016


#37774: Shiny Updates: Themes updates with no package available still show "Update
now" link
----------------------------+-----------------------------
 Reporter:  uglyrobot       |      Owner:
     Type:  defect (bug)    |     Status:  new
 Priority:  normal          |  Milestone:  Awaiting Review
Component:  Themes          |    Version:  4.6
 Severity:  normal          |   Keywords:
  Focuses:  administration  |
----------------------------+-----------------------------
 The plugins list page gracefully handles the case when the package field
 is empty in the update_themes transient response by showing "Automatic
 update is unavailable for this plugin/theme." This is also shown correctly
 in Network Themes and when you open the theme details popover on a single
 site.

 However in the themes.php grid it still shows the "update now" link which
 when you click will eventually show a "Update Failed: Update package not
 available." error. The grid needs to be adjusted to account for empty
 packages.

 I know it's an obscure error, but it may be encountered when premium
 plugins/themes hook into the update process and rely on the empty package
 functionality until authorization is granted by entering a key or logging
 in, etc.

--
Ticket URL: <https://core.trac.wordpress.org/ticket/37774>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list