Skip to content
Snippets Groups Projects
Commit 61ce822b authored by Lucas García's avatar Lucas García
Browse files

feat: rename i18n dependencies

parent a5fc5767
No related branches found
No related tags found
No related merge requests found
......@@ -147,7 +147,7 @@ class Http_Client
private static function get_locale()
{
$locale = apply_filters('wpct_st_current_language', null, 'locale');
$locale = apply_filters('wpct_i18n_current_language', null, 'locale');
if ($locale) return $locale;
return get_locale();
......
......@@ -37,7 +37,7 @@ class Wpct_Http_Backend extends Abstract\Plugin
protected $textdomain = 'wpct-http-backend';
protected $dependencies = [
'JWT Authentication for WP-API' => '<a href="https://wordpress.org/plugins/jwt-authentication-for-wp-rest-api/">JWT Authentication for WP-API</a>',
'Wpct String Translation' => '<a href="https://git.coopdevs.org/codeccoop/wp/wpct-string-translation/">Wpct String Translation</a>',
'Wpct i18n' => '<a href="https://git.coopdevs.org/codeccoop/wp/wpct-string-translation/">Wpct String Translation</a>',
];
public static function activate()
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment