Files
wordpress-develop/src/wp-includes/update.php
Sergey Biryukov 2f1cd87ae2 Docs: Use typed array notation for the $locales parameter in plugin update filters.
The value comes from `get_available_languages()`, which returns an array of strings.

This affects:
* `plugins_update_check_locales` filter.
* `update_plugins_{$hostname}` filter.

Follow-up to [36630], [46660], [50921], [53933], [54284].

See #55646.

git-svn-id: https://develop.svn.wordpress.org/trunk@54287 602fd350-edb4-49c9-b593-d223f7449a82
2022-09-22 11:11:45 +00:00

34 KiB