Plugin Directory

Changeset 3288515


Ignore:
Timestamp:
05/06/2025 02:47:54 PM (11 months ago)
Author:
seowriting
Message:

New version of plugin: 1.11.2

Location:
seowriting
Files:
2 edited
7 copied

Legend:

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

    r3288505 r3288515  
    55Requires at least: 4.9
    66Requires PHP: 5.6.20
    7 Stable tag: 1.11.1
     7Stable tag: 1.11.2
    88License: GPLv2 or later
    99License URI: https://www.gnu.org/licenses/gpl-2.0.html
     
    2222
    2323== Changelog ==
     24
     25= 1.11.2 (2025/05/06) =
     26
     27Fix:
     28* Custom CSS for Super Page
    2429
    2530= 1.11.1 (2025/05/06) =
  • seowriting/tags/1.11.2/seowriting.php

    r3288505 r3288515  
    99 * Plugin Name:       SEOWriting
    1010 * Description:       SEOWriting - AI Writing Tool Plugin For Text Generation
    11  * Version:           1.11.1
     11 * Version:           1.11.2
    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.11.1';
     30        public $version = '1.11.2';
    3131        /**
    3232         * @var \SEOWriting\APIClient|null
     
    142142        public function activate()
    143143        {
    144             update_option(self::SETTINGS_PLUGIN_VERSION, $this->version);
     144            $this->setPluginVersion();
    145145            $this->setDefaultCSS();
    146146        }
     
    231231        public function onUpdate($upgrader_object, $options)
    232232        {
    233             $this->setDefaultCSS();
    234233            if (
    235234                !is_array($options)
     
    245244            foreach ($options['plugins'] as $plugin) {
    246245                if (strpos($plugin, 'seowriting.php') !== false) {
     246                    $this->setPluginVersion();
     247                    $this->setDefaultCSS();
    247248                    return $this->getAPIClient()->update($this->version);
    248249                }
     
    250251
    251252            return false;
     253        }
     254
     255        private function setPluginVersion() {
     256            update_option(self::SETTINGS_PLUGIN_VERSION, $this->version);
    252257        }
    253258
  • seowriting/trunk/readme.txt

    r3288505 r3288515  
    55Requires at least: 4.9
    66Requires PHP: 5.6.20
    7 Stable tag: 1.11.1
     7Stable tag: 1.11.2
    88License: GPLv2 or later
    99License URI: https://www.gnu.org/licenses/gpl-2.0.html
     
    2222
    2323== Changelog ==
     24
     25= 1.11.2 (2025/05/06) =
     26
     27Fix:
     28* Custom CSS for Super Page
    2429
    2530= 1.11.1 (2025/05/06) =
  • seowriting/trunk/seowriting.php

    r3288505 r3288515  
    99 * Plugin Name:       SEOWriting
    1010 * Description:       SEOWriting - AI Writing Tool Plugin For Text Generation
    11  * Version:           1.11.1
     11 * Version:           1.11.2
    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.11.1';
     30        public $version = '1.11.2';
    3131        /**
    3232         * @var \SEOWriting\APIClient|null
     
    142142        public function activate()
    143143        {
    144             update_option(self::SETTINGS_PLUGIN_VERSION, $this->version);
     144            $this->setPluginVersion();
    145145            $this->setDefaultCSS();
    146146        }
     
    231231        public function onUpdate($upgrader_object, $options)
    232232        {
    233             $this->setDefaultCSS();
    234233            if (
    235234                !is_array($options)
     
    245244            foreach ($options['plugins'] as $plugin) {
    246245                if (strpos($plugin, 'seowriting.php') !== false) {
     246                    $this->setPluginVersion();
     247                    $this->setDefaultCSS();
    247248                    return $this->getAPIClient()->update($this->version);
    248249                }
     
    250251
    251252            return false;
     253        }
     254
     255        private function setPluginVersion() {
     256            update_option(self::SETTINGS_PLUGIN_VERSION, $this->version);
    252257        }
    253258
Note: See TracChangeset for help on using the changeset viewer.