Plugin Directory

Changeset 3035081


Ignore:
Timestamp:
02/13/2024 12:08:00 PM (2 years ago)
Author:
poweredcache
Message:

Update to version 3.4.1 from GitHub

Location:
powered-cache
Files:
14 edited
1 copied

Legend:

Unmodified
Added
Removed
  • powered-cache/tags/3.4.1/assets/css/frontend/lazyload-youtube.css

    r3032658 r3035081  
    4444}
    4545
    46 .pcll-youtube-player:hover {
     46.pcll-youtube-player img:hover {
    4747    -webkit-filter: brightness(85%);
    4848    filter: brightness(85%);
  • powered-cache/tags/3.4.1/assets/js/frontend/lazyload.js

    r3032658 r3035081  
    170170                    iframe.style.width = '100%';
    171171                    iframe.style.height = this.offsetHeight + 'px';
    172                     iframe.style.position = 'absolute';
    173                     iframe.style.top = '0';
    174                     iframe.style.left = '0';
    175 
    176                     var wrapper = this.parentElement;
    177                     if (!wrapper) {
    178                         // Create a new wrapper element if none exists
    179                         wrapper = document.createElement('div');
    180                         this.after(wrapper); // Insert the new wrapper after the div in the DOM
    181                     }
    182                     wrapper.innerHTML = '';
    183                     wrapper.appendChild(iframe);
     172                    this.innerHTML = '';
     173                    this.appendChild(iframe);
    184174                });
    185175            });
  • powered-cache/tags/3.4.1/dist/css/lazyload-youtube.css

    r3032658 r3035081  
    1 .wp-has-aspect-ratio .pcll-youtube-player{bottom:0;height:100%;left:0;padding-bottom:0;position:absolute;right:0;top:0;width:100%}.pcll-youtube-player{height:0;max-width:100%;overflow:hidden;padding-bottom:56.23%;position:relative}.pcll-youtube-player iframe{background:transparent;height:100%;left:0;position:absolute;top:0;width:100%;z-index:100}.pcll-youtube-player img{border:none;bottom:0;cursor:pointer;display:block;height:auto;left:0;margin:auto;max-width:100%;position:absolute;right:0;top:0;-webkit-transition:all .3s;transition:all .3s;width:100%}.pcll-youtube-player:hover{-webkit-filter:brightness(85%);filter:brightness(85%)}
     1.wp-has-aspect-ratio .pcll-youtube-player{bottom:0;height:100%;left:0;padding-bottom:0;position:absolute;right:0;top:0;width:100%}.pcll-youtube-player{height:0;max-width:100%;overflow:hidden;padding-bottom:56.23%;position:relative}.pcll-youtube-player iframe{background:transparent;height:100%;left:0;position:absolute;top:0;width:100%;z-index:100}.pcll-youtube-player img{border:none;bottom:0;cursor:pointer;display:block;height:auto;left:0;margin:auto;max-width:100%;position:absolute;right:0;top:0;-webkit-transition:all .3s;transition:all .3s;width:100%}.pcll-youtube-player img:hover{-webkit-filter:brightness(85%);filter:brightness(85%)}
  • powered-cache/tags/3.4.1/dist/js/lazyload.js

    r3032658 r3035081  
    1 !function(){"use strict";window.PCLL_options=window.PCLL_options||{};var e=function(){var e={_lastCheckTs:0,_checkDebounceTimeoutRunning:!1,_earlyLoadedCount:0,init:function(){return e.threshold=e.getOptionIntValue("threshold",200),e.recheckDelay=e.getOptionIntValue("recheck_delay",250),e.debounce=e.getOptionIntValue("debounce",50),e.immediateLoadCount=e.getOptionIntValue("immediate_load_count",3),e.checkRecurring(),e.lazyLoadYouTube(),e},check:function(t){var n,a,i,c;!0===t&&(e._checkDebounceTimeoutRunning=!1),(n=performance.now())<e._lastCheckTs+e.debounce?e._checkDebounceTimeoutRunning||(e._checkDebounceTimeoutRunning=!0,setTimeout((function(){e.check(!0)}),e.debounce)):(e._lastCheckTs=n,a=document.documentElement.clientHeight||body.clientHeight,i=!1,c=document.getElementsByClassName("lazy-hidden"),[].forEach.call(c,(function(t,n,c){var o=t.getBoundingClientRect();o.width&&o.height&&(e._earlyLoadedCount<=e.immediateLoadCount&&(e._earlyLoadedCount++,e.showImmediately(t)),0<a-o.top+e.threshold&&(e.show(t),i=!0))})),i&&e.check())},checkRecurring:function(){e.check(),setTimeout(e.checkRecurring,e.recheckDelay)},show:function(t){var n,a,i,c;t.className=t.className.replace(/(?:^|\s)lazy-hidden(?!\S)/g,""),t.addEventListener("load",(function(){t.className+=" lazy-loaded",e.customEvent(t,"lazyloaded")}),!1),"image"==(n=t.getAttribute("data-lazy-type"))?(null!=t.getAttribute("data-lazy-srcset")&&t.setAttribute("srcset",t.getAttribute("data-lazy-srcset")),null!=t.getAttribute("data-lazy-sizes")&&t.setAttribute("sizes",t.getAttribute("data-lazy-sizes")),t.setAttribute("src",t.getAttribute("data-lazy-src"))):"iframe"==n&&(a=t.getAttribute("data-lazy-src"),(i=document.createElement("div")).innerHTML=a,c=i.firstChild,t.parentNode.replaceChild(c,t))},showImmediately:function(t){var n,a,i,c;t.className=t.className.replace(/(?:^|\s)lazy-hidden(?!\S)/g,""),t.addEventListener("load",(function(){t.className+=" lazy-load-direct",e.customEvent(t,"lazyloaded")}),!1),"image"==(n=t.getAttribute("data-lazy-type"))?(null!=t.getAttribute("data-lazy-srcset")&&t.setAttribute("srcset",t.getAttribute("data-lazy-srcset")),null!=t.getAttribute("data-lazy-sizes")&&t.setAttribute("sizes",t.getAttribute("data-lazy-sizes")),t.setAttribute("src",t.getAttribute("data-lazy-src"))):"iframe"==n&&(a=t.getAttribute("data-lazy-src"),(i=document.createElement("div")).innerHTML=a,c=i.firstChild,t.parentNode.replaceChild(c,t))},customEvent:function(e,t){var n;document.createEvent?(n=document.createEvent("HTMLEvents")).initEvent(t,!0,!0):(n=document.createEventObject()).eventType=t,n.eventName=t,document.createEvent?e.dispatchEvent(n):e.fireEvent("on"+n.eventType,n)},lazyLoadYouTube:function(e){document.querySelectorAll(".pcll-youtube-player").forEach((function(e){e.addEventListener("click",(function(){var e=document.createElement("iframe");e.setAttribute("frameborder","0"),e.setAttribute("allowfullscreen",""),e.setAttribute("allow","autoplay");var t=this.getAttribute("data-src"),n=t.includes("?")?"&":"?",a=`${t}${n}autoplay=1&feature=oembed`;e.setAttribute("src",a),e.style.width="100%",e.style.height=this.offsetHeight+"px",e.style.position="absolute",e.style.top="0",e.style.left="0";var i=this.parentElement;i||(i=document.createElement("div"),this.after(i)),i.innerHTML="",i.appendChild(e)}))}))},getOptionIntValue:function(e,t){return"undefined"!==typeof window.PCLL_options[e]?parseInt(window.PCLL_options[e]):t}};return e.init()}();window.addEventListener("load",e.check,!1),window.addEventListener("scroll",e.check,!1),window.addEventListener("resize",e.check,!1),document.getElementsByTagName("body").item(0).addEventListener("post-load",e.check,!1)}();
     1!function(){"use strict";window.PCLL_options=window.PCLL_options||{};var e=function(){var e={_lastCheckTs:0,_checkDebounceTimeoutRunning:!1,_earlyLoadedCount:0,init:function(){return e.threshold=e.getOptionIntValue("threshold",200),e.recheckDelay=e.getOptionIntValue("recheck_delay",250),e.debounce=e.getOptionIntValue("debounce",50),e.immediateLoadCount=e.getOptionIntValue("immediate_load_count",3),e.checkRecurring(),e.lazyLoadYouTube(),e},check:function(t){var n,a,i,c;!0===t&&(e._checkDebounceTimeoutRunning=!1),(n=performance.now())<e._lastCheckTs+e.debounce?e._checkDebounceTimeoutRunning||(e._checkDebounceTimeoutRunning=!0,setTimeout((function(){e.check(!0)}),e.debounce)):(e._lastCheckTs=n,a=document.documentElement.clientHeight||body.clientHeight,i=!1,c=document.getElementsByClassName("lazy-hidden"),[].forEach.call(c,(function(t,n,c){var o=t.getBoundingClientRect();o.width&&o.height&&(e._earlyLoadedCount<=e.immediateLoadCount&&(e._earlyLoadedCount++,e.showImmediately(t)),0<a-o.top+e.threshold&&(e.show(t),i=!0))})),i&&e.check())},checkRecurring:function(){e.check(),setTimeout(e.checkRecurring,e.recheckDelay)},show:function(t){var n,a,i,c;t.className=t.className.replace(/(?:^|\s)lazy-hidden(?!\S)/g,""),t.addEventListener("load",(function(){t.className+=" lazy-loaded",e.customEvent(t,"lazyloaded")}),!1),"image"==(n=t.getAttribute("data-lazy-type"))?(null!=t.getAttribute("data-lazy-srcset")&&t.setAttribute("srcset",t.getAttribute("data-lazy-srcset")),null!=t.getAttribute("data-lazy-sizes")&&t.setAttribute("sizes",t.getAttribute("data-lazy-sizes")),t.setAttribute("src",t.getAttribute("data-lazy-src"))):"iframe"==n&&(a=t.getAttribute("data-lazy-src"),(i=document.createElement("div")).innerHTML=a,c=i.firstChild,t.parentNode.replaceChild(c,t))},showImmediately:function(t){var n,a,i,c;t.className=t.className.replace(/(?:^|\s)lazy-hidden(?!\S)/g,""),t.addEventListener("load",(function(){t.className+=" lazy-load-direct",e.customEvent(t,"lazyloaded")}),!1),"image"==(n=t.getAttribute("data-lazy-type"))?(null!=t.getAttribute("data-lazy-srcset")&&t.setAttribute("srcset",t.getAttribute("data-lazy-srcset")),null!=t.getAttribute("data-lazy-sizes")&&t.setAttribute("sizes",t.getAttribute("data-lazy-sizes")),t.setAttribute("src",t.getAttribute("data-lazy-src"))):"iframe"==n&&(a=t.getAttribute("data-lazy-src"),(i=document.createElement("div")).innerHTML=a,c=i.firstChild,t.parentNode.replaceChild(c,t))},customEvent:function(e,t){var n;document.createEvent?(n=document.createEvent("HTMLEvents")).initEvent(t,!0,!0):(n=document.createEventObject()).eventType=t,n.eventName=t,document.createEvent?e.dispatchEvent(n):e.fireEvent("on"+n.eventType,n)},lazyLoadYouTube:function(e){document.querySelectorAll(".pcll-youtube-player").forEach((function(e){e.addEventListener("click",(function(){var e=document.createElement("iframe");e.setAttribute("frameborder","0"),e.setAttribute("allowfullscreen",""),e.setAttribute("allow","autoplay");var t=this.getAttribute("data-src"),n=t.includes("?")?"&":"?",a=`${t}${n}autoplay=1&feature=oembed`;e.setAttribute("src",a),e.style.width="100%",e.style.height=this.offsetHeight+"px",this.innerHTML="",this.appendChild(e)}))}))},getOptionIntValue:function(e,t){return"undefined"!==typeof window.PCLL_options[e]?parseInt(window.PCLL_options[e]):t}};return e.init()}();window.addEventListener("load",e.check,!1),window.addEventListener("scroll",e.check,!1),window.addEventListener("resize",e.check,!1),document.getElementsByTagName("body").item(0).addEventListener("post-load",e.check,!1)}();
  • powered-cache/tags/3.4.1/languages/powered-cache.pot

    r3032658 r3035081  
    33msgid ""
    44msgstr ""
    5 "Project-Id-Version: Powered Cache 3.4\n"
     5"Project-Id-Version: Powered Cache 3.4.1\n"
    66"Report-Msgid-Bugs-To: https://wordpress.org/support/plugin/powered-cache\n"
    77"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
     
    1010"Content-Type: text/plain; charset=UTF-8\n"
    1111"Content-Transfer-Encoding: 8bit\n"
    12 "POT-Creation-Date: 2024-02-07T10:49:51+00:00\n"
     12"POT-Creation-Date: 2024-02-13T12:04:39+00:00\n"
    1313"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
    1414"X-Generator: WP-CLI 2.9.0\n"
  • powered-cache/tags/3.4.1/powered-cache.php

    r3032658 r3035081  
    44 * Plugin URI:        https://poweredcache.com
    55 * Description:       Powered Cache is the most powerful caching and performance suite for WordPress, designed to easily improve your PageSpeed and Web Vitals Score.
    6  * Version:           3.4
     6 * Version:           3.4.1
    77 * Requires at least: 5.7
    88 * Requires PHP:      7.2.5
     
    2626
    2727// Useful global constants.
    28 define( 'POWERED_CACHE_VERSION', '3.4' );
     28define( 'POWERED_CACHE_VERSION', '3.4.1' );
    2929define( 'POWERED_CACHE_DB_VERSION', '3.4' );
    3030define( 'POWERED_CACHE_PLUGIN_FILE', __FILE__ );
  • powered-cache/tags/3.4.1/readme.txt

    r3032658 r3035081  
    44Requires at least:  5.7
    55Tested up to:  6.4
    6 Stable tag:  3.4
     6Stable tag:  3.4.1
    77License: GPLv2 (or later)
    88License URI: http://www.gnu.org/licenses/gpl-2.0.html
     
    171171
    172172== Changelog ==
     173
     174= 3.4.1 (February 13, 2024) =
     175- [Fix] YouTube video positioning when iframe is replaced with thumbnail.
    173176
    174177= 3.4 (February 07, 2024) =
  • powered-cache/trunk/assets/css/frontend/lazyload-youtube.css

    r3032658 r3035081  
    4444}
    4545
    46 .pcll-youtube-player:hover {
     46.pcll-youtube-player img:hover {
    4747    -webkit-filter: brightness(85%);
    4848    filter: brightness(85%);
  • powered-cache/trunk/assets/js/frontend/lazyload.js

    r3032658 r3035081  
    170170                    iframe.style.width = '100%';
    171171                    iframe.style.height = this.offsetHeight + 'px';
    172                     iframe.style.position = 'absolute';
    173                     iframe.style.top = '0';
    174                     iframe.style.left = '0';
    175 
    176                     var wrapper = this.parentElement;
    177                     if (!wrapper) {
    178                         // Create a new wrapper element if none exists
    179                         wrapper = document.createElement('div');
    180                         this.after(wrapper); // Insert the new wrapper after the div in the DOM
    181                     }
    182                     wrapper.innerHTML = '';
    183                     wrapper.appendChild(iframe);
     172                    this.innerHTML = '';
     173                    this.appendChild(iframe);
    184174                });
    185175            });
  • powered-cache/trunk/dist/css/lazyload-youtube.css

    r3032658 r3035081  
    1 .wp-has-aspect-ratio .pcll-youtube-player{bottom:0;height:100%;left:0;padding-bottom:0;position:absolute;right:0;top:0;width:100%}.pcll-youtube-player{height:0;max-width:100%;overflow:hidden;padding-bottom:56.23%;position:relative}.pcll-youtube-player iframe{background:transparent;height:100%;left:0;position:absolute;top:0;width:100%;z-index:100}.pcll-youtube-player img{border:none;bottom:0;cursor:pointer;display:block;height:auto;left:0;margin:auto;max-width:100%;position:absolute;right:0;top:0;-webkit-transition:all .3s;transition:all .3s;width:100%}.pcll-youtube-player:hover{-webkit-filter:brightness(85%);filter:brightness(85%)}
     1.wp-has-aspect-ratio .pcll-youtube-player{bottom:0;height:100%;left:0;padding-bottom:0;position:absolute;right:0;top:0;width:100%}.pcll-youtube-player{height:0;max-width:100%;overflow:hidden;padding-bottom:56.23%;position:relative}.pcll-youtube-player iframe{background:transparent;height:100%;left:0;position:absolute;top:0;width:100%;z-index:100}.pcll-youtube-player img{border:none;bottom:0;cursor:pointer;display:block;height:auto;left:0;margin:auto;max-width:100%;position:absolute;right:0;top:0;-webkit-transition:all .3s;transition:all .3s;width:100%}.pcll-youtube-player img:hover{-webkit-filter:brightness(85%);filter:brightness(85%)}
  • powered-cache/trunk/dist/js/lazyload.js

    r3032658 r3035081  
    1 !function(){"use strict";window.PCLL_options=window.PCLL_options||{};var e=function(){var e={_lastCheckTs:0,_checkDebounceTimeoutRunning:!1,_earlyLoadedCount:0,init:function(){return e.threshold=e.getOptionIntValue("threshold",200),e.recheckDelay=e.getOptionIntValue("recheck_delay",250),e.debounce=e.getOptionIntValue("debounce",50),e.immediateLoadCount=e.getOptionIntValue("immediate_load_count",3),e.checkRecurring(),e.lazyLoadYouTube(),e},check:function(t){var n,a,i,c;!0===t&&(e._checkDebounceTimeoutRunning=!1),(n=performance.now())<e._lastCheckTs+e.debounce?e._checkDebounceTimeoutRunning||(e._checkDebounceTimeoutRunning=!0,setTimeout((function(){e.check(!0)}),e.debounce)):(e._lastCheckTs=n,a=document.documentElement.clientHeight||body.clientHeight,i=!1,c=document.getElementsByClassName("lazy-hidden"),[].forEach.call(c,(function(t,n,c){var o=t.getBoundingClientRect();o.width&&o.height&&(e._earlyLoadedCount<=e.immediateLoadCount&&(e._earlyLoadedCount++,e.showImmediately(t)),0<a-o.top+e.threshold&&(e.show(t),i=!0))})),i&&e.check())},checkRecurring:function(){e.check(),setTimeout(e.checkRecurring,e.recheckDelay)},show:function(t){var n,a,i,c;t.className=t.className.replace(/(?:^|\s)lazy-hidden(?!\S)/g,""),t.addEventListener("load",(function(){t.className+=" lazy-loaded",e.customEvent(t,"lazyloaded")}),!1),"image"==(n=t.getAttribute("data-lazy-type"))?(null!=t.getAttribute("data-lazy-srcset")&&t.setAttribute("srcset",t.getAttribute("data-lazy-srcset")),null!=t.getAttribute("data-lazy-sizes")&&t.setAttribute("sizes",t.getAttribute("data-lazy-sizes")),t.setAttribute("src",t.getAttribute("data-lazy-src"))):"iframe"==n&&(a=t.getAttribute("data-lazy-src"),(i=document.createElement("div")).innerHTML=a,c=i.firstChild,t.parentNode.replaceChild(c,t))},showImmediately:function(t){var n,a,i,c;t.className=t.className.replace(/(?:^|\s)lazy-hidden(?!\S)/g,""),t.addEventListener("load",(function(){t.className+=" lazy-load-direct",e.customEvent(t,"lazyloaded")}),!1),"image"==(n=t.getAttribute("data-lazy-type"))?(null!=t.getAttribute("data-lazy-srcset")&&t.setAttribute("srcset",t.getAttribute("data-lazy-srcset")),null!=t.getAttribute("data-lazy-sizes")&&t.setAttribute("sizes",t.getAttribute("data-lazy-sizes")),t.setAttribute("src",t.getAttribute("data-lazy-src"))):"iframe"==n&&(a=t.getAttribute("data-lazy-src"),(i=document.createElement("div")).innerHTML=a,c=i.firstChild,t.parentNode.replaceChild(c,t))},customEvent:function(e,t){var n;document.createEvent?(n=document.createEvent("HTMLEvents")).initEvent(t,!0,!0):(n=document.createEventObject()).eventType=t,n.eventName=t,document.createEvent?e.dispatchEvent(n):e.fireEvent("on"+n.eventType,n)},lazyLoadYouTube:function(e){document.querySelectorAll(".pcll-youtube-player").forEach((function(e){e.addEventListener("click",(function(){var e=document.createElement("iframe");e.setAttribute("frameborder","0"),e.setAttribute("allowfullscreen",""),e.setAttribute("allow","autoplay");var t=this.getAttribute("data-src"),n=t.includes("?")?"&":"?",a=`${t}${n}autoplay=1&feature=oembed`;e.setAttribute("src",a),e.style.width="100%",e.style.height=this.offsetHeight+"px",e.style.position="absolute",e.style.top="0",e.style.left="0";var i=this.parentElement;i||(i=document.createElement("div"),this.after(i)),i.innerHTML="",i.appendChild(e)}))}))},getOptionIntValue:function(e,t){return"undefined"!==typeof window.PCLL_options[e]?parseInt(window.PCLL_options[e]):t}};return e.init()}();window.addEventListener("load",e.check,!1),window.addEventListener("scroll",e.check,!1),window.addEventListener("resize",e.check,!1),document.getElementsByTagName("body").item(0).addEventListener("post-load",e.check,!1)}();
     1!function(){"use strict";window.PCLL_options=window.PCLL_options||{};var e=function(){var e={_lastCheckTs:0,_checkDebounceTimeoutRunning:!1,_earlyLoadedCount:0,init:function(){return e.threshold=e.getOptionIntValue("threshold",200),e.recheckDelay=e.getOptionIntValue("recheck_delay",250),e.debounce=e.getOptionIntValue("debounce",50),e.immediateLoadCount=e.getOptionIntValue("immediate_load_count",3),e.checkRecurring(),e.lazyLoadYouTube(),e},check:function(t){var n,a,i,c;!0===t&&(e._checkDebounceTimeoutRunning=!1),(n=performance.now())<e._lastCheckTs+e.debounce?e._checkDebounceTimeoutRunning||(e._checkDebounceTimeoutRunning=!0,setTimeout((function(){e.check(!0)}),e.debounce)):(e._lastCheckTs=n,a=document.documentElement.clientHeight||body.clientHeight,i=!1,c=document.getElementsByClassName("lazy-hidden"),[].forEach.call(c,(function(t,n,c){var o=t.getBoundingClientRect();o.width&&o.height&&(e._earlyLoadedCount<=e.immediateLoadCount&&(e._earlyLoadedCount++,e.showImmediately(t)),0<a-o.top+e.threshold&&(e.show(t),i=!0))})),i&&e.check())},checkRecurring:function(){e.check(),setTimeout(e.checkRecurring,e.recheckDelay)},show:function(t){var n,a,i,c;t.className=t.className.replace(/(?:^|\s)lazy-hidden(?!\S)/g,""),t.addEventListener("load",(function(){t.className+=" lazy-loaded",e.customEvent(t,"lazyloaded")}),!1),"image"==(n=t.getAttribute("data-lazy-type"))?(null!=t.getAttribute("data-lazy-srcset")&&t.setAttribute("srcset",t.getAttribute("data-lazy-srcset")),null!=t.getAttribute("data-lazy-sizes")&&t.setAttribute("sizes",t.getAttribute("data-lazy-sizes")),t.setAttribute("src",t.getAttribute("data-lazy-src"))):"iframe"==n&&(a=t.getAttribute("data-lazy-src"),(i=document.createElement("div")).innerHTML=a,c=i.firstChild,t.parentNode.replaceChild(c,t))},showImmediately:function(t){var n,a,i,c;t.className=t.className.replace(/(?:^|\s)lazy-hidden(?!\S)/g,""),t.addEventListener("load",(function(){t.className+=" lazy-load-direct",e.customEvent(t,"lazyloaded")}),!1),"image"==(n=t.getAttribute("data-lazy-type"))?(null!=t.getAttribute("data-lazy-srcset")&&t.setAttribute("srcset",t.getAttribute("data-lazy-srcset")),null!=t.getAttribute("data-lazy-sizes")&&t.setAttribute("sizes",t.getAttribute("data-lazy-sizes")),t.setAttribute("src",t.getAttribute("data-lazy-src"))):"iframe"==n&&(a=t.getAttribute("data-lazy-src"),(i=document.createElement("div")).innerHTML=a,c=i.firstChild,t.parentNode.replaceChild(c,t))},customEvent:function(e,t){var n;document.createEvent?(n=document.createEvent("HTMLEvents")).initEvent(t,!0,!0):(n=document.createEventObject()).eventType=t,n.eventName=t,document.createEvent?e.dispatchEvent(n):e.fireEvent("on"+n.eventType,n)},lazyLoadYouTube:function(e){document.querySelectorAll(".pcll-youtube-player").forEach((function(e){e.addEventListener("click",(function(){var e=document.createElement("iframe");e.setAttribute("frameborder","0"),e.setAttribute("allowfullscreen",""),e.setAttribute("allow","autoplay");var t=this.getAttribute("data-src"),n=t.includes("?")?"&":"?",a=`${t}${n}autoplay=1&feature=oembed`;e.setAttribute("src",a),e.style.width="100%",e.style.height=this.offsetHeight+"px",this.innerHTML="",this.appendChild(e)}))}))},getOptionIntValue:function(e,t){return"undefined"!==typeof window.PCLL_options[e]?parseInt(window.PCLL_options[e]):t}};return e.init()}();window.addEventListener("load",e.check,!1),window.addEventListener("scroll",e.check,!1),window.addEventListener("resize",e.check,!1),document.getElementsByTagName("body").item(0).addEventListener("post-load",e.check,!1)}();
  • powered-cache/trunk/languages/powered-cache.pot

    r3032658 r3035081  
    33msgid ""
    44msgstr ""
    5 "Project-Id-Version: Powered Cache 3.4\n"
     5"Project-Id-Version: Powered Cache 3.4.1\n"
    66"Report-Msgid-Bugs-To: https://wordpress.org/support/plugin/powered-cache\n"
    77"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
     
    1010"Content-Type: text/plain; charset=UTF-8\n"
    1111"Content-Transfer-Encoding: 8bit\n"
    12 "POT-Creation-Date: 2024-02-07T10:49:51+00:00\n"
     12"POT-Creation-Date: 2024-02-13T12:04:39+00:00\n"
    1313"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
    1414"X-Generator: WP-CLI 2.9.0\n"
  • powered-cache/trunk/powered-cache.php

    r3032658 r3035081  
    44 * Plugin URI:        https://poweredcache.com
    55 * Description:       Powered Cache is the most powerful caching and performance suite for WordPress, designed to easily improve your PageSpeed and Web Vitals Score.
    6  * Version:           3.4
     6 * Version:           3.4.1
    77 * Requires at least: 5.7
    88 * Requires PHP:      7.2.5
     
    2626
    2727// Useful global constants.
    28 define( 'POWERED_CACHE_VERSION', '3.4' );
     28define( 'POWERED_CACHE_VERSION', '3.4.1' );
    2929define( 'POWERED_CACHE_DB_VERSION', '3.4' );
    3030define( 'POWERED_CACHE_PLUGIN_FILE', __FILE__ );
  • powered-cache/trunk/readme.txt

    r3032658 r3035081  
    44Requires at least:  5.7
    55Tested up to:  6.4
    6 Stable tag:  3.4
     6Stable tag:  3.4.1
    77License: GPLv2 (or later)
    88License URI: http://www.gnu.org/licenses/gpl-2.0.html
     
    171171
    172172== Changelog ==
     173
     174= 3.4.1 (February 13, 2024) =
     175- [Fix] YouTube video positioning when iframe is replaced with thumbnail.
    173176
    174177= 3.4 (February 07, 2024) =
Note: See TracChangeset for help on using the changeset viewer.