Changeset 3137478
- Timestamp:
- 08/19/2024 09:46:48 AM (17 months ago)
- Location:
- seo-simple-pack
- Files:
-
- 6 edited
- 1 copied
-
tags/3.5.1 (copied) (copied from seo-simple-pack/trunk)
-
tags/3.5.1/class/output.php (modified) (4 diffs)
-
tags/3.5.1/readme.txt (modified) (2 diffs)
-
tags/3.5.1/seo-simple-pack.php (modified) (1 diff)
-
trunk/class/output.php (modified) (4 diffs)
-
trunk/readme.txt (modified) (2 diffs)
-
trunk/seo-simple-pack.php (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
seo-simple-pack/tags/3.5.1/class/output.php
r3137279 r3137478 181 181 private static function output_meta_tags() { 182 182 183 // if ( ! wp_is_block_theme() && ! empty( self::$title ) ) {184 //echo '<title>' . esc_html( self::$title ) . '</title>' . PHP_EOL;185 //}183 if ( ! wp_is_block_theme() && ! current_theme_supports( 'title-tag' ) && ! empty( self::$title ) ) { 184 echo '<title>' . esc_html( self::$title ) . '</title>' . PHP_EOL; 185 } 186 186 187 187 if ( ! empty( self::$robots ) ) { … … 765 765 if ( ! $snipets ) return $str; 766 766 767 // 区切り文字が最後にきたときに削除するか 768 $flag_rtrim_sepator = false; 769 767 770 // replace each snippets 768 771 foreach ( $matched as $snipet ) { … … 777 780 case '%_tagline_%': 778 781 $replace = \SSP_Data::$site_catch_phrase; 782 if ( empty( $replace ) ) { 783 $flag_rtrim_sepator = true; 784 } 779 785 break; 780 786 case '%_description_%': // old … … 873 879 } 874 880 881 // 区切り文字が最後にきたときに削除 882 if ( $flag_rtrim_sepator ) { 883 $str = rtrim( $str, " $separator " ); 884 } 885 875 886 // 空白が続いてる場合は1つに 876 887 // $str = str_replace( ' ', ' ', $str ); -
seo-simple-pack/tags/3.5.1/readme.txt
r3137279 r3137478 5 5 Requires at least: 4.9 6 6 Tested up to: 6.6 7 Stable tag: 3.5. 07 Stable tag: 3.5.1 8 8 Requires PHP: 7.0 9 9 License: GPLv2 or later … … 121 121 == Changelog == 122 122 123 = 3.5.1 = 124 - Fixed an issue where title tag was not output even for themes that did not support title-tag. 125 123 126 = 3.5.0 = 124 127 - Fixed an issue where duplicate title tags were being output in block themes. -
seo-simple-pack/tags/3.5.1/seo-simple-pack.php
r3137279 r3137478 4 4 * Plugin URI: https://wemo.tech/1670 5 5 * Description: A very simple SEO plugin. You can easily set and customize meta tags and OGP tags for each page. 6 * Version: 3.5. 06 * Version: 3.5.1 7 7 * Author: LOOS,Inc. 8 8 * Author URI: https://loos-web-studio.com/ -
seo-simple-pack/trunk/class/output.php
r3137279 r3137478 181 181 private static function output_meta_tags() { 182 182 183 // if ( ! wp_is_block_theme() && ! empty( self::$title ) ) {184 //echo '<title>' . esc_html( self::$title ) . '</title>' . PHP_EOL;185 //}183 if ( ! wp_is_block_theme() && ! current_theme_supports( 'title-tag' ) && ! empty( self::$title ) ) { 184 echo '<title>' . esc_html( self::$title ) . '</title>' . PHP_EOL; 185 } 186 186 187 187 if ( ! empty( self::$robots ) ) { … … 765 765 if ( ! $snipets ) return $str; 766 766 767 // 区切り文字が最後にきたときに削除するか 768 $flag_rtrim_sepator = false; 769 767 770 // replace each snippets 768 771 foreach ( $matched as $snipet ) { … … 777 780 case '%_tagline_%': 778 781 $replace = \SSP_Data::$site_catch_phrase; 782 if ( empty( $replace ) ) { 783 $flag_rtrim_sepator = true; 784 } 779 785 break; 780 786 case '%_description_%': // old … … 873 879 } 874 880 881 // 区切り文字が最後にきたときに削除 882 if ( $flag_rtrim_sepator ) { 883 $str = rtrim( $str, " $separator " ); 884 } 885 875 886 // 空白が続いてる場合は1つに 876 887 // $str = str_replace( ' ', ' ', $str ); -
seo-simple-pack/trunk/readme.txt
r3137279 r3137478 5 5 Requires at least: 4.9 6 6 Tested up to: 6.6 7 Stable tag: 3.5. 07 Stable tag: 3.5.1 8 8 Requires PHP: 7.0 9 9 License: GPLv2 or later … … 121 121 == Changelog == 122 122 123 = 3.5.1 = 124 - Fixed an issue where title tag was not output even for themes that did not support title-tag. 125 123 126 = 3.5.0 = 124 127 - Fixed an issue where duplicate title tags were being output in block themes. -
seo-simple-pack/trunk/seo-simple-pack.php
r3137279 r3137478 4 4 * Plugin URI: https://wemo.tech/1670 5 5 * Description: A very simple SEO plugin. You can easily set and customize meta tags and OGP tags for each page. 6 * Version: 3.5. 06 * Version: 3.5.1 7 7 * Author: LOOS,Inc. 8 8 * Author URI: https://loos-web-studio.com/
Note: See TracChangeset
for help on using the changeset viewer.