Plugin Directory

Changeset 902608


Ignore:
Timestamp:
04/25/2014 12:37:54 PM (12 years ago)
Author:
primestrategy
Message:

Commit WP SiteManager ver 1.0.15

Location:
wp-sitemanager/trunk
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • wp-sitemanager/trunk/modules/meta-manager.php

    r879379 r902608  
    2727    var $parent;
    2828    var $_server_https;
     29    var $meta_description_chars = 120;
     30    var $ogp_description_chars = 120;
    2931
    3032    function __construct( $parent ) {
     
    220222        $meta['description'] = $option['description'];
    221223    }
    222     $meta['description'] = mb_substr( $meta['description'], 0, 120, 'UTF-8' );
     224    $this->meta_description_chars = apply_filters( 'wp_sitemanager_meta_description_chars', $this->meta_description_chars );
     225    $meta['description'] = mb_substr( $meta['description'], 0, $this->meta_description_chars, 'UTF-8' );
    223226    return $meta;
    224227}
     
    341344
    342345    // Shorten the description if it's too long
    343     $og_tags['og:description'] = mb_substr( $og_tags['og:description'], 0, 120, 'UTF-8' );
     346    $this->ogp_description_chars = apply_filters( 'wp_sitemanager_ogp_description_chars', $this->ogp_description_chars );
     347    $og_tags['og:description'] = mb_substr( $og_tags['og:description'], 0, $this->ogp_description_chars, 'UTF-8' );
    344348   
    345349    $og_tags = apply_filters( 'wp_sitemanager_open_graph_tags', $og_tags );
  • wp-sitemanager/trunk/readme.txt

    r879379 r902608  
    33Tags: cms, mobile, sitemap, pager, page navi, breadcrumb
    44Requires at least: 3.5
    5 Tested up to: 3.8.1
    6 Stable tag: 1.0.14
     5Tested up to: 3.9
     6Stable tag: 1.0.15
    77
    88WP SiteManager is an integrated package comprising of necessary functions for using WordPress as a CMS.
     
    3434
    3535== Changelog ==
     36= 1.0.15 =
     37* change : add two filter hooks. "wp_sitemanager_meta_description_chars" and "wp_sitemanager_ogp_description_chars"
     38
    3639= 1.0.14 =
    3740* fix : Strict standard error.
  • wp-sitemanager/trunk/wp-sitemanager.php

    r879379 r902608  
    55 Description: WP SiteManager は、WordPress を CMS として利用する際に必須となる機能を複数搭載した統合プラグインです。
    66 Author: Prime Strategy Co.,LTD.
    7  Version: 1.0.14
     7 Version: 1.0.15
    88 Author URI: http://www.prime-strategy.co.jp/
    99 License: GPLv2 or later
Note: See TracChangeset for help on using the changeset viewer.