[wp-trac] [WordPress Trac] #60471: Plugin dependencies: Dependent of an inactive plugin can be deleted via bulk actions

WordPress Trac noreply at wordpress.org
Fri Feb 9 01:48:02 UTC 2024


#60471: Plugin dependencies: Dependent of an inactive plugin can be deleted via
bulk actions
-------------------------------------+------------------------------
 Reporter:  johnbillion              |       Owner:  (none)
     Type:  defect (bug)             |      Status:  new
 Priority:  low                      |   Milestone:  Awaiting Review
Component:  Upgrade/Install          |     Version:  trunk
 Severity:  minor                    |  Resolution:
 Keywords:  has-patch needs-testing  |     Focuses:
-------------------------------------+------------------------------
Changes (by costdev):

 * keywords:  has-patch => has-patch needs-testing


Comment:

 Reading the ticket and @afragen's response, in this case the bug is indeed
 that the bulk actions checkbox is enabled.

 The feature as it currently stands prevents the deletion of a dependency
 until its dependents are deleted. That is, **Addon for Foo** must be
 deleted before **Foo** can be deleted.

 I'd like to separate the handling of this bug from the determination about
 whether this aspect of the feature stays in Core. A decision on that is
 likely to be part of an upcoming Core discussion on the feature, and I
 think it may be best to have the intended behaviour working as expected so
 that the discussion has accurate data to consider.

 [https://github.com/WordPress/wordpress-develop/pull/6073 PR 6073] should
 ensure - for now at least - the intended behaviour. Please test.

-- 
Ticket URL: <https://core.trac.wordpress.org/ticket/60471#comment:6>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list