Plugin Directory

Changeset 871375


Ignore:
Timestamp:
03/07/2014 07:00:56 PM (12 years ago)
Author:
lightsystem
Message:

version 0.5.2

Location:
rss-synchronization
Files:
19 added
5 edited

Legend:

Unmodified
Added
Removed
  • rss-synchronization/trunk/README.txt

    r871328 r871375  
    44Requires at least: 3.8
    55Tested up to: 3.8.1
    6 Stable tag: 0.5.1
     6Stable tag: 0.5.2
    77License: GPLv2 or later
    88License URI: http://www.gnu.org/licenses/gpl-2.0.html
     
    4646== Changelog ==
    4747
     48= 0.5.2 =
     49* Added support to thumbnail/featured images in posts when 'Link to media gallery' is selected in the settings.
     50
    4851= 0.5.1 =
    4952* Improved behaviour by instantly fetching feeds as soon as they are added in the settings.
  • rss-synchronization/trunk/admin/views/admin.php

    r871328 r871375  
    112112            <br/>
    113113            <label for="image_storage_options">
    114                 <?php _e("Plugin uses hotlinking by default. To import RSS feed images to your media gallery select 'Link to media gallery'."); ?>
     114                <?php _e("Note: For featured/thumbnail images to work in posts, choose 'Link to media gallery'"); ?>
    115115            </label>
    116116        </fieldset>
     
    127127        if($existing['rss_feeds'] != $options['rss_feeds']){
    128128            include_once( ABSPATH . 'wp-content/plugins/rss-sync/includes/class-rss-sync-tools.php' );
    129            
     129
    130130            $tools = RSS_Sync_Tools::get_instance();
    131131            $tools->rss_sync_fetch($options['rss_feeds']);
  • rss-synchronization/trunk/includes/class-rss-sync-tools.php

    r871328 r871375  
    5757
    5858        if(is_string($raw_feeds_to_fetch)){
    59             write_log('HERE!');
    6059            $rss_feeds_to_fetch = explode("\r\n", $raw_feeds_to_fetch);
    6160        }
     
    347346        $attach_data = wp_generate_attachment_metadata( $attach_id, $url );
    348347        wp_update_attachment_metadata( $attach_id, $attach_data );
     348        //Set as featured image
     349        set_post_thumbnail( $post_id, $attach_id );
    349350
    350351        return $upload;
  • rss-synchronization/trunk/public/class-rss-sync.php

    r871328 r871375  
    2727     * Plugin version, used for cache-busting of style and script file references.
    2828     *
    29      * @since   0.2.0
    30      *
    3129     * @var     string
    3230     */
    33     const VERSION = '0.5.1';
     31    const VERSION = '0.5.2';
    3432
    3533    const RSS_ID_CUSTOM_FIELD = 'rss_id';
  • rss-synchronization/trunk/rss-sync.php

    r871328 r871375  
    1313 * Plugin Name:       RSS Sync
    1414 * Description:       Synchronize posts with external RSS feed.
    15  * Version:           0.5.1
     15 * Version:           0.5.2
    1616 * Author:            Horta
    1717 * Text Domain:       rss-sync
Note: See TracChangeset for help on using the changeset viewer.