Opened 7 weeks ago
Last modified 7 weeks ago
#8216 new defect (bug)
Plugin translation import - remove_filter fails to remove import status
| Reported by: |
|
Owned by: | |
|---|---|---|---|
| Milestone: | Priority: | normal | |
| Component: | Translate Site & Plugins | Keywords: | has-patch |
| Cc: |
Description
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
Change History (1)
This ticket was mentioned in PR #590 on WordPress/wordpress.org by @timse201.
7 weeks ago
#1
- Keywords has-patch added
Note: See
TracTickets for help on using
tickets.
fixes: https://meta.trac.wordpress.org/ticket/8216