Closed swissspidy closed 5 years ago
It is so long from this issue created, so that I would try this issue.
So I just talk about this issue with @swissspidy . (at WordCamp Tokyo 2018)
We are not sure what we should do for this issue, I'd like to make sure the problem again to resolve.
I think we can close this one.
Language_Pack_Upgrader::async_upgrade()
is only hooked into upgrader_process_complete
which is for example unhooked in the upgrade command for plugins/themes.
The method checks if the upgrade is not an instance of itself to avoid recursion.
Alrighty then.
According to https://github.com/wp-cli/wp-cli/issues/3782#issuecomment-328913851:
I couldn't reproduce this yet, but adding
add_filter( 'async_update_translation', '__return_false' );
is a good idea if that's true.