[wp-trac] [WordPress Trac] #64550: wp_update_plugins function (possibly wp_update_themes) breaks when the transient setting fails

WordPress Trac noreply at wordpress.org
Fri Jan 23 13:48:34 UTC 2026


#64550: wp_update_plugins function (possibly wp_update_themes) breaks when the
transient setting fails
--------------------------+-----------------------------
 Reporter:  madhazelnut   |      Owner:  (none)
     Type:  defect (bug)  |     Status:  new
 Priority:  normal        |  Milestone:  Awaiting Review
Component:  General       |    Version:  6.8.3
 Severity:  major         |   Keywords:
  Focuses:                |
--------------------------+-----------------------------
 Because the result of updating the `update_plugins` transient is never
 checked at the end of the function (`set_site_transient()`), if the
 setting fails (e.g. because a plugin such as GravityView decided to use
 fancy emojis in their changelog) then the site becomes stuck with old
 versions of plugins, never displaying any updates.


 To reproduce, try to make `$dpdb->strip_invalid_text()` return a different
 data array (`/wp-includes/class-wpdb.php::2827`). I managed to get this
 with
 [GravityView](https://www.gravitykit.com/products/gravityview/changelog),
 which has some new UTF emojis in the description.

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


More information about the wp-trac mailing list