Changeset 626769
- Timestamp:
- 11/19/2012 01:46:28 AM (13 years ago)
- Location:
- cn-excerpt/trunk
- Files:
-
- 2 edited
-
readme.txt (modified) (2 diffs)
-
wp-cn-excerpt.php (modified) (3 diffs)
Legend:
- Unmodified
- Added
- Removed
-
cn-excerpt/trunk/readme.txt
r626442 r626769 5 5 Requires at least: 3.2 6 6 Tested up to: 3.4.2 7 Stable tag: 4.2. 27 Stable tag: 4.2.3 8 8 9 9 … … 44 44 添加可选the_excerpt显示摘要选项 45 45 46 -
cn-excerpt/trunk/wp-cn-excerpt.php
r626442 r626769 4 4 Plugin URI: http://www.joychao.cc/692.html 5 5 Description: WordPress高级摘要插件。支持在后台设置摘要长度,摘要最后的显示字符,以及允许哪些html标记在摘要中显示 6 Version: 4.2. 26 Version: 4.2.3 7 7 Author: Joychao 8 8 Author URI: http://www.joychao.cc … … 13 13 class AdvancedExcerpt 14 14 { 15 // Plugin configuration 15 // Plugin configuration 16 16 public $name; 17 17 public $text_domain; … … 132 132 // (<[^>]+>|[^<>\s]+\s*) 133 133 preg_match_all('/(<[^>]+>|[^<>\s]+)\s*/u', $text, $tokens); 134 var_dump($tokens);135 134 foreach ($tokens[1] as $t) 136 135 { // Parse each token
Note: See TracChangeset
for help on using the changeset viewer.