Make WordPress Core

Changes between Initial Version and Version 1 of Ticket #57999, comment 9


Ignore:
Timestamp:
04/27/2023 01:01:36 AM (15 months ago)
Author:
pbiron
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #57999, comment 9

    initial v1  
    1 One downside of the approach in [attachment:"57999.1.diff"] and [attachment:"57999.diff"] is the can result in `get_{theme|plugin}_updates()` being called twice on the same page load of `update-core.php` (this was pointed out to me by @costdev.
     1One downside of the approach in [attachment:"57999.1.diff"] and [attachment:"57999.diff"] is they can result in `get_{theme|plugin}_updates()` being called twice on the same page load of `update-core.php` (this was pointed out to me by @costdev.
    22
    33I've looked for a way to prevent those multiple calls, but as far as I can tell, that would take a major refactoring of the flow in `update-core.php` and I don't think that's worth it.  If someone else thinks they know an easy to do so, then I'm all ears.