[wp-trac] [WordPress Trac] #65191: deletePluginSuccess does not update counts for custom plugin_status groups
WordPress Trac
noreply at wordpress.org
Fri May 8 14:25:40 UTC 2026
#65191: deletePluginSuccess does not update counts for custom plugin_status groups
-------------------------------------+------------------------------
Reporter: andrew.p | Owner: (none)
Type: defect (bug) | Status: new
Priority: normal | Milestone: Awaiting Review
Component: Plugins | Version:
Severity: minor | Resolution:
Keywords: needs-testing has-patch | Focuses:
-------------------------------------+------------------------------
Comment (by alessioarzentondev):
Worked on this during WordPress Contributor Day, Torino 2026.
While testing the previous PR, we noticed that when a plugin is deleted
and the corresponding <li> is removed from the WP_List_Table filters via
Ajax, the | separator on the preceding <li> was left behind, because it
was injected via PHP and therefore not aware of subsequent DOM changes.
Since it's purely a visual element, we think it belongs in CSS instead.
Moving it to a stylesheet keeps structure and presentation separated,
makes the separator easier to restyle or remove, and handles the last item
automatically without any special PHP logic. Nothing changes visually for
the user, and the markup ends up a bit cleaner — including for screen
readers and copy/paste, since the | is no longer part of the text content.
Props andrew.p, alessioarzentondev, gabrieleburgarella, enzo2018, lopo,
realloc, f94leonardo.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/65191#comment:3>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list