Plugin Directory

Changeset 1058256


Ignore:
Timestamp:
01/02/2015 08:37:36 AM (11 years ago)
Author:
joychao.cc
Message:

bugfix

Location:
cn-excerpt/trunk
Files:
2 edited

Legend:

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

    r1007616 r1058256  
    44Donate link: https://github.com/overtrue
    55Requires at least: 3.2
    6 Tested up to: 4.0
     6Tested up to: 4.1
    77Stable tag:4.3.7
    88
  • cn-excerpt/trunk/wp-cn-excerpt.php

    r1007615 r1058256  
    44Plugin URI: http://wordpress.org/plugins/cn-excerpt/
    55Description: WordPress高级摘要插件。支持在后台设置摘要长度,摘要最后的显示字符,以及允许哪些html标记在摘要中显示
    6 Version:4.3.6
     6Version:4.3.7
    77Author: Carlos
    88Author URI: http://weibo.com/joychaocc
     
    9090            return $text;
    9191        }
    92 
     92    if (!get_post()) {
     93        return false;
     94    }
     95    $text = get_post()->post_content();
    9396        $allowedTags = $this->options['allowed_tags'];
    9497        $text = force_balance_tags($text);
Note: See TracChangeset for help on using the changeset viewer.