WordPress.org

Make WordPress Core

Changes between Initial Version and Version 1 of Ticket #51836, comment 3


Ignore:
Timestamp:
11/20/2020 06:02:46 PM (10 months ago)
Author:
pbiron
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #51836, comment 3

    initial v1  
    33Question: was the code you show that defined `remove_core_updates()` in a "site-specific" plugin or in a general purpose "control updates" plugin?
    44
    5 Given the specifics of `remove_core_updates()` we could detect that all update offers were being removed (since the `updates` property of `site_transient_update_core` and `no_update` and `response` properties of `site_transient_update_{plugin|theme}` aren't present) but is far from a general solution (even limited to .org responses).
     5Given the specifics of `remove_core_updates()` we could detect that all update offers were being removed (since the `updates` property of `site_transient_update_core` and `no_update` and `response` properties of `site_transient_update_{plugin|theme}` aren't present) but that is far from a general solution (even limited to .org responses).