[wp-trac] [WordPress Trac] #13071: Update bubble appears only at the second load

WordPress Trac noreply at wordpress.org
Tue Sep 27 21:46:19 UTC 2016


#13071: Update bubble appears only at the second load
-------------------------------------------------+-------------------------
 Reporter:  ocean90                              |       Owner:  swissspidy
     Type:  defect (bug)                         |      Status:  assigned
 Priority:  normal                               |   Milestone:  4.7
Component:  Upgrade/Install                      |     Version:  3.0
 Severity:  normal                               |  Resolution:
 Keywords:  shiny-updates has-patch needs-       |     Focuses:
  testing                                        |  administration
-------------------------------------------------+-------------------------

Comment (by obenland):

 I think we should try to re-use `_wpUpdatesItemCounts` (available as
 `settings.plugins` and `settings.themes`), that would allow us to get rid
 of the footer script hook. It also feels like `refreshCount()` does a lot
 of the same things as `deletePluginSuccess()` for example, I think there
 might be potential to optimize that.

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


More information about the wp-trac mailing list