Changeset 902608
- Timestamp:
- 04/25/2014 12:37:54 PM (12 years ago)
- Location:
- wp-sitemanager/trunk
- Files:
-
- 3 edited
-
modules/meta-manager.php (modified) (3 diffs)
-
readme.txt (modified) (2 diffs)
-
wp-sitemanager.php (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
wp-sitemanager/trunk/modules/meta-manager.php
r879379 r902608 27 27 var $parent; 28 28 var $_server_https; 29 var $meta_description_chars = 120; 30 var $ogp_description_chars = 120; 29 31 30 32 function __construct( $parent ) { … … 220 222 $meta['description'] = $option['description']; 221 223 } 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' ); 223 226 return $meta; 224 227 } … … 341 344 342 345 // 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' ); 344 348 345 349 $og_tags = apply_filters( 'wp_sitemanager_open_graph_tags', $og_tags ); -
wp-sitemanager/trunk/readme.txt
r879379 r902608 3 3 Tags: cms, mobile, sitemap, pager, page navi, breadcrumb 4 4 Requires at least: 3.5 5 Tested up to: 3. 8.16 Stable tag: 1.0.1 45 Tested up to: 3.9 6 Stable tag: 1.0.15 7 7 8 8 WP SiteManager is an integrated package comprising of necessary functions for using WordPress as a CMS. … … 34 34 35 35 == Changelog == 36 = 1.0.15 = 37 * change : add two filter hooks. "wp_sitemanager_meta_description_chars" and "wp_sitemanager_ogp_description_chars" 38 36 39 = 1.0.14 = 37 40 * fix : Strict standard error. -
wp-sitemanager/trunk/wp-sitemanager.php
r879379 r902608 5 5 Description: WP SiteManager は、WordPress を CMS として利用する際に必須となる機能を複数搭載した統合プラグインです。 6 6 Author: Prime Strategy Co.,LTD. 7 Version: 1.0.1 47 Version: 1.0.15 8 8 Author URI: http://www.prime-strategy.co.jp/ 9 9 License: GPLv2 or later
Note: See TracChangeset
for help on using the changeset viewer.