Changeset 2139101
- Timestamp:
- 08/13/2019 07:35:12 PM (7 years ago)
- Location:
- sarvarov-lazy-load/trunk
- Files:
-
- 4 edited
-
README.txt (modified) (2 diffs)
-
public/class-sarvarov-lazy-load-public.php (modified) (3 diffs)
-
public/js/sarvarov-lazy-load.js (modified) (1 diff)
-
sarvarov-lazy-load.php (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
sarvarov-lazy-load/trunk/README.txt
r2139078 r2139101 6 6 Tested up to: 5.2.2 7 7 Requires PHP: 5.6 8 Stable tag: 1.0. 08 Stable tag: 1.0.1 9 9 License: GPLv3 or later 10 10 License URI: http://www.gnu.org/licenses/gpl-3.0.html … … 87 87 == Changelog == 88 88 89 = 1.0.1 = 90 * PHP error fix 91 * Minify public CSS & JavaScript files 92 93 89 94 = 1.0.0 = 90 * Initial release .95 * Initial release 91 96 92 97 == Upgrade Notice == 93 98 99 = 1.0.1 = 100 Make your blog more faster by using minified CSS & JS 101 94 102 = 1.0.0 = 95 This is the first version of the plugin .103 This is the first version of the plugin -
sarvarov-lazy-load/trunk/public/class-sarvarov-lazy-load-public.php
r2139061 r2139101 95 95 96 96 // enqueue plugin style 97 wp_enqueue_style( $this->plugin_name, plugin_dir_url( __FILE__ ) . 'css/sarvarov-lazy-load. css', array(), $this->plugin_version );97 wp_enqueue_style( $this->plugin_name, plugin_dir_url( __FILE__ ) . 'css/sarvarov-lazy-load.min.css', array(), $this->plugin_version ); 98 98 99 99 // inline CSS … … 117 117 118 118 // enqueue plugin script 119 wp_enqueue_script( $this->plugin_name, plugin_dir_url( __FILE__ ) . 'js/sarvarov-lazy-load. js', array( 'jquery' ), $this->plugin_version, false );119 wp_enqueue_script( $this->plugin_name, plugin_dir_url( __FILE__ ) . 'js/sarvarov-lazy-load.min.js', array( 'jquery' ), $this->plugin_version, false ); 120 120 121 121 // load lazysizes library … … 474 474 } 475 475 476 $output = apply_filters( 'sarvarov_lazy_load_iframe_container', str_replace( $matches[1], " $new_atts_str", $iframe_html ) . $noscript_html, (int)$wh_matches[1] ?: 0, (int)$wh_matches[2] ?: 0,$new_atts );476 $output = apply_filters( 'sarvarov_lazy_load_iframe_container', str_replace( $matches[1], " $new_atts_str", $iframe_html ) . $noscript_html, $new_atts ); 477 477 $output_with_container = apply_filters( 'sarvarov_lazy_load_image_output', sprintf( '<div class="sarvarov-lazy-iframe sarvarov-not-lazyloaded"%1$s>%2$s</div>', $style_attr, $output ) ); 478 478 -
sarvarov-lazy-load/trunk/public/js/sarvarov-lazy-load.js
r2139061 r2139101 1 (function( $) {1 (function($) { 2 2 3 3 'use strict'; -
sarvarov-lazy-load/trunk/sarvarov-lazy-load.php
r2139084 r2139101 4 4 * Plugin URI: https://wordpress.org/plugins/sarvarov-lazy-load/ 5 5 * Description: Lazy Load all your images, videos and iframes in just one click. Make your blog faster and look better with blurred LQIP and primary color placeholder. 6 * Version: 1.0. 06 * Version: 1.0.1 7 7 * Author: Roman Sarvarov 8 8 * Author URI: https://about.me/sarvaroff … … 21 21 * Define constants. 22 22 */ 23 define( 'SARVAROV_LAZY_LOAD_VERSION', '1.0. 0' );23 define( 'SARVAROV_LAZY_LOAD_VERSION', '1.0.1' ); 24 24 define( 'SARVAROV_LAZY_LOAD_PLUGIN_NAME', 'sarvarov-lazy-load' ); 25 25 define( 'SARVAROV_LAZY_LOAD_PLUGIN_SLUG', 'sarvarov_lazy_load' );
Note: See TracChangeset
for help on using the changeset viewer.