[wp-trac] [WordPress Trac] #17703: Decrement update count bubbles when you update things

WordPress Trac noreply at wordpress.org
Wed Feb 12 20:26:10 UTC 2014


#17703: Decrement update count bubbles when you update things
------------------------------------+------------------------------
 Reporter:  mitchoyoshitaka         |       Owner:  koopersmith
     Type:  enhancement             |      Status:  reviewing
 Priority:  normal                  |   Milestone:  Awaiting Review
Component:  Upgrade/Install         |     Version:
 Severity:  trivial                 |  Resolution:
 Keywords:  has-patch dev-feedback  |     Focuses:  administration
------------------------------------+------------------------------
Changes (by gcorne):

 * keywords:  has-patch => has-patch dev-feedback


Comment:

 This seems like a good idea, so I went ahead and created a fresh patch
 (see [attachment:17703-04.patch 17703-04.patch]). The approach is a little
 different from Mitcho’s. Instead of offsetting the existing counts, an
 ajax call is triggered that pulls updated counts. For situations where the
 requests where the upgrades run is in an iframe, {{{window.postMessage}}}
 is used to send a message to the parent window that triggers the count
 updating.

 One benefit of using an ajax handler is that it opens the door to
 refreshing the counts asynchronously at other times so that the status is
 more current without impacting the response time of admin page loads.

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


More information about the wp-trac mailing list