Plugin Directory

Changeset 3378802


Ignore:
Timestamp:
10/15/2025 10:31:28 AM (6 months ago)
Author:
frpet
Message:

Release v2.1.1

Location:
easytranslate
Files:
4 edited
19 copied

Legend:

Unmodified
Added
Removed
  • easytranslate/tags/v5.6/admin/class-easy-translate-api-service.php

    r3247676 r3378802  
    253253     *
    254254     * @param string $path
     255     * @param string $version
    255256     * @return string
    256257     */
    257     protected function team_path(string $path): string
    258     {
    259         return $this->versioned_path("teams/{$this->team_identifier}/{$path}");
     258    protected function team_path(string $path, string $version = self::API_VERSION): string
     259    {
     260        return $this->versioned_path("teams/{$this->team_identifier}/{$path}", $version);
    260261    }
    261262
  • easytranslate/tags/v5.6/admin/class-easy-translate-api-string-library.php

    r2796556 r3378802  
    4949
    5050        $response = $this->wp_remote_post(
    51             $this->team_path("libraries/{$stringLibraryId}/sync"),
     51            $this->team_path("libraries/{$stringLibraryId}/sync", 'v1'),
    5252            ['body' => $body, 'headers' => ['Content-Type' => 'application/json']]
    5353        );
     
    123123
    124124        $response = $this->wp_remote_get(
    125             "{$this->team_path("libraries/{$stringLibraryId}/bilingual")}?{$queryString}"
     125            "{$this->team_path("libraries/{$stringLibraryId}/bilingual", 'v1')}?{$queryString}"
    126126        );
    127127        $httpCode = wp_remote_retrieve_response_code($response);
  • easytranslate/tags/v5.6/easy-translate.php

    r3321004 r3378802  
    1515 * Plugin URI:        https://www.easytranslate.com/en/integrations/cms/wordpress-plugin/
    1616 * Description:       This is a short description of what the plugin does. It's displayed in the WordPress admin area.
    17  * Version:           2.1.0
     17 * Version:           2.1.1
    1818 * Author:            EasyTranslate
    1919 * Author URI:        https://easytranslate.com
     
    3434 * Rename this for your plugin and update it as you release new versions.
    3535 */
    36 define('EASY_TRANSLATE_VERSION', '2.1.0');
     36define('EASY_TRANSLATE_VERSION', '2.1.1');
    3737
    3838/**
  • easytranslate/trunk/admin/class-easy-translate-api-service.php

    r3247676 r3378802  
    253253     *
    254254     * @param string $path
     255     * @param string $version
    255256     * @return string
    256257     */
    257     protected function team_path(string $path): string
    258     {
    259         return $this->versioned_path("teams/{$this->team_identifier}/{$path}");
     258    protected function team_path(string $path, string $version = self::API_VERSION): string
     259    {
     260        return $this->versioned_path("teams/{$this->team_identifier}/{$path}", $version);
    260261    }
    261262
  • easytranslate/trunk/admin/class-easy-translate-api-string-library.php

    r2796556 r3378802  
    4949
    5050        $response = $this->wp_remote_post(
    51             $this->team_path("libraries/{$stringLibraryId}/sync"),
     51            $this->team_path("libraries/{$stringLibraryId}/sync", 'v1'),
    5252            ['body' => $body, 'headers' => ['Content-Type' => 'application/json']]
    5353        );
     
    123123
    124124        $response = $this->wp_remote_get(
    125             "{$this->team_path("libraries/{$stringLibraryId}/bilingual")}?{$queryString}"
     125            "{$this->team_path("libraries/{$stringLibraryId}/bilingual", 'v1')}?{$queryString}"
    126126        );
    127127        $httpCode = wp_remote_retrieve_response_code($response);
  • easytranslate/trunk/easy-translate.php

    r3321004 r3378802  
    1515 * Plugin URI:        https://www.easytranslate.com/en/integrations/cms/wordpress-plugin/
    1616 * Description:       This is a short description of what the plugin does. It's displayed in the WordPress admin area.
    17  * Version:           2.1.0
     17 * Version:           2.1.1
    1818 * Author:            EasyTranslate
    1919 * Author URI:        https://easytranslate.com
     
    3434 * Rename this for your plugin and update it as you release new versions.
    3535 */
    36 define('EASY_TRANSLATE_VERSION', '2.1.0');
     36define('EASY_TRANSLATE_VERSION', '2.1.1');
    3737
    3838/**
Note: See TracChangeset for help on using the changeset viewer.