Changeset 3290503
- Timestamp:
- 05/09/2025 01:19:13 PM (11 months ago)
- Location:
- seowriting
- Files:
-
- 2 edited
- 7 copied
-
tags/1.11.9 (copied) (copied from seowriting/trunk)
-
tags/1.11.9/assets/css/admin.css (copied) (copied from seowriting/trunk/assets/css/admin.css)
-
tags/1.11.9/classes/api-client.php (copied) (copied from seowriting/trunk/classes/api-client.php)
-
tags/1.11.9/classes/settings-form.php (copied) (copied from seowriting/trunk/classes/settings-form.php)
-
tags/1.11.9/readme.txt (copied) (copied from seowriting/trunk/readme.txt) (2 diffs)
-
tags/1.11.9/seowriting.php (copied) (copied from seowriting/trunk/seowriting.php) (4 diffs)
-
tags/1.11.9/utils.php (copied) (copied from seowriting/trunk/utils.php)
-
trunk/readme.txt (modified) (2 diffs)
-
trunk/seowriting.php (modified) (4 diffs)
Legend:
- Unmodified
- Added
- Removed
-
seowriting/tags/1.11.9/readme.txt
r3289959 r3290503 5 5 Requires at least: 4.9 6 6 Requires PHP: 5.6.20 7 Stable tag: 1.11. 87 Stable tag: 1.11.9 8 8 License: GPLv2 or later 9 9 License URI: https://www.gnu.org/licenses/gpl-2.0.html … … 22 22 23 23 == Changelog == 24 25 = 1.11.9 (2025/05/09) = 26 27 Fix: 28 * Custom CSS for Super Page 24 29 25 30 = 1.11.8 (2025/05/08) = -
seowriting/tags/1.11.9/seowriting.php
r3289959 r3290503 9 9 * Plugin Name: SEOWriting 10 10 * Description: SEOWriting - AI Writing Tool Plugin For Text Generation 11 * Version: 1.11. 811 * Version: 1.11.9 12 12 * Author: SEOWriting 13 13 * Author URI: https://seowriting.ai/?utm_source=wp_plugin … … 28 28 public $plugin_slug; 29 29 public $plugin_path; 30 public $version = '1.11. 8';30 public $version = '1.11.9'; 31 31 /** 32 32 * @var \SEOWriting\APIClient|null … … 722 722 private function addStyles($content) 723 723 { 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)) { 725 725 $content = str_replace('styled-container', 'styled-container-'.md5((string)microtime(true)), '<style>'.file_get_contents($this->css_file).'</style>' . $content); 726 726 } … … 730 730 public function onContent($content) 731 731 { 732 if (!is_single() ) {732 if (!is_single() && !is_page()) { 733 733 return $content; 734 734 } -
seowriting/trunk/readme.txt
r3289959 r3290503 5 5 Requires at least: 4.9 6 6 Requires PHP: 5.6.20 7 Stable tag: 1.11. 87 Stable tag: 1.11.9 8 8 License: GPLv2 or later 9 9 License URI: https://www.gnu.org/licenses/gpl-2.0.html … … 22 22 23 23 == Changelog == 24 25 = 1.11.9 (2025/05/09) = 26 27 Fix: 28 * Custom CSS for Super Page 24 29 25 30 = 1.11.8 (2025/05/08) = -
seowriting/trunk/seowriting.php
r3289959 r3290503 9 9 * Plugin Name: SEOWriting 10 10 * Description: SEOWriting - AI Writing Tool Plugin For Text Generation 11 * Version: 1.11. 811 * Version: 1.11.9 12 12 * Author: SEOWriting 13 13 * Author URI: https://seowriting.ai/?utm_source=wp_plugin … … 28 28 public $plugin_slug; 29 29 public $plugin_path; 30 public $version = '1.11. 8';30 public $version = '1.11.9'; 31 31 /** 32 32 * @var \SEOWriting\APIClient|null … … 722 722 private function addStyles($content) 723 723 { 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)) { 725 725 $content = str_replace('styled-container', 'styled-container-'.md5((string)microtime(true)), '<style>'.file_get_contents($this->css_file).'</style>' . $content); 726 726 } … … 730 730 public function onContent($content) 731 731 { 732 if (!is_single() ) {732 if (!is_single() && !is_page()) { 733 733 return $content; 734 734 }
Note: See TracChangeset
for help on using the changeset viewer.