Plugin Directory

Changeset 3203089


Ignore:
Timestamp:
12/05/2024 01:33:17 PM (16 months ago)
Author:
seowriting
Message:

New version of plugin: 1.9.3

Location:
seowriting
Files:
2 edited
5 copied

Legend:

Unmodified
Added
Removed
  • seowriting/tags/1.9.3/readme.txt

    r3179660 r3203089  
    22Contributors: SEOWriting
    33Tags: seo writing, AI tool, AI writing, generation text
    4 Tested up to: 6.6.2
     4Tested up to: 6.7.1
    55Requires at least: 4.9
    66Requires PHP: 5.6.20
    7 Stable tag: 1.9.1
     7Stable tag: 1.9.3
    88License: GPLv2 or later
    99License URI: https://www.gnu.org/licenses/gpl-2.0.html
     
    2222
    2323== Changelog ==
     24
     25= 1.9.3 (2024/12/05) =
     26
     27Fix:
     28* Notification about plugin version update
    2429
    2530= 1.9.1 (2024/10/31) =
  • seowriting/tags/1.9.3/seowriting.php

    r3179660 r3203089  
    99 * Plugin Name:       SEOWriting
    1010 * Description:       SEOWriting - AI Writing Tool Plugin For Text Generation
    11  * Version:           1.9.1
     11 * Version:           1.9.3
    1212 * Author:            SEOWriting
    1313 * Author URI:        https://seowriting.ai/?utm_source=wp_plugin
     
    2828        public $plugin_slug;
    2929        public $plugin_path;
    30         public $version = '1.9.1';
     30        public $version = '1.9.3';
    3131        /**
    3232         * @var \SEOWriting\APIClient|null
     
    208208        public function onUpdate($upgrader_object, $options)
    209209        {
    210             return $this->getAPIClient()->update($this->version);
     210            if (
     211                !is_array($options)
     212                || !isset($options['action'])
     213                || $options['action'] !== 'update'
     214                || !isset($options['type'])
     215                || $options['type'] !== 'plugin'
     216                || !isset($options['plugins'])
     217                || !isset($options['plugins'][0])
     218            ) {
     219                return false;
     220            }
     221            foreach ($options['plugins']  as $plugin) {
     222                if (strpos($plugin, 'seowriting.php') !== false) {
     223                    return $this->getAPIClient()->update($this->version);
     224                }
     225            }
     226
     227            return false;
    211228        }
    212229
  • seowriting/trunk/readme.txt

    r3179660 r3203089  
    22Contributors: SEOWriting
    33Tags: seo writing, AI tool, AI writing, generation text
    4 Tested up to: 6.6.2
     4Tested up to: 6.7.1
    55Requires at least: 4.9
    66Requires PHP: 5.6.20
    7 Stable tag: 1.9.1
     7Stable tag: 1.9.3
    88License: GPLv2 or later
    99License URI: https://www.gnu.org/licenses/gpl-2.0.html
     
    2222
    2323== Changelog ==
     24
     25= 1.9.3 (2024/12/05) =
     26
     27Fix:
     28* Notification about plugin version update
    2429
    2530= 1.9.1 (2024/10/31) =
  • seowriting/trunk/seowriting.php

    r3179660 r3203089  
    99 * Plugin Name:       SEOWriting
    1010 * Description:       SEOWriting - AI Writing Tool Plugin For Text Generation
    11  * Version:           1.9.1
     11 * Version:           1.9.3
    1212 * Author:            SEOWriting
    1313 * Author URI:        https://seowriting.ai/?utm_source=wp_plugin
     
    2828        public $plugin_slug;
    2929        public $plugin_path;
    30         public $version = '1.9.1';
     30        public $version = '1.9.3';
    3131        /**
    3232         * @var \SEOWriting\APIClient|null
     
    208208        public function onUpdate($upgrader_object, $options)
    209209        {
    210             return $this->getAPIClient()->update($this->version);
     210            if (
     211                !is_array($options)
     212                || !isset($options['action'])
     213                || $options['action'] !== 'update'
     214                || !isset($options['type'])
     215                || $options['type'] !== 'plugin'
     216                || !isset($options['plugins'])
     217                || !isset($options['plugins'][0])
     218            ) {
     219                return false;
     220            }
     221            foreach ($options['plugins']  as $plugin) {
     222                if (strpos($plugin, 'seowriting.php') !== false) {
     223                    return $this->getAPIClient()->update($this->version);
     224                }
     225            }
     226
     227            return false;
    211228        }
    212229
Note: See TracChangeset for help on using the changeset viewer.