[wp-trac] [WordPress Trac] #53255: WordPress multisite allows you to delete plugins which are active on some subdomains
WordPress Trac
noreply at wordpress.org
Fri Jun 5 08:59:58 UTC 2026
#53255: WordPress multisite allows you to delete plugins which are active on some
subdomains
-------------------------------------+-------------------------------------
Reporter: denisflorin197 | Owner: (none)
Type: defect (bug) | Status: reopened
Priority: normal | Milestone: Awaiting Review
Component: Plugins | Version: 4.6
Severity: critical | Resolution:
Keywords: has-patch has-unit- | Focuses: administration,
tests has-screenshots | multisite
-------------------------------------+-------------------------------------
Changes (by tippl):
* keywords: has-patch 2nd-opinion has-unit-tests has-screenshots => has-
patch has-unit-tests has-screenshots
Comment:
Replying to [comment:6 realloc]:
> You may use a filter to work on a defined number of sites, to guard
against performance problems on larger multisites.
>
> {{{#!php
> <?php
> $site_ids = get_sites(
> array(
> 'fields' => 'ids',
> 'number' => 100, // filter here
> )
> );
> }}}
Good point! I've added the filter. This way, a network admin can adjust
the limit themselves, and the default of 100 is a sensible compromise.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/53255#comment:8>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list