[wp-trac] [WordPress Trac] #50662: Indicate when the `auto_update_{$type}` filter is being used
WordPress Trac
noreply at wordpress.org
Thu Jul 23 01:05:53 UTC 2020
#50662: Indicate when the `auto_update_{$type}` filter is being used
--------------------------+-----------------------------
Reporter: desrosj | Owner: whyisjake
Type: defect (bug) | Status: reopened
Priority: normal | Milestone: 5.5
Component: Site Health | Version: trunk
Severity: normal | Resolution:
Keywords: needs-patch | Focuses: administration
--------------------------+-----------------------------
Changes (by audrasjb):
* keywords: has-patch needs-testing => needs-patch
Comment:
Thanks @dd32 for spotting this.
Therefore, we must pass the second `$item` argument.
Should we get the first plugin in `active_plugins` option? (and same for
the active theme)
If `active_plugin` is empty we could pass the check.
… but It wouldn't handle installations with only not actived
plugins/themes.
Hmm. Any thoughts @pbiron?
--
Ticket URL: <https://core.trac.wordpress.org/ticket/50662#comment:9>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list