Changeset 2684833
- Timestamp:
- 02/25/2022 08:43:00 AM (4 years ago)
- Location:
- loftloader
- Files:
-
- 71 added
- 10 edited
-
tags/2.3.8 (added)
-
tags/2.3.8/assets (added)
-
tags/2.3.8/assets/css (added)
-
tags/2.3.8/assets/css/images (added)
-
tags/2.3.8/assets/css/images/ui-bg_flat_55_999999_40x100.png (added)
-
tags/2.3.8/assets/css/images/ui-bg_flat_75_aaaaaa_40x100.png (added)
-
tags/2.3.8/assets/css/images/ui-bg_glass_100_f6f6f6_1x400.png (added)
-
tags/2.3.8/assets/css/images/ui-bg_glass_100_fdf5ce_1x400.png (added)
-
tags/2.3.8/assets/css/images/ui-bg_glass_45_0078ae_1x400.png (added)
-
tags/2.3.8/assets/css/images/ui-bg_glass_55_f8da4e_1x400.png (added)
-
tags/2.3.8/assets/css/images/ui-bg_glass_65_ffffff_1x400.png (added)
-
tags/2.3.8/assets/css/images/ui-bg_glass_75_79c9ec_1x400.png (added)
-
tags/2.3.8/assets/css/images/ui-bg_gloss-wave_45_e14f1c_500x100.png (added)
-
tags/2.3.8/assets/css/images/ui-bg_gloss-wave_50_6eac2c_500x100.png (added)
-
tags/2.3.8/assets/css/images/ui-bg_gloss-wave_75_2191c0_500x100.png (added)
-
tags/2.3.8/assets/css/images/ui-bg_highlight-soft_100_eeeeee_1x100.png (added)
-
tags/2.3.8/assets/css/images/ui-bg_highlight-soft_75_ffe45c_1x100.png (added)
-
tags/2.3.8/assets/css/images/ui-bg_inset-hard_100_fcfdfd_1x100.png (added)
-
tags/2.3.8/assets/css/images/ui-icons_0078ae_256x240.png (added)
-
tags/2.3.8/assets/css/images/ui-icons_056b93_256x240.png (added)
-
tags/2.3.8/assets/css/images/ui-icons_acacac_256x240.png (added)
-
tags/2.3.8/assets/css/images/ui-icons_e0fdff_256x240.png (added)
-
tags/2.3.8/assets/css/images/ui-icons_ef8c08_256x240 1.png (added)
-
tags/2.3.8/assets/css/images/ui-icons_ef8c08_256x240.png (added)
-
tags/2.3.8/assets/css/images/ui-icons_f5e175_256x240.png (added)
-
tags/2.3.8/assets/css/images/ui-icons_f7a50d_256x240.png (added)
-
tags/2.3.8/assets/css/images/ui-icons_fcd113_256x240.png (added)
-
tags/2.3.8/assets/css/jquery-ui.css (added)
-
tags/2.3.8/assets/css/loftloader-settings.css (added)
-
tags/2.3.8/assets/css/loftloader-settings.min.css (added)
-
tags/2.3.8/assets/css/loftloader.css (added)
-
tags/2.3.8/assets/css/loftloader.min.css (added)
-
tags/2.3.8/assets/img (added)
-
tags/2.3.8/assets/img/animation-options.png (added)
-
tags/2.3.8/assets/img/loftloader-logo.png (added)
-
tags/2.3.8/assets/img/pro-ad.jpg (added)
-
tags/2.3.8/assets/js (added)
-
tags/2.3.8/assets/js/customize.js (added)
-
tags/2.3.8/assets/js/customize.min.js (added)
-
tags/2.3.8/assets/js/loftloader.js (added)
-
tags/2.3.8/assets/js/loftloader.min.js (added)
-
tags/2.3.8/assets/js/preview.js (added)
-
tags/2.3.8/assets/js/preview.min.js (added)
-
tags/2.3.8/assets/scss (added)
-
tags/2.3.8/assets/scss/_loftloader-animation.scss (added)
-
tags/2.3.8/assets/scss/_loftloader-mixins.scss (added)
-
tags/2.3.8/assets/scss/loftloader-settings.scss (added)
-
tags/2.3.8/assets/scss/loftloader.scss (added)
-
tags/2.3.8/inc (added)
-
tags/2.3.8/inc/any-page (added)
-
tags/2.3.8/inc/any-page/class-any-page-filter.php (added)
-
tags/2.3.8/inc/any-page/class-loftloader-any-page.php (added)
-
tags/2.3.8/inc/any-page/gutenberg (added)
-
tags/2.3.8/inc/any-page/gutenberg/class-gutenberg-any-page.php (added)
-
tags/2.3.8/inc/any-page/gutenberg/plugin.js (added)
-
tags/2.3.8/inc/class-loftloader-customize.php (added)
-
tags/2.3.8/inc/class-loftloader-front.php (added)
-
tags/2.3.8/inc/class-loftloader-upgrade.php (added)
-
tags/2.3.8/inc/configs (added)
-
tags/2.3.8/inc/configs/customize-advanced.php (added)
-
tags/2.3.8/inc/configs/customize-background.php (added)
-
tags/2.3.8/inc/configs/customize-loader.php (added)
-
tags/2.3.8/inc/configs/customize-main.php (added)
-
tags/2.3.8/inc/configs/customize-more.php (added)
-
tags/2.3.8/inc/configs/customize-promo.php (added)
-
tags/2.3.8/inc/configs/customize-range.php (added)
-
tags/2.3.8/inc/configs/default-settings.php (added)
-
tags/2.3.8/languages (added)
-
tags/2.3.8/languages/loftloader.pot (added)
-
tags/2.3.8/loftloader.php (added)
-
tags/2.3.8/readme.txt (added)
-
trunk/assets/css/loftloader-settings.css (modified) (1 diff)
-
trunk/assets/css/loftloader.css (modified) (1 diff)
-
trunk/assets/scss/loftloader.scss (modified) (1 diff)
-
trunk/inc/class-loftloader-customize.php (modified) (1 diff)
-
trunk/inc/class-loftloader-upgrade.php (modified) (1 diff)
-
trunk/inc/configs/customize-more.php (modified) (3 diffs)
-
trunk/inc/configs/default-settings.php (modified) (1 diff)
-
trunk/languages/loftloader.pot (modified) (5 diffs)
-
trunk/loftloader.php (modified) (3 diffs)
-
trunk/readme.txt (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
loftloader/trunk/assets/css/loftloader-settings.css
r2616962 r2684833 7 7 * Author URI: https://www.loftocean.com 8 8 * Description: LoftLoader (Lite Version) is a plugin for adding beautiful and smooth preload animation to your WordPress website. With setting options, you can choose from preset animations, add custom logo image, choose colours to match your branding, and amuse and impress your visitors while loading site content. 9 * Version: 2.3. 79 * Version: 2.3.8 10 10 */ 11 11 @import url(https://fonts.googleapis.com/css?family=Lato:400,600); -
loftloader/trunk/assets/css/loftloader.css
r2616962 r2684833 7 7 * Author URI: https://www.loftocean.com 8 8 * Description: LoftLoader (Lite Version) is a plugin for adding beautiful and smooth preload animation to your WordPress website. With setting options, you can choose from preset animations, add custom logo image, choose colours to match your branding, and amuse and impress your visitors while loading site content. 9 * Version: 2.3. 79 * Version: 2.3.8 10 10 */ 11 11 @-webkit-keyframes spinReturn { -
loftloader/trunk/assets/scss/loftloader.scss
r2616962 r2684833 7 7 * Author URI: https://www.loftocean.com 8 8 * Description: LoftLoader (Lite Version) is a plugin for adding beautiful and smooth preload animation to your WordPress website. With setting options, you can choose from preset animations, add custom logo image, choose colours to match your branding, and amuse and impress your visitors while loading site content. 9 * Version: 2.3. 79 * Version: 2.3.8 10 10 */ 11 11 -
loftloader/trunk/inc/class-loftloader-customize.php
r2248622 r2684833 184 184 if ( ! empty( $this->label ) ) : ?> 185 185 <span class="customize-control-title"><?php echo esc_html( $this->label ); ?></span> <?php 186 endif;187 if ( ! empty( $this->description ) ) : ?>188 <span class="description customize-control-description"><?php echo wp_kses_post( $this->description ); ?></span> <?php189 186 endif; ?> 190 187 <input class="loftlader-checkbox" type="checkbox" value="on" name="<?php echo esc_attr( $this->id ); ?>" <?php checked( 'on', $this->value() ); ?> /> 191 188 <input style="display:none;" type="checkbox" value="on" <?php $this->link(); ?> <?php checked( 'on', $this->value() ); ?> /> 192 </label> <?php break; 189 </label> <?php 190 if ( ! empty( $this->description ) ) : ?> 191 <span class="description customize-control-description"><?php echo wp_kses_post( $this->description ); ?></span> <?php 192 endif; 193 break; 193 194 default: 194 195 parent::render_content(); -
loftloader/trunk/inc/class-loftloader-upgrade.php
r2133870 r2684833 2 2 if ( ! class_exists( 'LoftLoader_Upgrade' ) ) { 3 3 class LoftLoader_Upgrade { 4 private $version ='2. 1.9';4 private $version ='2.3.8'; 5 5 function __construct(){ 6 6 $old_version = get_option('loftloader_lite_version', '1.0'); -
loftloader/trunk/inc/configs/customize-more.php
r2248622 r2684833 22 22 'panel' => 'loftloader_panel_more' 23 23 ) ) ); 24 $wp_customize->add_section( new LoftLoader_Customize_Section( $wp_customize, 'loftloader_section_remove_settings', array( 25 'title' => esc_html__( 'Plugin Data', 'loftloader' ), 26 'panel' => 'loftloader_panel_more' 27 ) ) ); 24 28 25 29 $wp_customize->add_setting( new WP_Customize_Setting( $wp_customize, 'loftloader_max_load_time', array( … … 40 44 'type' => 'option', 41 45 'sanitize_callback' => 'sanitize_text_field' 46 ) ) ); 47 48 $wp_customize->add_setting( new WP_Customize_Setting( $wp_customize, 'loftloader_remove_settings', array( 49 'default' => $loftloader_default_settings['loftloader_remove_settings'], 50 'transport' => 'postMessage', 51 'type' => 'option', 52 'sanitize_callback' => 'loftloader_sanitize_checkbox' 42 53 ) ) ); 43 54 … … 71 82 'settings' => 'loftloader_show_close_tip' 72 83 ) ) ); 84 85 $wp_customize->add_control( new LoftLoader_Customize_Control( $wp_customize, 'loftloader_remove_settings', array( 86 'type' => 'check', 87 'label' => esc_html__( 'Remove Plugin Data after Deactivating Plugin', 'loftloader' ), 88 'description' => esc_html__( 'If checked, all settings will be removed after deactivating this plugin.', 'loftocean' ), 89 'choices' => array( 'on' => '' ), 90 'section' => 'loftloader_section_remove_settings', 91 'settings' => 'loftloader_remove_settings' 92 ) ) ); 73 93 } -
loftloader/trunk/inc/configs/default-settings.php
r2248622 r2684833 27 27 28 28 'loftloader_inline_js' => '', 29 'loftloader_enable_any_page' => '' 29 'loftloader_enable_any_page' => '', 30 31 'loftloader_remove_settings' => '' 30 32 ); -
loftloader/trunk/languages/loftloader.pot
r2421952 r2684833 1 # Copyright (C) 202 0Loft.Ocean1 # Copyright (C) 2022 Loft.Ocean 2 2 # This file is distributed under the same license as the LoftLoader plugin. 3 3 msgid "" 4 4 msgstr "" 5 "Project-Id-Version: LoftLoader 2.3. 4\n"5 "Project-Id-Version: LoftLoader 2.3.8\n" 6 6 "Report-Msgid-Bugs-To: https://wordpress.org/support/plugin/loftloader\n" 7 7 "Last-Translator: FULL NAME <EMAIL@ADDRESS>\n" … … 10 10 "Content-Type: text/plain; charset=UTF-8\n" 11 11 "Content-Transfer-Encoding: 8bit\n" 12 "POT-Creation-Date: 202 0-11-20T00:48:33+00:00\n"12 "POT-Creation-Date: 2022-02-25T08:37:02+00:00\n" 13 13 "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" 14 14 "X-Generator: WP-CLI 2.4.0\n" … … 59 59 msgstr "" 60 60 61 #: inc/class-loftloader-customize.php:26 761 #: inc/class-loftloader-customize.php:268 62 62 msgid "More info" 63 63 msgstr "" 64 64 65 #: inc/class-loftloader-front.php:2 2065 #: inc/class-loftloader-front.php:217 66 66 msgid "Close" 67 msgstr "" 68 69 #: inc/class-loftloader-front.php:359 70 msgid "loader image" 67 71 msgstr "" 68 72 … … 186 190 187 191 #: inc/configs/customize-more.php:17 188 #: inc/configs/customize-more.php: 46192 #: inc/configs/customize-more.php:57 189 193 msgid "Maximum Load Time" 190 194 msgstr "" … … 194 198 msgstr "" 195 199 196 #: inc/configs/customize-more.php:47 200 #: inc/configs/customize-more.php:25 201 msgid "Plugin Data" 202 msgstr "" 203 204 #: inc/configs/customize-more.php:58 197 205 msgid "Please enter any number greater than 0 to enable this feature." 198 206 msgstr "" 199 207 200 #: inc/configs/customize-more.php: 50208 #: inc/configs/customize-more.php:61 201 209 msgid " second(s)" 202 210 msgstr "" 203 211 204 #: inc/configs/customize-more.php: 55212 #: inc/configs/customize-more.php:66 205 213 msgid "Show Close Button after" 206 214 msgstr "" 207 215 208 #: inc/configs/customize-more.php: 69216 #: inc/configs/customize-more.php:80 209 217 msgid "Description for Close Button" 218 msgstr "" 219 220 #: inc/configs/customize-more.php:87 221 msgid "Remove Plugin Data after Deactivating Plugin" 210 222 msgstr "" 211 223 -
loftloader/trunk/loftloader.php
r2616962 r2684833 4 4 Plugin URI: http://www.loftocean.com/ 5 5 Description: An easy to use plugin to add an animated preloader to your website with fully customisations. 6 Version: 2.3. 76 Version: 2.3.8 7 7 Author: Loft.Ocean 8 8 Author URI: http://www.loftocean.com/ … … 33 33 define( 'LOFTLOADER_NAME', plugin_basename( __FILE__ ) ); 34 34 define( 'LOFTLOADER_URI', plugin_dir_url( __FILE__ ) ); 35 define( 'LOFTLOADER_ASSET_VERSION', '202 1102001' );35 define( 'LOFTLOADER_ASSET_VERSION', '2022022501' ); 36 36 37 37 class LoftLoader { … … 140 140 } 141 141 } 142 143 /** 144 * Deletes saved data for the plugin unless setting to preserve 145 * settings is enabled 146 * 147 * @since 2.0 custom tables, custom images, and image directory deleted 148 * @since 1.0 149 */ 150 function loftloader_plugin_uninstall() { 151 if ( ! current_user_can( 'activate_plugins' ) ) { 152 return; 153 } 154 155 if ( 'on' != get_option( 'loftloader_remove_settings', '' ) ) { 156 return; 157 } 158 159 global $wpdb; 160 $table_name = esc_sql( $wpdb->prefix . "postmeta" ); 161 $result = $wpdb->query(" 162 DELETE 163 FROM $table_name 164 WHERE meta_key = 'loftloader_page_shortcode';" 165 ); 166 167 delete_option( 'loftloader_lite_version' ); 168 delete_option( 'loftloader_main_switch' ); 169 delete_option( 'loftloader_show_range' ); 170 delete_option( 'loftloader_bg_color' ); 171 delete_option( 'loftloader_bg_opacity' ); 172 delete_option( 'loftloader_bg_animation' ); 173 delete_option( 'loftloader_loader_type' ); 174 delete_option( 'loftloader_loader_color' ); 175 delete_option( 'loftloader_custom_img' ); 176 delete_option( 'loftloader_img_width' ); 177 delete_option( 'loftloader_show_close_timer' ); 178 delete_option( 'loftloader_show_close_tip' ); 179 delete_option( 'loftloader_max_load_time' ); 180 delete_option( 'loftloader_inline_js' ); 181 delete_option( 'loftloader_enable_any_page' ); 182 delete_option( 'loftloader_remove_settings' ); 183 } 184 185 register_deactivation_hook( __FILE__, 'loftloader_plugin_uninstall' ); -
loftloader/trunk/readme.txt
r2616962 r2684833 4 4 Donate link: 5 5 Requires at least: 5.0 6 Tested up to: 5. 87 Stable tag: 2.3. 76 Tested up to: 5.9 7 Stable tag: 2.3.8 8 8 License: GPLv2 or later 9 9 License URI: http://www.gnu.org/licenses/gpl-2.0.html … … 97 97 98 98 == Changelog == 99 = 2.3.8 = 100 * New: Option to remove plugin data after deactivating the plugin 101 * Improved: Compatibility with WordPress 5.9 102 99 103 = 2.3.7 = 100 104 * Improved: Compatibility with WordPress 5.8
Note: See TracChangeset
for help on using the changeset viewer.