Internalize `global_terms_enabled()` by schlessera · Pull Request #5684 · wp-cli/wp-cli
because the global_terms_enabled() function has been incorrectly deprecated.
@schlessera could you suggest an alternative approach?
Would not triggering a deprecated notice here be preferred? While I acknowledge that the plugin directory is only a subset of the code running on WordPress, there's only 34 occurrences across 20 plugins currently in the directory representing ~230k sites.
Throwing a deprecated notice for the most used function related to global terms seemed like a good way to notify developers that they should adjust their code accordingly.