Skip to content
This repository has been archived by the owner on Aug 14, 2023. It is now read-only.

Filter $api_params or add 'locale' => get_locale() to support multilang version details in EDD_SL_Plugin_Updater.php #28

Open
yoancutillas opened this issue Feb 18, 2017 · 0 comments

Comments

@yoancutillas
Copy link

Hi,

I am using a multilang server site (where Software Licensing is installed).
As a result, when an update is available on a client site (where EDD_SL_Plugin_Updater.php is used), it always retrieves my plugin version details in the default language.

All I need is to pass the client locale in $api_params before sending wp_remote_post().

Is it possible to apply a filter on $api_request array or add the 'locale' => get_locale() element (lines 342 and 406 on EDD_SL_Plugin_Updater.php v1.6.10)?

Thanks,

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant