Changeset 922213
- Timestamp:
- 05/28/2014 06:46:56 AM (12 years ago)
- Location:
- advanced-excerpt
- Files:
-
- 22 added
- 4 edited
-
tags/4.2.1 (added)
-
tags/4.2.1/advanced-excerpt.php (added)
-
tags/4.2.1/asset (added)
-
tags/4.2.1/asset/css (added)
-
tags/4.2.1/asset/css/styles.css (added)
-
tags/4.2.1/asset/img (added)
-
tags/4.2.1/asset/img/wp-migrate-db-pro.jpg (added)
-
tags/4.2.1/asset/img/wp-migrate-db-pro@2x.jpg (added)
-
tags/4.2.1/asset/js (added)
-
tags/4.2.1/asset/js/advanced-excerpt.js (added)
-
tags/4.2.1/asset/js/advanced-excerpt.min.js (added)
-
tags/4.2.1/class (added)
-
tags/4.2.1/class/advanced-excerpt.php (added)
-
tags/4.2.1/functions (added)
-
tags/4.2.1/functions/functions.php (added)
-
tags/4.2.1/languages (added)
-
tags/4.2.1/languages/advanced-excerpt.pot (added)
-
tags/4.2.1/readme.txt (added)
-
tags/4.2.1/template (added)
-
tags/4.2.1/template/options.php (added)
-
tags/4.2.1/template/sidebar.php (added)
-
tags/4.2.1/uninstall.php (added)
-
trunk/advanced-excerpt.php (modified) (1 diff)
-
trunk/class/advanced-excerpt.php (modified) (1 diff)
-
trunk/functions/functions.php (modified) (1 diff)
-
trunk/readme.txt (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
advanced-excerpt/trunk/advanced-excerpt.php
r921436 r922213 4 4 Plugin URI: http://wordpress.org/plugins/advanced-excerpt/ 5 5 Description: Control the appearance of WordPress post excerpts 6 Version: 4.2 6 Version: 4.2.1 7 7 Author: Delicious Brains 8 8 Author URI: http://deliciousbrains.com/ 9 9 */ 10 10 11 $GLOBALS['advanced_excerpt_version'] = '4.2 ';11 $GLOBALS['advanced_excerpt_version'] = '4.2.1'; 12 12 13 13 function advanced_excerpt_load_textdomain() { -
advanced-excerpt/trunk/class/advanced-excerpt.php
r921436 r922213 238 238 239 239 // Determine allowed tags 240 if ( !isset( $allowed_tags ) ) {240 if ( empty( $allowed_tags ) ) { 241 241 $allowed_tags = $this->options_all_tags; 242 242 } 243 243 244 if ( isset( $exclude_tags ) ) {244 if ( ! empty( $exclude_tags ) ) { 245 245 $allowed_tags = array_diff( $allowed_tags, $exclude_tags ); 246 246 } -
advanced-excerpt/trunk/functions/functions.php
r921436 r922213 51 51 } 52 52 53 if ( ! empty( $args['allowed_tags'] ) || ! empty( $args['exclude_tags'] ) ) { 54 if ( isset( $args['allowed_tags'] ) && ! in_array( '_all', (array) $args['allowed_tags'] ) ) { 55 $args['allowed_tags_option'] = 'remove_all_tags_except'; 56 } else if ( ! isset( $args['allowed_tags'] ) ) { 57 $args['allowed_tags_option'] = 'remove_all_tags_except'; 58 } 59 } 60 53 61 // Set temporary options 54 $advanced_excerpt->options = $args;62 $advanced_excerpt->options = wp_parse_args( $args, $advanced_excerpt->default_options ); 55 63 56 64 if ( $get ) { -
advanced-excerpt/trunk/readme.txt
r921444 r922213 5 5 Requires at least: 3.2 6 6 Tested up to: 3.9 7 Stable tag: 4.2 7 Stable tag: 4.2.1 8 8 License: GPLv3 9 9 … … 97 97 == Changelog == 98 98 99 == 4.2.1 == 100 * Fix: Undefined index errors when using the `the_advanced_excerpt()` function 101 * Fix: Not excluding tags when using the `exclude_tags` argument in the `the_advanced_excerpt()` function 102 99 103 = 4.2 = 100 104 * Feature: Toggle excerpt filtering when there's no break (<!--more-->) tag in the post content
Note: See TracChangeset
for help on using the changeset viewer.