[wp-trac] [WordPress Trac] #53710: WP Update notice shown twice

WordPress Trac noreply at wordpress.org
Wed Jul 21 22:48:08 UTC 2021


#53710: WP Update notice shown twice
-----------------------------------------+-----------------------
 Reporter:  Presskopp                    |       Owner:  audrasjb
     Type:  defect (bug)                 |      Status:  accepted
 Priority:  normal                       |   Milestone:  5.9
Component:  Upgrade/Install              |     Version:
 Severity:  normal                       |  Resolution:
 Keywords:  needs-patch has-screenshots  |     Focuses:
-----------------------------------------+-----------------------
Changes (by audrasjb):

 * owner:  (none) => audrasjb
 * status:  new => accepted
 * component:  Administration => Upgrade/Install
 * milestone:  Awaiting Review => 5.9


Comment:

 Good point.

 I suspect this is because the `list_core_update()` function is called two
 times, inside a foreach loop.

 https://build.trac.wordpress.org/browser/trunk/wp-admin/update-
 core.php?marks=140#L222

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


More information about the wp-trac mailing list