Plugin Directory

Changeset 3290503


Ignore:
Timestamp:
05/09/2025 01:19:13 PM (11 months ago)
Author:
seowriting
Message:

New version of plugin: 1.11.9

Location:
seowriting
Files:
2 edited
7 copied

Legend:

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

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

    r3289959 r3290503  
    99 * Plugin Name:       SEOWriting
    1010 * Description:       SEOWriting - AI Writing Tool Plugin For Text Generation
    11  * Version:           1.11.8
     11 * Version:           1.11.9
    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.8';
     30        public $version = '1.11.9';
    3131        /**
    3232         * @var \SEOWriting\APIClient|null
     
    722722        private function addStyles($content)
    723723        {
    724             if (is_single() && get_post_meta((int)get_the_ID(), self::SETTINGS_GENERATOR_NAME_KEY, true) == self::SETTINGS_GENERATOR_NAME && is_readable($this->css_file)) {
     724            if ((is_single() || is_page()) && get_post_meta((int)get_the_ID(), self::SETTINGS_GENERATOR_NAME_KEY, true) == self::SETTINGS_GENERATOR_NAME && is_readable($this->css_file)) {
    725725                $content = str_replace('styled-container', 'styled-container-'.md5((string)microtime(true)), '<style>'.file_get_contents($this->css_file).'</style>' . $content);
    726726            }
     
    730730        public function onContent($content)
    731731        {
    732             if (!is_single()) {
     732            if (!is_single() && !is_page()) {
    733733                return $content;
    734734            }
  • seowriting/trunk/readme.txt

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

    r3289959 r3290503  
    99 * Plugin Name:       SEOWriting
    1010 * Description:       SEOWriting - AI Writing Tool Plugin For Text Generation
    11  * Version:           1.11.8
     11 * Version:           1.11.9
    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.8';
     30        public $version = '1.11.9';
    3131        /**
    3232         * @var \SEOWriting\APIClient|null
     
    722722        private function addStyles($content)
    723723        {
    724             if (is_single() && get_post_meta((int)get_the_ID(), self::SETTINGS_GENERATOR_NAME_KEY, true) == self::SETTINGS_GENERATOR_NAME && is_readable($this->css_file)) {
     724            if ((is_single() || is_page()) && get_post_meta((int)get_the_ID(), self::SETTINGS_GENERATOR_NAME_KEY, true) == self::SETTINGS_GENERATOR_NAME && is_readable($this->css_file)) {
    725725                $content = str_replace('styled-container', 'styled-container-'.md5((string)microtime(true)), '<style>'.file_get_contents($this->css_file).'</style>' . $content);
    726726            }
     
    730730        public function onContent($content)
    731731        {
    732             if (!is_single()) {
     732            if (!is_single() && !is_page()) {
    733733                return $content;
    734734            }
Note: See TracChangeset for help on using the changeset viewer.