Changeset 472712
- Timestamp:
- 12/09/2011 04:11:28 AM (14 years ago)
- Location:
- recent-posts-plus/tags/1.0.9
- Files:
-
- 2 edited
-
readme.txt (modified) (2 diffs)
-
recent-posts-plus.php (modified) (3 diffs)
Legend:
- Unmodified
- Added
- Removed
-
recent-posts-plus/tags/1.0.9/readme.txt
r472711 r472712 37 37 38 38 == Changelog == 39 40 = 1.0.10 =41 * Fixed excerpt ellipsis being added to the title incorrectly42 39 43 40 = 1.0.9 = … … 88 85 == Upgrade Notice == 89 86 90 = 1.0.10 =91 Fixed excerpt ellipsis being added to the title incorrectly92 93 87 = 1.0.9 = 94 88 Added option to customize the ellipsis within the Widget Output Template -
recent-posts-plus/tags/1.0.9/recent-posts-plus.php
r472711 r472712 4 4 Plugin URI: http://www.pjgalbraith.com/2011/08/recent-posts-plus/ 5 5 Description: Provides a replacement for the recent posts widget with advanced settings 6 Version: 1.0. 106 Version: 1.0.9 7 7 Author: Patrick Galbraith 8 8 Author URI: http://www.pjgalbraith.com … … 170 170 171 171 //Deal with {ELLIPSIS}{/ELLIPSIS} tags, we parse it with the template tags, so you can use these tags in the excerpt 172 $truncate_elipsis_excerpt = $truncate_elipsis;173 172 if(!empty($truncate_elipsis_template)) { 174 $truncate_elipsis _excerpt= str_replace(array_keys($widget_ouput_template_params), array_values($widget_ouput_template_params), $truncate_elipsis_template);173 $truncate_elipsis = str_replace(array_keys($widget_ouput_template_params), array_values($widget_ouput_template_params), $truncate_elipsis_template); 175 174 $widget_output_template = preg_replace('/\{ELLIPSIS\}(.*?)\{\/ELLIPSIS\}/', '', $widget_output_template); //remove {ELLIPSIS}{/ELLIPSIS} tags from widget_output_template 176 175 } … … 184 183 $POST_EXCERPT = $POST_EXCERPT_RAW; 185 184 else 186 $POST_EXCERPT = $this->_custom_trim_excerpt($truncate_post_excerpt, $truncate_elipsis _excerpt, $truncate_post_excerpt_type);185 $POST_EXCERPT = $this->_custom_trim_excerpt($truncate_post_excerpt, $truncate_elipsis, $truncate_post_excerpt_type); 187 186 } 188 187
Note: See TracChangeset
for help on using the changeset viewer.