Plugin Directory

Changeset 1036351


Ignore:
Timestamp:
12/02/2014 12:38:26 AM (11 years ago)
Author:
genero.us
Message:

Added https support to generous.js script.

Location:
generous/trunk
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • generous/trunk/generous.php

    r1015539 r1036351  
    44 * Plugin URI:        https://github.com/generous/generous-wordpress
    55 * Description:       The official Generous plugin that allows you to easily generate a store.
    6  * Version:           0.1.0
     6 * Version:           0.1.1
    77 * Author:            Generous
    88 * Author URI:        https://genero.us
  • generous/trunk/public/class-wp-generous-public.php

    r1015539 r1036351  
    206206        wp_enqueue_script( $this->name );
    207207
    208         wp_register_script( "{$this->name}-js", 'http://js.genero.us/', array(), $this->version, false );
     208        $protocol = is_ssl() ? 'https' : 'http';
     209
     210        wp_register_script( "{$this->name}-js", "$protocol://js.genero.us/", array(), $this->version, false );
    209211        wp_enqueue_script( "{$this->name}-js" );
    210212
  • generous/trunk/readme.txt

    r1015539 r1036351  
    44Requires at least: 3.8
    55Tested up to: 4.0
    6 Stable tag: 0.1.0
     6Stable tag: 0.1.1
    77License: GPLv2 or later
    88License URI: http://www.gnu.org/licenses/gpl-2.0.html
     
    8484== Changelog ==
    8585
     86= 0.1.1 =
     87* Added https support to generous.js script.
     88
    8689= 0.1.0 =
    8790* Initial release.
Note: See TracChangeset for help on using the changeset viewer.