Changeset 1003807
- Timestamp:
- 10/08/2014 01:10:07 PM (11 years ago)
- Location:
- cn-excerpt/trunk
- Files:
-
- 3 edited
-
readme.txt (modified) (1 diff)
-
wp-cn-excerpt.js (modified) (1 diff)
-
wp-cn-excerpt.php (modified) (3 diffs)
Legend:
- Unmodified
- Added
- Removed
-
cn-excerpt/trunk/readme.txt
r1003564 r1003807 5 5 Requires at least: 3.2 6 6 Tested up to: 4.0 7 Stable tag:4.3. 37 Stable tag:4.3.4 8 8 9 9 -
cn-excerpt/trunk/wp-cn-excerpt.js
r1003296 r1003807 62 62 }); 63 63 64 $('input[id^="tag"]').click(function(){ 65 $('input[value="_all"]').attr('checked', false); 66 }); 67 68 $('input[value="_all"]').click(function(){ 69 $('input[id^="tag"]').attr('checked', false); 70 }); 71 64 72 // Uncheck all boxes 65 73 $('#' + plugin_prefix + '_select_none').click(function(event) -
cn-excerpt/trunk/wp-cn-excerpt.php
r1003564 r1003807 4 4 Plugin URI: http://wordpress.org/plugins/cn-excerpt/ 5 5 Description: WordPress高级摘要插件。支持在后台设置摘要长度,摘要最后的显示字符,以及允许哪些html标记在摘要中显示 6 Version:4.3. 36 Version:4.3.4 7 7 Author: Carlos 8 8 Author URI: http://weibo.com/joychaocc … … 362 362 $readMore = (get_magic_quotes_gpc() == 1) ? stripslashes($_POST[$this->name . '_read_more']) : $_POST[$this->name . '_read_more']; 363 363 $allowedTags = array_unique((array)$_POST[$this->name . '_allowed_tags']); 364 if (in_array('_all', $allowedTags)) { 365 $allowedTags = array('_all'); 366 } 364 367 365 368 update_option($this->name . '_length', $maxLength); … … 370 373 update_option($this->name . '_read_more', $readMore); 371 374 update_option($this->name . '_add_link', $addLink); 372 update_option($this->name . '_allowed Tags', $allowedTags);375 update_option($this->name . '_allowed_tags', $allowedTags); 373 376 374 377 $this->loadOptions();
Note: See TracChangeset
for help on using the changeset viewer.