Plugin Directory

Changeset 3261146


Ignore:
Timestamp:
03/24/2025 11:59:32 PM (10 months ago)
Author:
motaword
Message:

version 2.0.4 to skip 4xx responses

Location:
motaword
Files:
3 added
5 edited

Legend:

Unmodified
Added
Removed
  • motaword/trunk/LICENSE.txt

    r3069609 r3261146  
    1 Copyright (c) 2015-2024, MotaWord LLC.
     1Copyright (c) 2015-2025, MotaWord LLC.
    22 
    33This program is free software; you can redistribute it and/or
  • motaword/trunk/README.txt

    r3149049 r3261146  
    44Tags: translation, localization, internationalization, multilingual, translate
    55Requires at least: 3.0.1
    6 Tested up to: 6.5.2
    7 Stable tag: 2.0.3
     6Tested up to: 6.7.2
     7Stable tag: 2.0.4
    88License: GPLv2 or later
    99License URI: http://www.gnu.org/licenses/gpl-2.0.html
     
    8888
    8989== Changelog ==
     90
     91= 2.0.4 =
     92* Also skip 4xx HTTP code responses as they do more harm than good :)
    9093
    9194= 2.0.3 =
  • motaword/trunk/includes/class-motaword-active-serve.php

    r3149049 r3261146  
    169169        $this->reset_request();
    170170
    171         if(!is_array($response) || !isset($response['body']) || !isset($response['response']['code']) || (int)$response['response']['code'] >= 500) {
     171        if(!is_array($response) || !isset($response['body']) || !isset($response['response']['code']) || (int)$response['response']['code'] >= 400) {
    172172            return null;
    173173        }
  • motaword/trunk/includes/class-motaword.php

    r3149029 r3261146  
    2323 * version of the plugin.
    2424 *
    25  * @version    2.0.3
     25 * @version    2.0.4
    2626 * @package    motaword
    2727 * @subpackage motaword/includes
     
    107107     * @param string $pluginName
    108108     *
    109      * @version    2.0.3
     109     * @version    2.0.4
    110110     */
    111111    public function __construct($pluginName = 'motaword/motaword.php')
     
    113113
    114114        $this->motaword = 'motaword';
    115         $this->version = '2.0.3';
     115        $this->version = '2.0.4';
    116116
    117117        $this->setPluginFile($pluginName);
  • motaword/trunk/motaword.php

    r3149029 r3261146  
    1616 * Plugin URI:        https://www.motaword.com/developer
    1717 * Description:       MotaWord plugin allows you to seamlessly submit your posts for translation to MotaWord.
    18  * Version:           2.0.3
     18 * Version:           2.0.4
    1919 * Author:            MotaWord Engineering <[email protected]>
    2020 * Author URI:        https://www.motaword.com/developer
Note: See TracChangeset for help on using the changeset viewer.