Plugin Directory

Changeset 2410866


Ignore:
Timestamp:
11/02/2020 07:15:07 AM (5 years ago)
Author:
cloudimage
Message:

Release version 3.0.1

Location:
cloudimage/trunk
Files:
4 edited

Legend:

Unmodified
Added
Removed
  • cloudimage/trunk/README.txt

    r2409035 r2410866  
    66Tested up to: 5.5.1
    77Requires PHP: 5.6
    8 Stable tag: 3.0.0
     8Stable tag: 3.0.1
    99License: GPLv2 or later
    1010License URI: http://www.gnu.org/licenses/gpl-2.0.html
     
    286286* Improving the loading for JS libraries by loading them through ultrafast CDN
    287287
     288= 3.0.1 =
     289* Fix an issue with some PHP version and Advanced tab
     290
    288291== Upgrade Notice ==
    289292* Upgrading from version 1 to 2 can show you warnings in the admin section
  • cloudimage/trunk/admin/partials/cloudimage-admin-advanced-display.php

    r2409035 r2410866  
    181181            settings_fields($this->plugin_name);
    182182            ?>
    183             <input type="hidden" name="advanced_settings" value="1" />
     183            <input type="hidden" name="advanced_settings" value="1"/>
    184184            <div class="cloudimg-box">
    185185                <div class="content-container">
     
    189189                        <table class="form-table">
    190190                            <tbody>
    191                                 <?php foreach ($JS_fields as $field) : ?>
     191                            <?php foreach ($JS_fields as $field) : ?>
    192192                                <tr>
    193193                                    <th scope="row" class="titledesc">
     
    195195                                            <?php esc_attr_e($field['label'], 'cloudimage'); ?>
    196196                                            <div class="tooltip">?
    197                                                 <span class="tooltiptext"><?php esc_attr_e($field['tooltip'], 'cloudimage') ?></span>
    198                                             </div>
    199                                         </label>
    200                                     </th>
    201                                     <td class="forminp forminp-text">
    202                                         <input type="text" id="<?php echo $this->plugin_name . '-' . $field['id']; ?>" placeholder="<?php echo $field['placeholder']; ?>"
    203                                             name="<?php echo $this->plugin_name . '[' . $field['id'] . ']'; ?>"
    204                                             class="widefat"
    205                                             value="<?php if (!empty($field['value'])) echo $field['value']; ?>">
     197                                                <span class="tooltiptext"><?php esc_attr_e($field['tooltip'], 'cloudimage'); ?></span>
     198                                            </div>
     199                                        </label>
     200                                    </th>
     201                                    <td class="forminp forminp-text">
     202                                        <input type="text" id="<?php echo $this->plugin_name . '-' . $field['id']; ?>"
     203                                               placeholder="<?php echo $field['placeholder']; ?>"
     204                                               name="<?php echo $this->plugin_name . '[' . $field['id'] . ']'; ?>"
     205                                               class="widefat"
     206                                               value="<?php if (!empty($field['value'])) echo $field['value']; ?>">
    206207                                        <div class="cloudimage__description">
    207                                             <?php esc_attr_e($field['description'], 'cloudimage') ?>
     208                                            <?php esc_attr_e($field['description'], 'cloudimage'); ?>
    208209                                        </div>
    209210                                    </td>
    210211                                </tr>
    211                                 <?php endforeach; foreach ($JS_switches as $switch) : ?>
     212                            <?php endforeach;
     213                            foreach ($JS_switches as $switch) : ?>
    212214                                <tr>
    213215                                    <th scope="row" class="titledesc">
     
    215217                                            <?php esc_attr_e($switch['label'], 'cloudimage'); ?>
    216218                                            <div class="tooltip">?
    217                                                 <span class="tooltiptext"><?php esc_attr_e($switch['tooltip'], 'cloudimage') ?></span>
     219                                                <span class="tooltiptext"><?php esc_attr_e($switch['tooltip'], 'cloudimage'); ?></span>
    218220                                            </div>
    219221                                        </label>
     
    222224                                    <td class="forminp forminp-text">
    223225                                        <label class="switch">
    224                                             <input type="checkbox" id="<?php echo $this->plugin_name . '-' . $switch['id']; ?>"
    225                                                 name="<?php echo $this->plugin_name . '[' . $switch['id'] . ']'; ?>" <?php checked($switch['value'], 1); ?> >
     226                                            <input type="checkbox"
     227                                                   id="<?php echo $this->plugin_name . '-' . $switch['id']; ?>"
     228                                                   name="<?php echo $this->plugin_name . '[' . $switch['id'] . ']'; ?>" <?php checked($switch['value'], 1); ?> >
    226229                                            <span class="slider round"></span>
    227230                                        </label>
     
    229232                                    </td>
    230233                                </tr>
    231                             <? endforeach; ?>
     234                            <?php endforeach; ?>
    232235                            </tbody>
    233236                        </table>
    234237                    </fieldset>
    235238
    236                     <hr />
     239                    <hr/>
    237240
    238241                    <fieldset>
     
    240243                        <table class="form-table">
    241244                            <tbody>
    242                                 <?php foreach ($backend_switches as $switch) : ?>
     245                            <?php foreach ($backend_switches as $switch) : ?>
    243246                                <tr>
    244247                                    <th scope="row" class="titledesc">
     
    246249                                            <?php esc_attr_e($switch['label'], 'cloudimage'); ?>
    247250                                            <div class="tooltip">?
    248                                                 <span class="tooltiptext"><?php esc_attr_e($switch['tooltip'], 'cloudimage') ?></span>
     251                                                <span class="tooltiptext"><?php esc_attr_e($switch['tooltip'], 'cloudimage'); ?></span>
    249252                                            </div>
    250253                                        </label>
     
    253256                                    <td class="forminp forminp-text">
    254257                                        <label class="switch">
    255                                             <input type="checkbox" id="<?php echo $this->plugin_name . '-' . $switch['id']; ?>"
    256                                                 name="<?php echo $this->plugin_name . '[' . $switch['id'] . ']'; ?>" <?php checked($switch['value'], 1); ?> >
     258                                            <input type="checkbox"
     259                                                   id="<?php echo $this->plugin_name . '-' . $switch['id']; ?>"
     260                                                   name="<?php echo $this->plugin_name . '[' . $switch['id'] . ']'; ?>" <?php checked($switch['value'], 1); ?> >
    257261                                            <span class="slider round"></span>
    258262                                        </label>
     
    260264                                    </td>
    261265                                </tr>
    262                                 <? endforeach; foreach ($backend_fields as $field) : ?>
     266                            <?php endforeach;
     267                            foreach ($backend_fields as $field) : ?>
    263268                                <tr>
    264269                                    <th scope="row" class="titledesc">
     
    266271                                            <?php esc_attr_e($field['label'], 'cloudimage'); ?>
    267272                                            <div class="tooltip">?
    268                                                 <span class="tooltiptext"><?php esc_attr_e($field['tooltip'], 'cloudimage') ?></span>
    269                                             </div>
    270                                         </label>
    271                                     </th>
    272                                     <td class="forminp forminp-text">
    273                                         <input type="text" id="<?php echo $this->plugin_name . '-' . $field['id']; ?>" placeholder="<?php echo $field['placeholder']; ?>"
    274                                             name="<?php echo $this->plugin_name . '[' . $field['id'] . ']'; ?>"
    275                                             class="widefat"
    276                                             value="<?php if (!empty($field['value'])) echo $field['value']; ?>">
     273                                                <span class="tooltiptext"><?php esc_attr_e($field['tooltip'], 'cloudimage'); ?></span>
     274                                            </div>
     275                                        </label>
     276                                    </th>
     277                                    <td class="forminp forminp-text">
     278                                        <input type="text" id="<?php echo $this->plugin_name . '-' . $field['id']; ?>"
     279                                               placeholder="<?php echo $field['placeholder']; ?>"
     280                                               name="<?php echo $this->plugin_name . '[' . $field['id'] . ']'; ?>"
     281                                               class="widefat"
     282                                               value="<?php if (!empty($field['value'])) echo $field['value']; ?>">
    277283                                        <div class="cloudimage__description">
    278                                             <?php esc_attr_e($field['description'], 'cloudimage') ?>
     284                                            <?php esc_attr_e($field['description'], 'cloudimage'); ?>
    279285                                        </div>
    280286                                    </td>
    281287                                </tr>
    282                                 <? endforeach; ?>
     288                            <?php endforeach; ?>
    283289                            </tbody>
    284290                        </table>
    285291                    </fieldset>
    286292
    287                     <hr />
     293                    <hr/>
    288294
    289295                    <fieldset>
     
    291297                        <table class="form-table">
    292298                            <tbody>
    293                                 <?php foreach ($both_mode_switches as $switch) : ?>
    294                                 <tr>
    295                                         <th scope="row" class="titledesc">
    296                                             <label for="<?php echo $this->plugin_name . '-' . $switch['id']; ?>">
    297                                                 <?php esc_attr_e($switch['label'], 'cloudimage'); ?>
    298                                                 <div class="tooltip">?
    299                                                     <span class="tooltiptext"><?php esc_attr_e($switch['tooltip'], 'cloudimage') ?></span>
    300                                                 </div>
    301                                             </label>
    302                                         </th>
    303 
    304                                         <td class="forminp forminp-text">
    305                                             <label class="switch">
    306                                                 <input type="checkbox" id="<?php echo $this->plugin_name . '-' . $switch['id']; ?>"
    307                                                     name="<?php echo $this->plugin_name . '[' . $switch['id'] . ']'; ?>" <?php checked($switch['value'], 1); ?> >
    308                                                 <span class="slider round"></span>
    309                                             </label>
    310 
    311                                         </td>
    312                                     </tr>
    313                                 <? endforeach; ?>
     299                            <?php foreach ($both_mode_switches as $switch) : ?>
     300                                <tr>
     301                                    <th scope="row" class="titledesc">
     302                                        <label for="<?php echo $this->plugin_name . '-' . $switch['id']; ?>">
     303                                            <?php esc_attr_e($switch['label'], 'cloudimage'); ?>
     304                                            <div class="tooltip">?
     305                                                <span class="tooltiptext"><?php esc_attr_e($switch['tooltip'], 'cloudimage'); ?></span>
     306                                            </div>
     307                                        </label>
     308                                    </th>
     309
     310                                    <td class="forminp forminp-text">
     311                                        <label class="switch">
     312                                            <input type="checkbox"
     313                                                   id="<?php echo $this->plugin_name . '-' . $switch['id']; ?>"
     314                                                   name="<?php echo $this->plugin_name . '[' . $switch['id'] . ']'; ?>" <?php checked($switch['value'], 1); ?> >
     315                                            <span class="slider round"></span>
     316                                        </label>
     317                                    </td>
     318                                </tr>
     319                            <?php endforeach; ?>
    314320                            </tbody>
    315321                        </table>
  • cloudimage/trunk/cloudimage.php

    r2409030 r2410866  
    1212 * Plugin Name:       Cloudimage - Responsive Images as a Service
    1313 * Description:       The easiest way to <strong>deliver lightning fast images</strong> to your users.
    14  * Version:           3.0.0
     14 * Version:           3.0.1
    1515 * Author:            Cloudimage
    1616 * Author URI:        https://cloudimage.io
     
    3030 * Start at version 1.0.0
    3131 */
    32 define('CLOUDIMAGE_VERSION', '3.0.0');
     32define('CLOUDIMAGE_VERSION', '3.0.1');
    3333
    3434/**
  • cloudimage/trunk/includes/class-cloudimage.php

    r2409030 r2410866  
    8383            $this->version = CLOUDIMAGE_VERSION;
    8484        } else {
    85             $this->version = '3.0.0';
     85            $this->version = '3.0.1';
    8686        }
    8787        $this->plugin_name = 'cloudimage';
Note: See TracChangeset for help on using the changeset viewer.