Plugin Directory

Changeset 626769


Ignore:
Timestamp:
11/19/2012 01:46:28 AM (13 years ago)
Author:
joychao.cc
Message:

v4.2.3

Location:
cn-excerpt/trunk
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • cn-excerpt/trunk/readme.txt

    r626442 r626769  
    55Requires at least: 3.2
    66Tested up to: 3.4.2
    7 Stable tag: 4.2.2
     7Stable tag: 4.2.3
    88
    99
     
    4444添加可选the_excerpt显示摘要选项
    4545
     46 
  • cn-excerpt/trunk/wp-cn-excerpt.php

    r626442 r626769  
    44Plugin URI: http://www.joychao.cc/692.html
    55Description: WordPress高级摘要插件。支持在后台设置摘要长度,摘要最后的显示字符,以及允许哪些html标记在摘要中显示
    6 Version: 4.2.2
     6Version: 4.2.3
    77Author: Joychao
    88Author URI: http://www.joychao.cc
     
    1313  class AdvancedExcerpt
    1414  {
    15     // Plugin configuration
     15    // Plugin configuration 
    1616    public $name;
    1717    public $text_domain;
     
    132132        // (<[^>]+>|[^<>\s]+\s*)
    133133        preg_match_all('/(<[^>]+>|[^<>\s]+)\s*/u', $text, $tokens);
    134         var_dump($tokens);
    135134        foreach ($tokens[1] as $t)
    136135        { // Parse each token
Note: See TracChangeset for help on using the changeset viewer.