WordPress.org

Plugin Directory

Changeset 474502


Ignore:
Timestamp:
12/13/11 09:16:47 (2 years ago)
Author:
novaclic
Message:
  • rssimport.php :

Bugfix: noitems string display is back
Improvement: html_entity_decode feedurl when using shortcodes
code version: 4.4.11n1

  • readme.txt :

corrected help for shortcode usage (removed commas)
changelog updated with version 4.4.11

Location:
rss-import/trunk
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • rss-import/trunk/readme.txt

    r462138 r474502  
    8989_The shortcode with a lot of parameters:_ 
    9090 
    91 `[RSSImport display="10", feedurl="http://your_feed_url/", ` 
    92 `displaydescriptions="true", html="true"` 
    93 `start_items="<ol>", end_items="</ol>", paging="true" ]` 
     91`[RSSImport display="10", feedurl="http://your_feed_url/" ` 
     92`displaydescriptions="true" html="true"` 
     93`start_items="<ol>" end_items="</ol>" paging="true" ]` 
    9494 
    9595= Localizations = 
     
    121121 
    122122== Changelog == 
     123= v4.4.11 (13/12/2011) = 
     124* Bugfix: noitems string display is back 
     125* Improvement: html_entity_decode feedurl when using shortcodes 
     126 
    123127= v4.4.10 (01/12/2011) = 
    124128* Bugfix: add param desc4title on shortcodes 
  • rss-import/trunk/rssimport.php

    r331505 r474502  
    33 * @package WP-RSSImport 
    44 * @author Frank B&uuml;ltge 
    5  * @version 4.4.10 
     5 * @version 4.4.11n1 
    66 */ 
    77  
     
    1313Description: Import and display Feeds in your blog, use the function RSSImport(), a Widget or Shortcode [RSSImport]. Please see the new <a href="http://wordpress.org/extend/plugins/rss-import/">possibilities</a>. 
    1414Author: Frank B&uuml;ltge 
    15 Version: 4.4.10 
     15Version: 4.4.11n1 
    1616License: GPL 
    1717Author URI: http://bueltge.de/ 
    18 Last change: 11.01.2011 
     18Last change: 13.12.2011 
    1919*/  
    2020 
     
    330330        } 
    331331         
    332         if ($echo) 
     332        if (strip_tags($echo)) { // novaclic: needed to filter out false content madeof tags alone (html comments, html tags, ...) 
    333333            $echo = wptexturize($start_items . $echo . $end_items); 
    334         else 
     334        } else 
    335335            $echo = wptexturize($before_noitems . $noitems . $after_noitems); 
    336336         
     
    527527        $use_simplepie = 1; 
    528528    $use_simplepie = intval($use_simplepie); 
     529    $feedurl = html_entity_decode( $feedurl ); // novaclic: undo encoding due to wordpress WYSIWYG editor 
    529530     
    530531    $return = RSSImport( 
Note: See TracChangeset for help on using the changeset viewer.