Plugin Directory

Changeset 1594911


Ignore:
Timestamp:
02/13/2017 12:34:36 PM (9 years ago)
Author:
fsquared
Message:

Added awareness of SSL, and updated 'compatible up to' version

Location:
f2-tumblr-widget
Files:
4 edited
1 copied

Legend:

Unmodified
Added
Removed
  • f2-tumblr-widget/tags/0.2.8/README.txt

    r1474571 r1594911  
    44Tags: widget, tumblr, feed
    55Requires at least: 3.3
    6 Tested up to: 4.5.3
    7 Stable tag: 0.2.7
     6Tested up to: 4.7.2
     7Stable tag: 0.2.8
    88License: GPLv2 or later
    99License URI: http://www.gnu.org/licenses/gpl-2.0.html
     
    4949to plain quotes, unless the 'Replace "special" characters' option is unticked.
    5050
     51= My blog has an SSL certificate (https://) and I'm getting 'unsecured content' warnings? =
     52
     53By default, this widget pulls data from Tumblr over http; this results in
     54displayed images also using this protocol. If you have an SSL certificate
     55installed on your blog, you may see warnings from your browser about 'unsecured
     56content' which refers to the images from Tumblr.
     57
     58If you change your Tumblr URL setting to be preceded by 'https://', the widget
     59will access Tumblr over https and the resulting images will also be served
     60securely.
     61
     62This will one day become the default approach, but for now is left up to the
     63user as it can potentially cause problems on badly configured web servers.
     64
    5165== Screenshots ==
    5266
     
    5468
    5569== Changelog ==
     70
     71= 0.2.8 =
     72* Will how honour the HTTP protocol of the source tumblr, if provided. This
     73  means that if you have an SSL certificate on your blog, you can avoid
     74  the widget generating 'unsecured content' warnings by providing your Tumblr
     75  URL with a 'https://' prefix.
    5676
    5777= 0.2.7 =
  • f2-tumblr-widget/tags/0.2.8/f2-tumblr.php

    r1288057 r1594911  
    1515 * Plugin URI:        http://www.fsquared.co.uk/software/f2-tumblr/
    1616 * Description:       Widget to display recent posts from a tumblr blog
    17  * Version:           0.2.7
     17 * Version:           0.2.8
    1818 * Author:            fsquared limited
    1919 * Author URI:        http://www.fsquared.co.uk
     
    172172
    173173            // So, fetch the data from Tumblr
    174             $tumblr_url = 'http://' . $local_params['tumblr']
     174            $tumblr_url = $local_params['tumblr']
    175175                        . '/api/read?num=' . $local_params['posts'];
    176176            if ( 'all' != $local_params['post_type'] ) {
     
    266266        }
    267267
    268         // The provided URL needs to be free of things like protocol
     268        // The provided URL needs to be cleaned up a little
    269269        if ( 'http' == mb_substr( $new_instance['tumblr'], 0, 4 ) ) {
    270270            $entered_url = $new_instance['tumblr'];
     
    272272            $entered_url = 'http://' . $new_instance['tumblr'];
    273273        }
    274         $instance['tumblr'] = parse_url( $entered_url, PHP_URL_HOST );
     274        $instance['tumblr'] = parse_url( $entered_url, PHP_URL_SCHEME )
     275                            . '://' . parse_url( $entered_url, PHP_URL_HOST );
    275276
    276277        // And selections
  • f2-tumblr-widget/trunk/README.txt

    r1474571 r1594911  
    44Tags: widget, tumblr, feed
    55Requires at least: 3.3
    6 Tested up to: 4.5.3
    7 Stable tag: 0.2.7
     6Tested up to: 4.7.2
     7Stable tag: 0.2.8
    88License: GPLv2 or later
    99License URI: http://www.gnu.org/licenses/gpl-2.0.html
     
    4949to plain quotes, unless the 'Replace "special" characters' option is unticked.
    5050
     51= My blog has an SSL certificate (https://) and I'm getting 'unsecured content' warnings? =
     52
     53By default, this widget pulls data from Tumblr over http; this results in
     54displayed images also using this protocol. If you have an SSL certificate
     55installed on your blog, you may see warnings from your browser about 'unsecured
     56content' which refers to the images from Tumblr.
     57
     58If you change your Tumblr URL setting to be preceded by 'https://', the widget
     59will access Tumblr over https and the resulting images will also be served
     60securely.
     61
     62This will one day become the default approach, but for now is left up to the
     63user as it can potentially cause problems on badly configured web servers.
     64
    5165== Screenshots ==
    5266
     
    5468
    5569== Changelog ==
     70
     71= 0.2.8 =
     72* Will how honour the HTTP protocol of the source tumblr, if provided. This
     73  means that if you have an SSL certificate on your blog, you can avoid
     74  the widget generating 'unsecured content' warnings by providing your Tumblr
     75  URL with a 'https://' prefix.
    5676
    5777= 0.2.7 =
  • f2-tumblr-widget/trunk/f2-tumblr.php

    r1288057 r1594911  
    1515 * Plugin URI:        http://www.fsquared.co.uk/software/f2-tumblr/
    1616 * Description:       Widget to display recent posts from a tumblr blog
    17  * Version:           0.2.7
     17 * Version:           0.2.8
    1818 * Author:            fsquared limited
    1919 * Author URI:        http://www.fsquared.co.uk
     
    172172
    173173            // So, fetch the data from Tumblr
    174             $tumblr_url = 'http://' . $local_params['tumblr']
     174            $tumblr_url = $local_params['tumblr']
    175175                        . '/api/read?num=' . $local_params['posts'];
    176176            if ( 'all' != $local_params['post_type'] ) {
     
    266266        }
    267267
    268         // The provided URL needs to be free of things like protocol
     268        // The provided URL needs to be cleaned up a little
    269269        if ( 'http' == mb_substr( $new_instance['tumblr'], 0, 4 ) ) {
    270270            $entered_url = $new_instance['tumblr'];
     
    272272            $entered_url = 'http://' . $new_instance['tumblr'];
    273273        }
    274         $instance['tumblr'] = parse_url( $entered_url, PHP_URL_HOST );
     274        $instance['tumblr'] = parse_url( $entered_url, PHP_URL_SCHEME )
     275                            . '://' . parse_url( $entered_url, PHP_URL_HOST );
    275276
    276277        // And selections
Note: See TracChangeset for help on using the changeset viewer.