[wp-meta] [Making WordPress.org] #8216: Plugin translation import - remove_filter fails to remove import status
Making WordPress.org
noreply at wordpress.org
Fri Apr 3 15:57:11 UTC 2026
#8216: Plugin translation import - remove_filter fails to remove import status
--------------------------------------+--------------------
Reporter: timse201 | Owner: (none)
Type: defect (bug) | Status: new
Priority: normal | Milestone:
Component: Translate Site & Plugins | Keywords:
--------------------------------------+--------------------
In the Import_Plugin_Translations WP-CLI command, the add_filter and
remove_filter function for the import status do not match.
Currently, the filter is added using an array callback, but the code
attempts to remove it using a string.
It should not cause immediate issues for a file import.
The PR also modernizes array key checks using the null coalescing operator
--
Ticket URL: <https://meta.trac.wordpress.org/ticket/8216>
Making WordPress.org <https://meta.trac.wordpress.org/>
Making WordPress.org
More information about the wp-meta
mailing list