You'll noticeTier: how much it should matter to you
2Useful: my rating, 1 to 5
1Signal: worth watching, 1 to 5
PluginsArea: what it touches
ImprovementsKind: in v2.1.236,
ImprovementsSection of the release
What
After a managed-plugin sync, any directory in the plugins folder that belongs to no known plugin and is not already recorded as stale is moved to the trash folder. This runs on both the no-changes and the changed sync paths, with no flag behind it.
Details
Each removal is gated on the sync guard's verify() check before anything is moved.
Removals are counted in a new plugins_sync_orphan_dir_trashed event.
Evidence
plugins_sync_orphan_dir_trashed
Strings lifted out of the shipped bundle, so the claim above can be checked against them.