[wp-trac] [WordPress Trac] #51129: Avoid the Enable/Disable auto-updates links to appear for externally hosted themes on the Network Admin > Themes screen
WordPress Trac
noreply at wordpress.org
Wed Aug 26 03:47:03 UTC 2020
#51129: Avoid the Enable/Disable auto-updates links to appear for externally hosted
themes on the Network Admin > Themes screen
--------------------------------------------------+------------------------
Reporter: audrasjb | Owner: (none)
Type: defect (bug) | Status: new
Priority: normal | Milestone: 5.5.1
Component: Upgrade/Install | Version:
Severity: normal | Resolution:
Keywords: has-patch dev-feedback needs-testing | Focuses: multisite
--------------------------------------------------+------------------------
Changes (by afragen):
* keywords: needs-patch => has-patch dev-feedback needs-testing
Comment:
Initial pass at a patch. This should correctly do the following.
1. Count the number of enabled/disabled auto-updates in the network themes
tabs.
2. Correctly add or not add the auto-update link.
3. Add the `auto_update_theme` filter to multisite.
I'm certain this isn't complete, but it's a start.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/51129#comment:6>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list