Plugin Directory

Changeset 3109539

Timestamp:
06/29/2024 05:28:38 AM (6 weeks ago)
Author:
looswebstudio
Message:

Update to version 3.3.0 from GitHub

Location:
seo-simple-pack
Files:
6 edited
1 copied

Legend:

Unmodified
Added
Removed
  • seo-simple-pack/tags/3.3.0/class/output.php

    r2856274 r3109539  
    782782                    if ( 'WP_Post' === $obj_type ) {
    783783                        $word_count = apply_filters( 'ssp_description_word_count', 120 );
    784                         $content    = wp_strip_all_tags( strip_shortcodes( $obj->post_content ), true ); // 改行なども削除
    785                         $replace    = mb_substr( $content, 0, $word_count );
     784                        if ( post_password_required( $obj ) ) {
     785                            // パスワード保護されている場合は本文取得しない
     786                            $content = apply_filters( 'ssp_protected_description', '' );
     787                        } else {
     788                            $content = wp_strip_all_tags( strip_shortcodes( $obj->post_content ), true ); // 改行なども削除
     789                        }
     790                        $replace = mb_substr( $content, 0, $word_count );
    786791                    }
    787792                    break;
  • seo-simple-pack/tags/3.3.0/readme.txt

    r2990982 r3109539  
    44Tags: SEO, meta, analytics, wsebmaster, simple, japan, meta tag
    55Requires at least: 4.9
    6 Tested up to: 6.4
    7 Stable tag:  3.2.1
     6Tested up to: 6.
     7Stable tag:  3.
    88Requires PHP: 7.0
    99License: GPLv2 or later
  • seo-simple-pack/tags/3.3.0/seo-simple-pack.php

    r2990982 r3109539  
    44 * Plugin URI: https://wemo.tech/1670
    55 * Description: A very simple SEO plugin. You can easily set and customize meta tags and OGP tags for each page.
    6  * Version: 3.2.1
     6 * Version: 3.
    77 * Author: LOOS,Inc.
    88 * Author URI: https://loos-web-studio.com/
  • seo-simple-pack/trunk/class/output.php

    r2856274 r3109539  
    782782                    if ( 'WP_Post' === $obj_type ) {
    783783                        $word_count = apply_filters( 'ssp_description_word_count', 120 );
    784                         $content    = wp_strip_all_tags( strip_shortcodes( $obj->post_content ), true ); // 改行なども削除
    785                         $replace    = mb_substr( $content, 0, $word_count );
     784                        if ( post_password_required( $obj ) ) {
     785                            // パスワード保護されている場合は本文取得しない
     786                            $content = apply_filters( 'ssp_protected_description', '' );
     787                        } else {
     788                            $content = wp_strip_all_tags( strip_shortcodes( $obj->post_content ), true ); // 改行なども削除
     789                        }
     790                        $replace = mb_substr( $content, 0, $word_count );
    786791                    }
    787792                    break;
  • seo-simple-pack/trunk/readme.txt

    r2990982 r3109539  
    44Tags: SEO, meta, analytics, wsebmaster, simple, japan, meta tag
    55Requires at least: 4.9
    6 Tested up to: 6.4
    7 Stable tag:  3.2.1
     6Tested up to: 6.
     7Stable tag:  3.
    88Requires PHP: 7.0
    99License: GPLv2 or later
  • seo-simple-pack/trunk/seo-simple-pack.php

    r2990982 r3109539  
    44 * Plugin URI: https://wemo.tech/1670
    55 * Description: A very simple SEO plugin. You can easily set and customize meta tags and OGP tags for each page.
    6  * Version: 3.2.1
     6 * Version: 3.
    77 * Author: LOOS,Inc.
    88 * Author URI: https://loos-web-studio.com/
Note: See TracChangeset for help on using the changeset viewer.