Support » Plugin: RSS Importer » Categories import are empty – resolved – update code

  • Hi ,

    I just want to share the solution to my problem.
    When i import the rss…
    The categories were created but the title stayed empty.

    I modified the code like this and it worked fine.

    You just need to find this line foreach ($categories as $category) {

    under the line you should find and replace the line $categories[$cat_index] = $wpdb->escape( html_entity_decode( $category ) );

    by this one : $categories[$cat_index] = str_replace(array('<![CDATA[', ']]>'), '', $wpdb->escape( trim($category) ));

    Hope this can help.
    Cécile

    https://wordpress.org/plugins/rss-importer/

  • The topic ‘Categories import are empty – resolved – update code’ is closed to new replies.