Plugin Directory

Changeset 1368287


Ignore:
Timestamp:
03/10/2016 01:27:32 PM (10 years ago)
Author:
ScientiaMobile
Message:

Fixed bug generating PHP Notice in rare cases

Location:
wp-imageengine/trunk
Files:
4 edited

Legend:

Unmodified
Added
Removed
  • wp-imageengine/trunk/functions.php

    r1333700 r1368287  
    3535 * @return void
    3636 */
    37 function wpie_add_prefetch_link() {
     37function wpie_add_prefetch_link( $user_setting = array() ) {
    3838    $data = wpie_get_real_settings( $user_setting );
    3939    $host  = '//';
  • wp-imageengine/trunk/index.php

    r1349056 r1368287  
    44 * Plugin URI: http://www.scientiamobile.com/page/WP-ImageEngine
    55 * Description: WP ImageEngine is an intelligent image CDN for optimizing, compressing and resizing images. ImageEngine will enhance your responsive images by enabling support for HTTP/2, automatic webp conversion and Client Hints. For improved performance and reduced image byte size for mobile devices, WURFL by ScientiaMobile, is used.
    6  * Version: 1.2.2
     6 * Version: 1.2.3
    77 * Author: ScientiaMobile
    88 * Author URI: http://www.scientiamobile.com/about
     
    1414}
    1515
    16 define( 'IMGENG_VERSION', '1.2.2');
     16define( 'IMGENG_VERSION', '1.2.3');
    1717define( 'IMGENG_PATH', plugin_dir_path( __FILE__ ) );
    1818define( 'IMGENG_URL', plugin_dir_url( __FILE__ ) );
  • wp-imageengine/trunk/options.php

    r1349042 r1368287  
    5151                    <p><?php _e('All your images will be prefixed with this hostname.','imageengine'); ?></p>
    5252                    <?php if('lite' == $data['key_type']): ?>
    53                         <a class="btn btn-default" target="_blank" href="https://www.scientiamobile.com/page/imageengine" role="button"><?php _e('Upgrade','imageengine'); ?></a>
     53                        <a class="btn btn-default" target="_blank" href="https://www.scientiamobile.com/page/imageengine?utm_source=wp-imageengine-admin&amp;utm_medium=Wordress&amp;utm_term=wp-imageengine&amp;utm_campaign=wp-imageengine" role="button"><?php _e('Upgrade','imageengine'); ?></a>
    5454                    <?php endif; ?>
    55                     <a class="btn btn-default" target="_blank" href="https://www.scientiamobile.com/myaccount" role="button"><?php _e('Access your account','imageengine'); ?></a>
    56                     <a class="btn btn-default" target="_blank" href="https://docs.scientiamobile.com/documentation/image-engine/image-engine-getting-started" role="button"><?php _e('Documentation','imageengine'); ?></a>
     55                    <a class="btn btn-default" target="_blank" href="https://www.scientiamobile.com/myaccount?utm_source=wp-imageengine-admin&amp;utm_medium=Wordress&amp;utm_term=wp-imageengine&amp;utm_campaign=wp-imageengine" role="button"><?php _e('Access your account','imageengine'); ?></a>
     56                    <a class="btn btn-default" target="_blank" href="https://docs.scientiamobile.com/documentation/image-engine/image-engine-getting-started?utm_source=wp-imageengine-admin&amp;utm_medium=Wordress&amp;utm_term=wp-imageengine&amp;utm_campaign=wp-imageengine" role="button"><?php _e('Documentation','imageengine'); ?></a>
    5757                </div>
    5858                <?php endif; ?>
    5959                <h2><?php _e('Select Plan','imageengine'); ?></h2>
    60                 <p><?php _e('ImageEngine comes in a free Lite edition and a premium edition with more features and no limits. You can read more about the differences','imageengine'); ?> <a href="https://www.scientiamobile.com/page/imageengine" target="_blank">here</a>.</p>
     60                <p><?php _e('ImageEngine comes in a free Lite edition and a premium edition with more features and no limits. You can read more about the differences','imageengine'); ?> <a href="https://www.scientiamobile.com/page/imageengine?utm_source=wp-imageengine-admin&amp;utm_medium=Wordress&amp;utm_term=wp-imageengine&amp;utm_campaign=wp-imageengine" target="_blank">here</a>.</p>
    6161                <div class="btn-group" role="group" aria-label="...">
    6262                    <input value="<?php echo $data['key_type']; ?>" type="hidden" name="wpie_key_type" />
     
    6767                <?php if(!empty($data['key'])): ?>
    6868                    <p class="wpie_get_key_text">
    69                         <?php _e('All set! To manage your account,','imageengine'); ?> <a target="_blank" href="https://www.scientiamobile.com/myaccount"><?php _e('login here','imageengine'); ?></a>.<!-- link href is javascript managed-->
     69                        <?php _e('All set! To manage your account,','imageengine'); ?> <a target="_blank" href="https://www.scientiamobile.com/myaccount?utm_source=wp-imageengine-admin&amp;utm_medium=Wordress&amp;utm_term=wp-imageengine&amp;utm_campaign=wp-imageengine"><?php _e('login here','imageengine'); ?></a>.<!-- link href is javascript managed-->
    7070                    </p>
    7171                <div class="input-group">
     
    127127                <?php _e('Resources','imageengine'); ?>:
    128128                <ul>
    129                     <li><a target="_blank" href="https://docs.scientiamobile.com/documentation/image-engine/image-engine-getting-started"><?php _e('Documentation','imageengine'); ?></a></li>
     129                    <li><a target="_blank" href="https://docs.scientiamobile.com/documentation/image-engine/image-engine-getting-started?utm_source=wp-imageengine-admin&amp;utm_medium=Wordress&amp;utm_term=wp-imageengine&amp;utm_campaign=wp-imageengine"><?php _e('Documentation','imageengine'); ?></a></li>
    130130                    <?php if('lite' == $data['key_type']): ?>
    131                         <li><a target="_blank" href="https://www.scientiamobile.com/page/imageengine"><?php _e('Upgrade to unlimited ImageEngine account','imageengine'); ?></a></li>
     131                        <li><a target="_blank" href="https://www.scientiamobile.com/page/imageengine?utm_source=wp-imageengine-admin&amp;utm_medium=Wordress&amp;utm_term=wp-imageengine&amp;utm_campaign=wp-imageengine"><?php _e('Upgrade to unlimited ImageEngine account','imageengine'); ?></a></li>
    132132                    <?php endif; ?>
    133                     <li><a target="_blank" href="https://www.scientiamobile.com/myaccount"><?php _e('Your account','imageengine'); ?></a></li>
    134                     <li><a target="_blank" href="http://www.scientiamobile.com/page/WP-ImageEngine"><?php _e('Plugin Homepage','imageengine'); ?></a></li>
    135                     <li><a target="_blank" href="https://www.scientiamobile.com/forum/viewforum.php?f=21"><?php _e('Support Forum','imageengine'); ?></a></li>
     133                    <li><a target="_blank" href="https://www.scientiamobile.com/myaccount?utm_source=wp-imageengine-admin&amp;utm_medium=Wordress&amp;utm_term=wp-imageengine&amp;utm_campaign=wp-imageengine"><?php _e('Your account','imageengine'); ?></a></li>
     134                    <li><a target="_blank" href="http://www.scientiamobile.com/page/WP-ImageEngine?utm_source=wp-imageengine-admin&amp;utm_medium=Wordress&amp;utm_term=wp-imageengine&amp;utm_campaign=wp-imageengine"><?php _e('Plugin Homepage','imageengine'); ?></a></li>
     135                    <li><a target="_blank" href="https://www.scientiamobile.com/forum/viewforum.php?f=21&amp;utm_source=wp-imageengine-admin&amp;utm_medium=Wordress&amp;utm_term=wp-imageengine&amp;utm_campaign=wp-imageengine"><?php _e('Support Forum','imageengine'); ?></a></li>
    136136            </div>
    137137        </div>
  • wp-imageengine/trunk/readme.txt

    r1349042 r1368287  
    44Requires at least: 4.0.8
    55Tested up to: 4.4.2
    6 Stable tag: 1.2.2
     6Stable tag: 1.2.3
    77License: GPLv2 or later
    88License URI: http://www.gnu.org/licenses/gpl-2.0.html
     
    1919The plugin will automatically optimize the images you include in your posts and pages. For images baked into your theme, there is a php API available (See FAQ).
    2020
    21 [Registration](https://scientiamobile.com/imageengine/signup#imageengine-lite) is required to get the most out of ImageEngine. There is both a completely free option, and a commercial option.
     21[Registration](https://scientiamobile.com/imageengine/signup?utm_source=wordpress.org&utm_medium=page&utm_term=wp-imageengine&utm_campaign=wp-imageengine#imageengine-lite) is required to get the most out of ImageEngine. There is both a completely free option, and a commercial option.
    2222
    2323= Responsive Images Support =
     
    3939= Try it out =
    4040
    41 For detailed information go [here](https://www.scientiamobile.com/page/imageengine-wordpress-plugin). On this page you'll also find a [demo tool](https://www.scientiamobile.com/page/imageengine-wordpress-plugin) where you can enter the URL of your site, and see the potential savings with ImageEngine.
     41For detailed information go [here](https://www.scientiamobile.com/page/imageengine-wordpress-plugin?utm_source=wordpress.org&utm_medium=page&utm_term=wp-imageengine&utm_campaign=wp-imageengine). On this page you'll also find a [demo tool](https://www.scientiamobile.com/page/imageengine-wordpress-plugin?utm_source=wordpress.org&utm_medium=page&utm_term=wp-imageengine&utm_campaign=wp-imageengine) where you can enter the URL of your site, and see the potential savings with ImageEngine.
    4242
    4343= Fully automatic =
     
    49491. Upload `wp-imageengine` forlder to the `/wp-content/plugins/` directory, or install the plugin through the WordPress plugins screen directly.
    50502. Activate the plugin through the 'Plugins' menu in WordPress
    51 3. Visit the [ScientiaMobile ImageEngine site](https://scientiamobile.com/imageengine/signup#imageengine-lite).  Create an ImageEngine Account to get your application token.
     513. Visit the [ScientiaMobile ImageEngine site](https://scientiamobile.com/imageengine/signup?utm_source=wordpress.org&utm_medium=page&utm_term=wp-imageengine&utm_campaign=wp-imageengine#imageengine-lite).  Create an ImageEngine Account to get your application token.
    52524. Log into your ScientiaMobile account
    53535. Copy your token from the Account Summary and Usage page. See [Screenshot section](https://wordpress.org/plugins/wp-imageengine/screenshots/) for more info.
     
    6161= Do I need to register to use ImageEngine? =
    6262
    63 Yes, you can sign up for a free account [here](https://scientiamobile.com/imageengine/signup#imageengine-lite). When you register you get your unique application token.
     63Yes, you can sign up for a free account [here](https://scientiamobile.com/imageengine/signup?utm_source=wordpress.org&utm_medium=page&utm_term=wp-imageengine&utm_campaign=wp-imageengine#imageengine-lite). When you register you get your unique application token.
    6464
    6565= Where do I get my ImageEngine token to make the Plugin work? =
    6666
    67 You must register and [create an account for ImageEngine at ScientiaMobile](https://scientiamobile.com/imageengine/signup#imageengine-lite).  Your token is available in on the  Account Summary and Usage page after you log into your account.  After copying the token from your account, go back and paste it into the WordPress ImageEngine Settings on the "Your Token" line. See [Screenshots section](https://wordpress.org/plugins/wp-imageengine/screenshots/) for more.
     67You must register and [create an account for ImageEngine at ScientiaMobile](https://scientiamobile.com/imageengine/signup?utm_source=wordpress.org&utm_medium=page&utm_term=wp-imageengine&utm_campaign=wp-imageengine#imageengine-lite).  Your token is available in on the  Account Summary and Usage page after you log into your account.  After copying the token from your account, go back and paste it into the WordPress ImageEngine Settings on the "Your Token" line. See [Screenshots section](https://wordpress.org/plugins/wp-imageengine/screenshots/) for more.
    6868
    6969= Can I test the current performance of my images somewhere? =
    7070
    71 Yes, you can go [here](https://www.scientiamobile.com/page/imageengine-wordpress-plugin) and enter the URL to your page.
     71Yes, you can go [here](https://www.scientiamobile.com/page/imageengine-wordpress-plugin?utm_source=wordpress.org&utm_medium=page&utm_term=wp-imageengine&utm_campaign=wp-imageengine) and enter the URL to your page.
    7272
    7373= Do the plugin support all themes? =
     
    118118
    119119== Changelog ==
     120
     121= 1.2.3 =
     122- Fixed a bug generating a PHP notice in some cases.
     123
    120124= 1.2.2 =
    121125- Added more screenshots.
Note: See TracChangeset for help on using the changeset viewer.