Changeset 237520
- Timestamp:
- 08/05/2024 09:06:40 AM (16 months ago)
- Location:
- oceanwp/3.5.9
- Files:
-
- 12 edited
- 1 copied
- . (copied) (copied from oceanwp/3.5.8)
- README.md (modified) (1 diff)
- assets/js/sidebar-mobile-menu.min.js (modified) (1 diff)
- assets/src/js/theme/mobile-menu/sidebar-mobile-menu.js (modified) (5 diffs)
- changelog.md (modified) (1 diff)
- inc/customizer/settings/woocommerce.php (modified) (1 diff)
- inc/helpers.php (modified) (3 diffs)
- languages/oceanwp.pot (modified) (17 diffs)
- languages/pl_PL.mo (modified) (previous)
- partials/single/tags.php (modified) (1 diff)
- readme.txt (modified) (1 diff)
- sass/style.scss (modified) (1 diff)
- style.css (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
oceanwp/3.5.9/README.md
r234745 r237520 3 3 **Contributors:** The OceanWP Team 4 4 **Requires at least:** WordPress 5.6 5 **Tested up to:** WordPress 6. 5.55 **Tested up to:** WordPress 6.6.1 6 6 ======= 7 **Stable tag:** 3.5. 87 **Stable tag:** 3.5.9 8 8 **Requires PHP:** 7.4 9 9 **License:** GPLv2 or later -
oceanwp/3.5.9/assets/js/sidebar-mobile-menu.min.js
r228726 r237520 1 !function i(n, r,s){function l(t,e){if(!r[t]){if(!n[t]){var o="function"==typeof require&&require;if(!e&&o)return o(t,!0);if(a)return a(t,!0);throw(o=new Error("Cannot find module '"+t+"'")).code="MODULE_NOT_FOUND",o}o=r[t]={exports:{}},n[t][0].call(o.exports,function(e){return l(n[t][1][e]||e)},o,o.exports,i,n,r,s)}return r[t].exports}for(var a="function"==typeof require&&require,e=0;e<s.length;e++)l(s[e]);return l}({1:[function(e,t,o){"use strict";Object.defineProperty(o,"__esModule",{value:!0}),o.options=void 0;var i=oceanwpLocalize;o.options=i},{}],2:[function(e,t,o){"use strict";var i=e("@babel/runtime/helpers/interopRequireDefault");Object.defineProperty(o,"__esModule",{value:!0}),o.fadeOutNav=o.fadeInNav=o.isSelectorValid=o.isElement=o.getSiblings=o.visible=o.offset=o.fadeToggle=o.fadeOut=o.fadeIn=o.slideToggle=o.slideUp=o.slideDown=o.wrap=void 0;var n=i(e("@babel/runtime/helpers/typeof"));o.wrap=function(e){var t=1<arguments.length&&void 0!==arguments[1]?arguments[1]:document.createElement("div");return e.nextSibling?e.parentNode.insertBefore(t,e.nextSibling):e.parentNode.appendChild(t),t.appendChild(e)};function r(e){var t=1<arguments.length&&void 0!==arguments[1]?arguments[1]:300,o=window.getComputedStyle(e).display;"none"===o&&(o="block"),e.style.transitionProperty="height",e.style.transitionDuration="".concat(t,"ms"),e.style.opacity=0,e.style.display=o;var i=e.offsetHeight;e.style.height=0,e.style.opacity=1,e.style.overflow="hidden",setTimeout(function(){e.style.height="".concat(i,"px")},5),window.setTimeout(function(){e.style.removeProperty("height"),e.style.removeProperty("overflow"),e.style.removeProperty("transition-duration"),e.style.removeProperty("transition-property"),e.style.removeProperty("opacity")},t+50)}o.slideDown=r;function s(e){var t=1<arguments.length&&void 0!==arguments[1]?arguments[1]:300;e.style.boxSizing="border-box",e.style.transitionProperty="height, margin",e.style.transitionDuration="".concat(t,"ms"),e.style.height="".concat(e.offsetHeight,"px"),e.style.marginTop=0,e.style.marginBottom=0,e.style.overflow="hidden",setTimeout(function(){e.style.height=0},5),window.setTimeout(function(){e.style.display="none",e.style.removeProperty("height"),e.style.removeProperty("margin-top"),e.style.removeProperty("margin-bottom"),e.style.removeProperty("overflow"),e.style.removeProperty("transition-duration"),e.style.removeProperty("transition-property")},t+50)}o.slideUp=s;o.slideToggle=function(e,t){("none"===window.getComputedStyle(e).display?r:s)(e,t)};function l(e){var t={duration:300,display:null,opacity:1,callback:null};Object.assign(t,1<arguments.length&&void 0!==arguments[1]?arguments[1]:{}),e.style.opacity=0,e.style.display=t.display||"block",setTimeout(function(){e.style.transition="".concat(t.duration,"ms opacity ease"),e.style.opacity=t.opacity},5),setTimeout(function(){e.style.removeProperty("transition"),t.callback&&t.callback()},t.duration+50)}o.fadeIn=l;function a(e){var t;"none"!==e.style.display&&(t={duration:300,display:null,opacity:0,callback:null},Object.assign(t,1<arguments.length&&void 0!==arguments[1]?arguments[1]:{}),e.style.opacity=1,e.style.display=t.display||"block",setTimeout(function(){e.style.transition="".concat(t.duration,"ms opacity ease"),e.style.opacity=t.opacity},5),setTimeout(function(){e.style.display="none",e.style.removeProperty("transition"),t.callback&&t.callback()},t.duration+50))}o.fadeOut=a;o.fadeToggle=function(e,t){("none"===window.getComputedStyle(e).display?l:a)(e,t)};o.offset=function(e){if(!e.getClientRects().length)return{top:0,left:0};var t=e.getBoundingClientRect(),e=e.ownerDocument.defaultView;return{top:t.top+e.pageYOffset,left:t.left+e.pageXOffset}};o.visible=function(e){return!!e&&!!(e.offsetWidth||e.offsetHeight||e.getClientRects().length)};o.getSiblings=function(e){var t=[];if(!e.parentNode)return t;for(var o=e.parentNode.firstChild;o;)1===o.nodeType&&o!==e&&t.push(o),o=o.nextSibling;return t};o.isElement=function(e){return"object"===("undefined"==typeof HTMLElement?"undefined":(0,n.default)(HTMLElement))?e instanceof HTMLElement:e&&"object"===(0,n.default)(e)&&null!==e&&1===e.nodeType&&"string"==typeof e.nodeName};var c,e=(c=document.createDocumentFragment(),function(e){try{c.querySelector(e)}catch(e){return!1}return!0});o.isSelectorValid=e;o.fadeInNav=function(e){var t={duration:300,visibility:"visible",opacity:1,callback:null};Object.assign(t,1<arguments.length&&void 0!==arguments[1]?arguments[1]:{}),e.style.opacity=0,e.style.visibility=t.visibility||"visible",setTimeout(function(){e.style.transition="".concat(t.duration,"ms opacity ease"),e.style.opacity=t.opacity},5)};o.fadeOutNav=function(e){var t;"hidden"!==e.style.visibility&&(t={duration:300,visibility:"hidden",opacity:0,callback:null},Object.assign(t,1<arguments.length&&void 0!==arguments[1]?arguments[1]:{}),e.style.opacity=1,e.style.visibility=t.visibility||"visible",setTimeout(function(){e.style.transition="".concat(t.duration,"ms opacity ease"),e.style.opacity=t.opacity},5),setTimeout(function(){e.style.visibility="hidden",e.style.removeProperty("transition"),t.callback&&t.callback()},t.duration+50))}},{"@babel/runtime/helpers/interopRequireDefault":11,"@babel/runtime/helpers/typeof":12}],3:[function(e,t,o){"use strict";var i=e("@babel/runtime/helpers/interopRequireDefault"),n=i(e("@babel/runtime/helpers/classCallCheck")),r=i(e("@babel/runtime/helpers/defineProperty")),s=i(e("@babel/runtime/helpers/classPrivateFieldSet")),c=i(e("@babel/runtime/helpers/classPrivateFieldGet")),l=e("../../constants"),u=e("../../lib/utils");function a(t,e){var o,i=Object.keys(t);return Object.getOwnPropertySymbols&&(o=Object.getOwnPropertySymbols(t),e&&(o=o.filter(function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable})),i.push.apply(i,o)),i}function d(t){for(var e=1;e<arguments.length;e++){var o=null!=arguments[e]?arguments[e]:{};e%2?a(Object(o),!0).forEach(function(e){(0,r.default)(t,e,o[e])}):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(o)):a(Object(o)).forEach(function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(o,e))})}return t}var p=new WeakMap,f=new WeakMap,y=new WeakMap,m=new WeakMap,v=new WeakMap,b=new WeakMap,h=new WeakMap,g=new WeakMap,w=new WeakMap,x=new WeakMap,S=new WeakMap,k=new WeakMap,E=new WeakMap,q=new WeakMap,e=function e(){var a=this;(0,n.default)(this,e),p.set(this,{writable:!0,value:{body:document.body}}),f.set(this,{writable:!0,value:void 0}),y.set(this,{writable:!0,value:void 0}),m.set(this,{writable:!0,value:void 0}),v.set(this,{writable:!0,value:function(){(0,s.default)(a,p,d(d({},(0,c.default)(a,p)),{},{hamburgerBtn:document.querySelector(".mobile-menu > .hamburger"),header:document.querySelector("#site-header")}))}}),b.set(this,{writable:!0,value:function(){(0,s.default)(a,f,!1),(0,c.default)(a,h).call(a),document.querySelector(".sidr-class-dropdown-toggle")||document.querySelectorAll(".sidr-class-menu-item-has-children > a").forEach(function(e){e.insertAdjacentHTML("beforeend",'<span class="sidr-class-dropdown-toggle" tabindex=0></span>')}),(0,s.default)(a,y,"link"==l.options.sidrDropdownTarget?document.querySelectorAll("li.sidr-class-menu-item-has-children > a"):document.querySelectorAll(".sidr-class-dropdown-toggle"))}}),h.set(this,{writable:!0,value:function(){var o=a;sidr.new(".mobile-menu",{name:"sidr",source:l.options.sidrSource,side:l.options.sidrSide,displace:l.options.sidrDisplace,speed:300,renaming:!0,timing:"ease",bind:"click",onOpen:function(){null!==(e=document.querySelector("a.sidr-class-toggle-sidr-close"))&&void 0!==e&&e.focus(),null!==(e=document.querySelector("a.sidr-class-toggle-sidr-close svg"))&&void 0!==e&&e.classList.remove("sidr-class-owp-icon","sidr-class-owp-icon--close"),null!==(e=document.querySelector("a.sidr-class-toggle-sidr-close svg"))&&void 0!==e&&e.classList.add("owp-icon","owp-icon--close"),null!==(e=(0,c.default)(o,p).hamburgerBtn)&&void 0!==e&&e.classList.add("is-active"),(0,c.default)(o,p).header.insertAdjacentHTML("afterend",'<div class="oceanwp-sidr-overlay" tabindex=0></div>');var e=document.querySelector(".oceanwp-sidr-overlay");(0,u.fadeIn)(e),e.addEventListener("click",function(e){e.preventDefault(),e.stopPropagation(),sidr.close("sidr")})},onClose:function(){var e;null!==(e=(0,c.default)(o,p).hamburgerBtn)&&void 0!==e&&e.classList.remove("is-active"),document.querySelectorAll(".sidr-class-menu-item-has-children.active > ul").forEach(function(e){e.style.display="none"}),document.querySelectorAll(".sidr-class-menu-item-has-children.active").forEach(function(e){e.classList.remove("active")});var t=document.querySelector(".oceanwp-sidr-overlay");(0,u.fadeOut)(t),setTimeout(function(){t.remove()})}}),document.querySelectorAll('#sidr [class*="sidr-class-fa"]').forEach(function(e){e.className=e.className.replace(/\bsidr-class-fa.*?\b/g,"fa")}),document.querySelectorAll('#sidr [class*="sidr-class-icon"]').forEach(function(e){e.className=e.className.replace(/\bsidr-class-icon-.*?\b/g,"icon-")}),document.querySelectorAll('#sidr [class*="sidr-class-dashicons"]').forEach(function(e){e.className=e.className.replace(/\bsidr-class-dashicons.*?\b/g,"dashicons")}),document.querySelectorAll('#sidr [class*="sidr-class-elusive"]').forEach(function(e){e.className=e.className.replace(/\bsidr-class-el-icon.*?\b/g,"el-icon")}),document.querySelectorAll('#sidr [class*="sidr-class-genericon"]').forEach(function(e){e.className=e.className.replace(/\bsidr-class-genericon.*?\b/g,"genericon")}),document.querySelectorAll('#sidr [class*="sidr-class-foundation-icons"]').forEach(function(e){e.className=e.className.replace(/\bsidr-class-fi.*?\b/g,"fi")}),(0,s.default)(a,m,document.querySelector("a.sidr-class-toggle-sidr-close"))}}),g.set(this,{writable:!0,value:function(){var e;null!==(e=(0,c.default)(a,p).hamburgerBtn)&&void 0!==e&&e.addEventListener("click",(0,c.default)(a,w)),null!==(e=(0,c.default)(a,m))&&void 0!==e&&e.addEventListener("click",(0,c.default)(a,x)),document.querySelectorAll('.sidr-class-dropdown-menu a[href*="#"]:not([href="#"]), .sidr-class-menu-item > a[href*="#"]:not([href="#"])').forEach(function(e){e.addEventListener("click",(0,c.default)(a,q))}),document.querySelectorAll('.sidr-class-dropdown-menu a[href*="#"]:not([href="#"]), .sidr-class-menu-item > a[href*="#"]:not([href="#"])').forEach(function(e){e.addEventListener("touchend",(0,c.default)(a,q))}),null!==(e=(0,c.default)(a,y))&&void 0!==e&&e.forEach(function(e){e.addEventListener("click",(0,c.default)(a,S)),e.addEventListener("touchend",(0,c.default)(a,S))}),null!==(e=document.querySelectorAll("li.sidr-class-nav-no-click > a"))&&void 0!==e&&e.forEach(function(e){e.addEventListener("click",function(e){e.preventDefault(),e.stopPropagation()})}),document.addEventListener("keydown",(0,c.default)(a,E)),window.addEventListener("resize",(0,c.default)(a,k))}}),w.set(this,{writable:!0,value:function(e){(0,s.default)(a,f,!(0,c.default)(a,f)),e.currentTarget.setAttribute("aria-expanded",(0,c.default)(a,f))}}),x.set(this,{writable:!0,value:function(e){e.preventDefault(),e.stopPropagation(),a.closeSidr(),(0,c.default)(a,m).classList.remove("opened")}}),S.set(this,{writable:!0,value:function(e){e.preventDefault(),e.stopPropagation();var t=e.currentTarget,o=("link"==l.options.sidrDropdownTarget?t:t.parentNode).parentNode,e=o.lastElementChild;null!=o&&o.classList.contains("active")?(o.classList.remove("active"),(0,u.slideUp)(e,250),null!==(t=o.querySelectorAll(".sidr-class-menu-item-has-children.active"))&&void 0!==t&&t.forEach(function(e){e.classList.remove("active"),(0,u.slideUp)(e.querySelector("ul"))})):(o.classList.add("active"),(0,u.slideDown)(e,250))}}),k.set(this,{writable:!0,value:function(e){960<=window.innerWidth&&a.closeSidr()}}),E.set(this,{writable:!0,value:function(e){var t,o,i,n,r,s,l;(0,c.default)(a,p).body.classList.contains("sidr-open")&&(e.stopPropagation(),t=9===e.keyCode,o=e.shiftKey,i=27===e.keyCode,n=13===e.keyCode,r=(0,c.default)(a,m),s=(l=document.querySelector("#sidr").querySelectorAll("a, span.sidr-class-dropdown-toggle, input, button"))[0],l=l[l.length-1],r&&(r.style.outline="",!o&&t&&l===document.activeElement&&(e.preventDefault(),r.style.outline="1px dashed rgba(255, 255, 255, 0.6)",r.focus()),o&&t&&s===document.activeElement&&(e.preventDefault(),r.style.outline="1px dashed rgba(255, 255, 255, 0.6)",r.focus())),i&&(e.preventDefault(),a.closeSidr()),n&&document.activeElement.classList.contains("sidr-class-dropdown-toggle")&&(e.preventDefault(),document.activeElement.click()),t&&s===l&&e.preventDefault())}}),q.set(this,{writable:!0,value:function(e){var t=e.currentTarget.getAttribute("href"),t=t.substring(t.lastIndexOf("#")),o=document.querySelector(t);o&&(e.stopPropagation(),a.closeSidr(),setTimeout(function(){var e=document.querySelector(".oceanwp-sticky-header-holder .has-sticky-mobile"),t=e?e.offsetHeight:0,e=document.querySelector(".oceanwp-sticky-top-bar-holder"),e=e?e.offsetHeight:0,e=o.getBoundingClientRect().top+window.scrollY-t-e;window.scrollTo({top:e,behavior:"smooth"})},50))}}),(0,r.default)(this,"closeSidr",function(){setTimeout(function(){var e;sidr.close("sidr"),null!==(e=(0,c.default)(a,p).hamburgerBtn)&&void 0!==e&&e.classList.remove("is-active")},50)}),void 0!==l.options.sidrSource&&(0,c.default)(this,p).body.classList.contains("sidebar-mobile")&&((0,c.default)(this,v).call(this),(0,c.default)(this,b).call(this),(0,c.default)(this,g).call(this))};window.oceanwp=window.oceanwp||{},oceanwp.sidebarMobileMenu=new e},{"../../constants":1,"../../lib/utils":2,"@babel/runtime/helpers/classCallCheck":6,"@babel/runtime/helpers/classPrivateFieldGet":8,"@babel/runtime/helpers/classPrivateFieldSet":9,"@babel/runtime/helpers/defineProperty":10,"@babel/runtime/helpers/interopRequireDefault":11}],4:[function(e,t,o){t.exports=function(e,t){return t.get?t.get.call(e):t.value},t.exports.default=t.exports,t.exports.__esModule=!0},{}],5:[function(e,t,o){t.exports=function(e,t,o){if(t.set)t.set.call(e,o);else{if(!t.writable)throw new TypeError("attempted to set read only private field");t.value=o}},t.exports.default=t.exports,t.exports.__esModule=!0},{}],6:[function(e,t,o){t.exports=function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")},t.exports.default=t.exports,t.exports.__esModule=!0},{}],7:[function(e,t,o){t.exports=function(e,t,o){if(!t.has(e))throw new TypeError("attempted to "+o+" private field on non-instance");return t.get(e)},t.exports.default=t.exports,t.exports.__esModule=!0},{}],8:[function(e,t,o){var i=e("./classApplyDescriptorGet.js"),n=e("./classExtractFieldDescriptor.js");t.exports=function(e,t){return t=n(e,t,"get"),i(e,t)},t.exports.default=t.exports,t.exports.__esModule=!0},{"./classApplyDescriptorGet.js":4,"./classExtractFieldDescriptor.js":7}],9:[function(e,t,o){var i=e("./classApplyDescriptorSet.js"),n=e("./classExtractFieldDescriptor.js");t.exports=function(e,t,o){return t=n(e,t,"set"),i(e,t,o),o},t.exports.default=t.exports,t.exports.__esModule=!0},{"./classApplyDescriptorSet.js":5,"./classExtractFieldDescriptor.js":7}],10:[function(e,t,o){t.exports=function(e,t,o){return t in e?Object.defineProperty(e,t,{value:o,enumerable:!0,configurable:!0,writable:!0}):e[t]=o,e},t.exports.default=t.exports,t.exports.__esModule=!0},{}],11:[function(e,t,o){t.exports=function(e){return e&&e.__esModule?e:{default:e}},t.exports.default=t.exports,t.exports.__esModule=!0},{}],12:[function(e,t,o){function i(e){return"function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?t.exports=i=function(e){return typeof e}:t.exports=i=function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},t.exports.default=t.exports,t.exports.__esModule=!0,i(e)}t.exports=i,t.exports.default=t.exports,t.exports.__esModule=!0},{}]},{},[3]);1 !function i(n,s,r){function l(t,e){if(!s[t]){if(!n[t]){var o="function"==typeof require&&require;if(!e&&o)return o(t,!0);if(a)return a(t,!0);throw(o=new Error("Cannot find module '"+t+"'")).code="MODULE_NOT_FOUND",o}o=s[t]={exports:{}},n[t][0].call(o.exports,function(e){return l(n[t][1][e]||e)},o,o.exports,i,n,s,r)}return s[t].exports}for(var a="function"==typeof require&&require,e=0;e<r.length;e++)l(r[e]);return l}({1:[function(e,t,o){"use strict";Object.defineProperty(o,"__esModule",{value:!0}),o.options=void 0;var i=oceanwpLocalize;o.options=i},{}],2:[function(e,t,o){"use strict";var i=e("@babel/runtime/helpers/interopRequireDefault");Object.defineProperty(o,"__esModule",{value:!0}),o.fadeOutNav=o.fadeInNav=o.isSelectorValid=o.isElement=o.getSiblings=o.visible=o.offset=o.fadeToggle=o.fadeOut=o.fadeIn=o.slideToggle=o.slideUp=o.slideDown=o.wrap=void 0;var n=i(e("@babel/runtime/helpers/typeof"));o.wrap=function(e){var t=1<arguments.length&&void 0!==arguments[1]?arguments[1]:document.createElement("div");return e.nextSibling?e.parentNode.insertBefore(t,e.nextSibling):e.parentNode.appendChild(t),t.appendChild(e)};function s(e){var t=1<arguments.length&&void 0!==arguments[1]?arguments[1]:300,o=window.getComputedStyle(e).display;"none"===o&&(o="block"),e.style.transitionProperty="height",e.style.transitionDuration="".concat(t,"ms"),e.style.opacity=0,e.style.display=o;var i=e.offsetHeight;e.style.height=0,e.style.opacity=1,e.style.overflow="hidden",setTimeout(function(){e.style.height="".concat(i,"px")},5),window.setTimeout(function(){e.style.removeProperty("height"),e.style.removeProperty("overflow"),e.style.removeProperty("transition-duration"),e.style.removeProperty("transition-property"),e.style.removeProperty("opacity")},t+50)}o.slideDown=s;function r(e){var t=1<arguments.length&&void 0!==arguments[1]?arguments[1]:300;e.style.boxSizing="border-box",e.style.transitionProperty="height, margin",e.style.transitionDuration="".concat(t,"ms"),e.style.height="".concat(e.offsetHeight,"px"),e.style.marginTop=0,e.style.marginBottom=0,e.style.overflow="hidden",setTimeout(function(){e.style.height=0},5),window.setTimeout(function(){e.style.display="none",e.style.removeProperty("height"),e.style.removeProperty("margin-top"),e.style.removeProperty("margin-bottom"),e.style.removeProperty("overflow"),e.style.removeProperty("transition-duration"),e.style.removeProperty("transition-property")},t+50)}o.slideUp=r;o.slideToggle=function(e,t){("none"===window.getComputedStyle(e).display?s:r)(e,t)};function l(e){var t={duration:300,display:null,opacity:1,callback:null};Object.assign(t,1<arguments.length&&void 0!==arguments[1]?arguments[1]:{}),e.style.opacity=0,e.style.display=t.display||"block",setTimeout(function(){e.style.transition="".concat(t.duration,"ms opacity ease"),e.style.opacity=t.opacity},5),setTimeout(function(){e.style.removeProperty("transition"),t.callback&&t.callback()},t.duration+50)}o.fadeIn=l;function a(e){var t;"none"!==e.style.display&&(t={duration:300,display:null,opacity:0,callback:null},Object.assign(t,1<arguments.length&&void 0!==arguments[1]?arguments[1]:{}),e.style.opacity=1,e.style.display=t.display||"block",setTimeout(function(){e.style.transition="".concat(t.duration,"ms opacity ease"),e.style.opacity=t.opacity},5),setTimeout(function(){e.style.display="none",e.style.removeProperty("transition"),t.callback&&t.callback()},t.duration+50))}o.fadeOut=a;o.fadeToggle=function(e,t){("none"===window.getComputedStyle(e).display?l:a)(e,t)};o.offset=function(e){if(!e.getClientRects().length)return{top:0,left:0};var t=e.getBoundingClientRect(),e=e.ownerDocument.defaultView;return{top:t.top+e.pageYOffset,left:t.left+e.pageXOffset}};o.visible=function(e){return!!e&&!!(e.offsetWidth||e.offsetHeight||e.getClientRects().length)};o.getSiblings=function(e){var t=[];if(!e.parentNode)return t;for(var o=e.parentNode.firstChild;o;)1===o.nodeType&&o!==e&&t.push(o),o=o.nextSibling;return t};o.isElement=function(e){return"object"===("undefined"==typeof HTMLElement?"undefined":(0,n.default)(HTMLElement))?e instanceof HTMLElement:e&&"object"===(0,n.default)(e)&&null!==e&&1===e.nodeType&&"string"==typeof e.nodeName};var c,e=(c=document.createDocumentFragment(),function(e){try{c.querySelector(e)}catch(e){return!1}return!0});o.isSelectorValid=e;o.fadeInNav=function(e){var t={duration:300,visibility:"visible",opacity:1,callback:null};Object.assign(t,1<arguments.length&&void 0!==arguments[1]?arguments[1]:{}),e.style.opacity=0,e.style.visibility=t.visibility||"visible",setTimeout(function(){e.style.transition="".concat(t.duration,"ms opacity ease"),e.style.opacity=t.opacity},5)};o.fadeOutNav=function(e){var t;"hidden"!==e.style.visibility&&(t={duration:300,visibility:"hidden",opacity:0,callback:null},Object.assign(t,1<arguments.length&&void 0!==arguments[1]?arguments[1]:{}),e.style.opacity=1,e.style.visibility=t.visibility||"visible",setTimeout(function(){e.style.transition="".concat(t.duration,"ms opacity ease"),e.style.opacity=t.opacity},5),setTimeout(function(){e.style.visibility="hidden",e.style.removeProperty("transition"),t.callback&&t.callback()},t.duration+50))}},{"@babel/runtime/helpers/interopRequireDefault":11,"@babel/runtime/helpers/typeof":12}],3:[function(e,t,o){"use strict";var i=e("@babel/runtime/helpers/interopRequireDefault"),n=i(e("@babel/runtime/helpers/classCallCheck")),s=i(e("@babel/runtime/helpers/defineProperty")),r=i(e("@babel/runtime/helpers/classPrivateFieldSet")),c=i(e("@babel/runtime/helpers/classPrivateFieldGet")),l=e("../../constants"),u=e("../../lib/utils");function a(t,e){var o,i=Object.keys(t);return Object.getOwnPropertySymbols&&(o=Object.getOwnPropertySymbols(t),e&&(o=o.filter(function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable})),i.push.apply(i,o)),i}function d(t){for(var e=1;e<arguments.length;e++){var o=null!=arguments[e]?arguments[e]:{};e%2?a(Object(o),!0).forEach(function(e){(0,s.default)(t,e,o[e])}):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(o)):a(Object(o)).forEach(function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(o,e))})}return t}var p=new WeakMap,f=new WeakMap,y=new WeakMap,m=new WeakMap,v=new WeakMap,b=new WeakMap,h=new WeakMap,g=new WeakMap,w=new WeakMap,x=new WeakMap,S=new WeakMap,k=new WeakMap,E=new WeakMap,q=new WeakMap,P=new WeakMap,e=function e(){var a=this;(0,n.default)(this,e),p.set(this,{writable:!0,value:{body:document.body}}),f.set(this,{writable:!0,value:void 0}),y.set(this,{writable:!0,value:void 0}),m.set(this,{writable:!0,value:void 0}),v.set(this,{writable:!0,value:function(){(0,r.default)(a,p,d(d({},(0,c.default)(a,p)),{},{hamburgerBtn:document.querySelector(".mobile-menu > .hamburger"),header:document.querySelector("#site-header")}))}}),b.set(this,{writable:!0,value:function(){(0,r.default)(a,f,!1),(0,c.default)(a,h).call(a),document.querySelector(".sidr-class-dropdown-toggle")||document.querySelectorAll(".sidr-class-menu-item-has-children > a").forEach(function(e){e.insertAdjacentHTML("beforeend",'<span class="sidr-class-dropdown-toggle" tabindex=0></span>')}),(0,r.default)(a,y,"link"==l.options.sidrDropdownTarget?document.querySelectorAll("li.sidr-class-menu-item-has-children > a"):document.querySelectorAll(".sidr-class-dropdown-toggle"))}}),h.set(this,{writable:!0,value:function(){var o=a;sidr.new(".mobile-menu",{name:"sidr",source:l.options.sidrSource,side:l.options.sidrSide,displace:l.options.sidrDisplace,speed:300,renaming:!0,timing:"ease",bind:"click",onOpen:function(){null!==(e=document.querySelector("a.sidr-class-toggle-sidr-close"))&&void 0!==e&&e.focus(),null!==(e=document.querySelector("a.sidr-class-toggle-sidr-close svg"))&&void 0!==e&&e.classList.remove("sidr-class-owp-icon","sidr-class-owp-icon--close"),null!==(e=document.querySelector("a.sidr-class-toggle-sidr-close svg"))&&void 0!==e&&e.classList.add("owp-icon","owp-icon--close"),null!==(e=(0,c.default)(o,p).hamburgerBtn)&&void 0!==e&&e.classList.add("is-active"),(0,c.default)(o,p).header.insertAdjacentHTML("afterend",'<div class="oceanwp-sidr-overlay" tabindex=0></div>');var e=document.querySelector(".oceanwp-sidr-overlay");(0,u.fadeIn)(e),e.addEventListener("click",function(e){e.preventDefault(),e.stopPropagation(),sidr.close("sidr")})},onClose:function(){var e;null!==(e=(0,c.default)(o,p).hamburgerBtn)&&void 0!==e&&e.classList.remove("is-active"),document.querySelectorAll(".sidr-class-menu-item-has-children.active > ul").forEach(function(e){e.style.display="none"}),document.querySelectorAll(".sidr-class-menu-item-has-children.active").forEach(function(e){e.classList.remove("active")});var t=document.querySelector(".oceanwp-sidr-overlay");(0,u.fadeOut)(t),setTimeout(function(){t.remove()})}}),document.querySelectorAll('#sidr [class*="opl-logout-link"], #sidr [class*="opl-login-li"], #sidr [class*="opl-link"]').forEach(function(e){e.className=e.className.replace(/\bsidr-class-.*?\b/g,"")}),document.querySelectorAll('#sidr [class*="sidr-class-fa"]').forEach(function(e){e.className=e.className.replace(/\bsidr-class-fa.*?\b/g,"fa")}),document.querySelectorAll('#sidr [class*="sidr-class-icon"]').forEach(function(e){e.className=e.className.replace(/\bsidr-class-icon-.*?\b/g,"icon-")}),document.querySelectorAll('#sidr [class*="sidr-class-dashicons"]').forEach(function(e){e.className=e.className.replace(/\bsidr-class-dashicons.*?\b/g,"dashicons")}),document.querySelectorAll('#sidr [class*="sidr-class-elusive"]').forEach(function(e){e.className=e.className.replace(/\bsidr-class-el-icon.*?\b/g,"el-icon")}),document.querySelectorAll('#sidr [class*="sidr-class-genericon"]').forEach(function(e){e.className=e.className.replace(/\bsidr-class-genericon.*?\b/g,"genericon")}),document.querySelectorAll('#sidr [class*="sidr-class-foundation-icons"]').forEach(function(e){e.className=e.className.replace(/\bsidr-class-fi.*?\b/g,"fi")}),(0,r.default)(a,m,document.querySelector("a.sidr-class-toggle-sidr-close"))}}),g.set(this,{writable:!0,value:function(){var e;null!==(e=(0,c.default)(a,p).hamburgerBtn)&&void 0!==e&&e.addEventListener("click",(0,c.default)(a,w)),null!==(e=(0,c.default)(a,m))&&void 0!==e&&e.addEventListener("click",(0,c.default)(a,x)),document.body.addEventListener("click",function(e){var t=e.target;t.matches('.sidr-class-dropdown-menu a[href*="#"]:not([href="#"]), .sidr-class-menu-item > a[href*="#"]:not([href="#"])')&&!t.matches(".opl-login-li a.opl-link")&&(0,c.default)(a,P).call(a,e)}),document.body.addEventListener("touchend",function(e){var t=e.target;t.matches('.sidr-class-dropdown-menu a[href*="#"]:not([href="#"]), .sidr-class-menu-item > a[href*="#"]:not([href="#"])')&&!t.matches(".opl-login-li a.opl-link")&&(0,c.default)(a,P).call(a,e)}),null!==(e=(0,c.default)(a,y))&&void 0!==e&&e.forEach(function(e){e.addEventListener("click",(0,c.default)(a,S)),e.addEventListener("touchend",(0,c.default)(a,S))}),null!==(e=document.querySelectorAll("li.sidr-class-nav-no-click > a"))&&void 0!==e&&e.forEach(function(e){e.addEventListener("click",function(e){e.preventDefault(),e.stopPropagation()})}),document.addEventListener("keydown",(0,c.default)(a,E)),window.addEventListener("resize",(0,c.default)(a,k)),document.querySelectorAll(".opl-login-li a.opl-link").forEach(function(e){e.addEventListener("click",(0,c.default)(a,q)),e.addEventListener("touchend",(0,c.default)(a,q))})}}),w.set(this,{writable:!0,value:function(e){(0,r.default)(a,f,!(0,c.default)(a,f)),e.currentTarget.setAttribute("aria-expanded",(0,c.default)(a,f))}}),x.set(this,{writable:!0,value:function(e){e.preventDefault(),e.stopPropagation(),a.closeSidr(),(0,c.default)(a,m).classList.remove("opened")}}),S.set(this,{writable:!0,value:function(e){e.preventDefault(),e.stopPropagation();var t=e.currentTarget,o=("link"==l.options.sidrDropdownTarget?t:t.parentNode).parentNode,e=o.lastElementChild;null!=o&&o.classList.contains("active")?(o.classList.remove("active"),(0,u.slideUp)(e,250),null!==(t=o.querySelectorAll(".sidr-class-menu-item-has-children.active"))&&void 0!==t&&t.forEach(function(e){e.classList.remove("active"),(0,u.slideUp)(e.querySelector("ul"))})):(o.classList.add("active"),(0,u.slideDown)(e,250))}}),k.set(this,{writable:!0,value:function(e){960<=window.innerWidth&&a.closeSidr()}}),E.set(this,{writable:!0,value:function(e){var t,o,i,n,s,r,l;(0,c.default)(a,p).body.classList.contains("sidr-open")&&(e.stopPropagation(),t=9===e.keyCode,o=e.shiftKey,i=27===e.keyCode,n=13===e.keyCode,s=(0,c.default)(a,m),r=(l=document.querySelector("#sidr").querySelectorAll("a, span.sidr-class-dropdown-toggle, input, button"))[0],l=l[l.length-1],s&&(s.style.outline="",!o&&t&&l===document.activeElement&&(e.preventDefault(),s.style.outline="1px dashed rgba(255, 255, 255, 0.6)",s.focus()),o&&t&&r===document.activeElement&&(e.preventDefault(),s.style.outline="1px dashed rgba(255, 255, 255, 0.6)",s.focus())),i&&(e.preventDefault(),a.closeSidr()),n&&document.activeElement.classList.contains("sidr-class-dropdown-toggle")&&(e.preventDefault(),document.activeElement.click()),t&&r===l&&e.preventDefault())}}),q.set(this,{writable:!0,value:function(e){a.closeSidr()}}),P.set(this,{writable:!0,value:function(e){var t=e.currentTarget.getAttribute("href"),t=t.substring(t.lastIndexOf("#")),o=document.querySelector(t);o&&(e.stopPropagation(),a.closeSidr(),setTimeout(function(){var e=document.querySelector(".oceanwp-sticky-header-holder .has-sticky-mobile"),t=e?e.offsetHeight:0,e=document.querySelector(".oceanwp-sticky-top-bar-holder"),e=e?e.offsetHeight:0,e=o.getBoundingClientRect().top+window.scrollY-t-e;window.scrollTo({top:e,behavior:"smooth"})},50))}}),(0,s.default)(this,"closeSidr",function(){setTimeout(function(){var e;sidr.close("sidr"),null!==(e=(0,c.default)(a,p).hamburgerBtn)&&void 0!==e&&e.classList.remove("is-active")},50)}),void 0!==l.options.sidrSource&&(0,c.default)(this,p).body.classList.contains("sidebar-mobile")&&((0,c.default)(this,v).call(this),(0,c.default)(this,b).call(this),(0,c.default)(this,g).call(this))};window.oceanwp=window.oceanwp||{},oceanwp.sidebarMobileMenu=new e},{"../../constants":1,"../../lib/utils":2,"@babel/runtime/helpers/classCallCheck":6,"@babel/runtime/helpers/classPrivateFieldGet":8,"@babel/runtime/helpers/classPrivateFieldSet":9,"@babel/runtime/helpers/defineProperty":10,"@babel/runtime/helpers/interopRequireDefault":11}],4:[function(e,t,o){t.exports=function(e,t){return t.get?t.get.call(e):t.value},t.exports.default=t.exports,t.exports.__esModule=!0},{}],5:[function(e,t,o){t.exports=function(e,t,o){if(t.set)t.set.call(e,o);else{if(!t.writable)throw new TypeError("attempted to set read only private field");t.value=o}},t.exports.default=t.exports,t.exports.__esModule=!0},{}],6:[function(e,t,o){t.exports=function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")},t.exports.default=t.exports,t.exports.__esModule=!0},{}],7:[function(e,t,o){t.exports=function(e,t,o){if(!t.has(e))throw new TypeError("attempted to "+o+" private field on non-instance");return t.get(e)},t.exports.default=t.exports,t.exports.__esModule=!0},{}],8:[function(e,t,o){var i=e("./classApplyDescriptorGet.js"),n=e("./classExtractFieldDescriptor.js");t.exports=function(e,t){return t=n(e,t,"get"),i(e,t)},t.exports.default=t.exports,t.exports.__esModule=!0},{"./classApplyDescriptorGet.js":4,"./classExtractFieldDescriptor.js":7}],9:[function(e,t,o){var i=e("./classApplyDescriptorSet.js"),n=e("./classExtractFieldDescriptor.js");t.exports=function(e,t,o){return t=n(e,t,"set"),i(e,t,o),o},t.exports.default=t.exports,t.exports.__esModule=!0},{"./classApplyDescriptorSet.js":5,"./classExtractFieldDescriptor.js":7}],10:[function(e,t,o){t.exports=function(e,t,o){return t in e?Object.defineProperty(e,t,{value:o,enumerable:!0,configurable:!0,writable:!0}):e[t]=o,e},t.exports.default=t.exports,t.exports.__esModule=!0},{}],11:[function(e,t,o){t.exports=function(e){return e&&e.__esModule?e:{default:e}},t.exports.default=t.exports,t.exports.__esModule=!0},{}],12:[function(e,t,o){function i(e){return"function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?t.exports=i=function(e){return typeof e}:t.exports=i=function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},t.exports.default=t.exports,t.exports.__esModule=!0,i(e)}t.exports=i,t.exports.default=t.exports,t.exports.__esModule=!0},{}]},{},[3]); -
oceanwp/3.5.9/assets/src/js/theme/mobile-menu/sidebar-mobile-menu.js
r228726 r237520 111 111 112 112 document 113 .querySelectorAll('#sidr [class*="opl-logout-link"], #sidr [class*="opl-login-li"], #sidr [class*="opl-link"]') 114 .forEach((icon) => { 115 icon.className = icon.className.replace( 116 /\bsidr-class-.*?\b/g, 117 "" 118 ); 119 }); 120 121 document 113 122 .querySelectorAll('#sidr [class*="sidr-class-fa"]') 114 123 .forEach((icon) => { … … 124 133 ); 125 134 }); 126 127 135 128 136 document … … 181 189 // }); 182 190 183 document 184 .querySelectorAll('.sidr-class-dropdown-menu a[href*="#"]:not([href="#"]), .sidr-class-menu-item > a[href*="#"]:not([href="#"])') 185 .forEach((anchorLink) => { 186 anchorLink.addEventListener("click", this.#onAnchorLinkClick); 187 }); 188 189 document 190 .querySelectorAll('.sidr-class-dropdown-menu a[href*="#"]:not([href="#"]), .sidr-class-menu-item > a[href*="#"]:not([href="#"])') 191 .forEach((anchorLink) => { 192 anchorLink.addEventListener("touchend", this.#onAnchorLinkClick); 191 // Remove comments from the event listeners and add exclusion for popup login link 192 document.body.addEventListener("click", (event) => { 193 const target = event.target; 194 195 if ( 196 target.matches('.sidr-class-dropdown-menu a[href*="#"]:not([href="#"]), .sidr-class-menu-item > a[href*="#"]:not([href="#"])') && 197 !target.matches('.opl-login-li a.opl-link') 198 ) { 199 this.#onAnchorLinkClick(event); 200 } 201 }); 202 203 document.body.addEventListener("touchend", (event) => { 204 const target = event.target; 205 206 if ( 207 target.matches('.sidr-class-dropdown-menu a[href*="#"]:not([href="#"]), .sidr-class-menu-item > a[href*="#"]:not([href="#"])') && 208 !target.matches('.opl-login-li a.opl-link') 209 ) { 210 this.#onAnchorLinkClick(event); 211 } 193 212 }); 194 213 … … 212 231 document.addEventListener("keydown", this.#onDocumentKeydown); 213 232 window.addEventListener("resize", this.#onWindowResize); 233 234 // Add event listener for popup login link 235 document 236 .querySelectorAll(".opl-login-li a.opl-link") 237 .forEach((loginLink) => { 238 loginLink.addEventListener("click", this.#onLoginLinkClick); 239 loginLink.addEventListener("touchend", this.#onLoginLinkClick); 240 }); 241 214 242 }; 215 243 … … 319 347 }; 320 348 349 #onLoginLinkClick = (event) => { 350 this.closeSidr(); 351 }; 352 321 353 // New method to handle anchor link clicks 322 354 #onAnchorLinkClick = (event) => { -
oceanwp/3.5.9/changelog.md
r234745 r237520 1 1 # OceanWP Changelog 2 3 ### _2024.08.05_ - 3.5.9 4 - **Updated**:: WordPress version for compatibility. 5 - **Fixed**:: Page Title: 'ocean_page_header_background_image' hook doesn't function with custom background image URL. 6 - **Fixed**:: Header: Mobile Header: Sidebar Style: Ocean Popup Login window doesn't display with this mobile header style. 7 - **Fixed**:: WooCommerce: Archives: Hover Style: Background color doesn't render on the front. 8 - **Fixed**:: Compatibility: WPIDE plugin: Fatal error on plugin activation: Uncaught Error: Call to undefined function oceanwp_theme_panel(). 2 9 3 10 ### _2024.07.12_ - 3.5.8 -
oceanwp/3.5.9/inc/customizer/settings/woocommerce.php
r179212 r237520 6492 6492 // Add background color 6493 6493 if ( ! empty( $product_background_color ) ) { 6494 $css .= '.woocommerce .products .product-inner, .woocommerce ul.products li.product .woo-product-info, .woocommerce ul.products li.product .woo-product-gallery{background-color:'. $product_background_color .' ;}';6494 $css .= '.woocommerce .products .product-inner, .woocommerce ul.products li.product .woo-product-info, .woocommerce ul.products li.product .woo-product-gallery{background-color:'. $product_background_color .' !important;}'; 6495 6495 } 6496 6496 -
oceanwp/3.5.9/inc/helpers.php
r222387 r237520 2485 2485 $bg_img = apply_filters( 'ocean_page_header_background_image', $bg_img ); 2486 2486 2487 // Generate image URL if using ID2488 if ( is_numeric( $bg_img ) ) { 2489 $bg_img_src = wp_get_attachment_image_src( $bg_img, $bg_img_size );2490 $bg_img = is_array( $bg_img_src ) ? $bg_img_src[0] : $bg_img_src;2487 $bg_img_src = null; 2488 2489 if (is_numeric($bg_img)) { 2490 $bg_img_src = wp_get_attachment_image_src($bg_img, $bg_img_size); 2491 2491 } else { 2492 2492 $bg_image_id = attachment_url_to_postid($bg_img); 2493 $bg_img_src = wp_get_attachment_image_src( $bg_image_id, $bg_img_size ); 2494 $bg_img = is_array( $bg_img_src ) ? $bg_img_src[0] : $bg_img_src; 2495 } 2496 2497 $bg_img = $bg_img ? $bg_img : null; 2498 $bg_img = $bg_img; 2493 if ($bg_image_id) { 2494 $bg_img_src = wp_get_attachment_image_src($bg_image_id, $bg_img_size); 2495 } 2496 } 2497 2498 if (isset($bg_img_src)) { 2499 $bg_img = is_array($bg_img_src) ? $bg_img_src[0] : null; 2500 } else { 2501 $bg_img = $bg_img ? $bg_img : null; 2502 $bg_img = $bg_img; 2503 } 2499 2504 2500 2505 // Immage attrs … … 4989 4994 function ocean_oe_is_outdated_admin_notice() { 4990 4995 if ( file_exists( WP_PLUGIN_DIR . '/ocean-extra/ocean-extra.php' ) ) { 4991 if ( current_user_can( 'install_plugins' ) ) {4996 if ( current_user_can( 'install_plugins' ) && function_exists('oceanwp_theme_panel') ) { 4992 4997 $current_oe_version = oceanwp_theme_panel()->get_current_plugin_version( 'ocean-extra/ocean-extra.php' ); 4993 4998 $required_oe_version = '2.0.0'; … … 5005 5010 } 5006 5011 } 5007 add_action('admin_notices', 'ocean_oe_is_outdated_admin_notice' );5012 add_action('admin_notices', 'ocean_oe_is_outdated_admin_notice', 15); 5008 5013 5009 5014 /** -
oceanwp/3.5.9/languages/oceanwp.pot
r234745 r237520 10 10 "Content-Type: text/plain; charset=UTF-8\n" 11 11 "Content-Transfer-Encoding: 8bit\n" 12 "POT-Creation-Date: 2024-0 7-12T05:57:21+00:00\n"12 "POT-Creation-Date: 2024-08-05T07:25:06+00:00\n" 13 13 "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" 14 14 "X-Generator: WP-CLI 2.8.1\n" … … 17 17 #. Theme Name of the theme 18 18 #. Author of the theme 19 #: inc/helpers.php:38 7720 #: inc/helpers.php:49 3921 #: inc/helpers.php:49 5722 #: inc/helpers.php:49 5819 #: inc/helpers.php:3882 20 #: inc/helpers.php:4944 21 #: inc/helpers.php:4962 22 #: inc/helpers.php:4963 23 23 msgid "OceanWP" 24 24 msgstr "" … … 997 997 #: inc/customizer/settings/blog.php:329 998 998 #: inc/customizer/settings/header.php:91 999 #: inc/helpers.php:41 18999 #: inc/helpers.php:4123 1000 1000 msgid "Medium" 1001 1001 msgstr "" … … 1118 1118 #: inc/customizer/settings/blog.php:763 1119 1119 #: inc/customizer/settings/woocommerce.php:1903 1120 #: inc/helpers.php:353 01120 #: inc/helpers.php:3535 1121 1121 #: inc/woocommerce/woocommerce-config.php:611 1122 1122 msgid "End of content" … … 1130 1130 #: inc/customizer/settings/blog.php:790 1131 1131 #: inc/customizer/settings/woocommerce.php:1921 1132 #: inc/helpers.php:35 351132 #: inc/helpers.php:3540 1133 1133 #: inc/woocommerce/woocommerce-config.php:616 1134 1134 msgid "No more pages to load" … … 1152 1152 #: inc/customizer/settings/blog.php:1696 1153 1153 #: inc/customizer/settings/lifterlms.php:211 1154 #: inc/helpers.php:310 01155 #: inc/helpers.php:31 851154 #: inc/helpers.php:3105 1155 #: inc/helpers.php:3190 1156 1156 msgid "Meta" 1157 1157 msgstr "" … … 1180 1180 #: inc/customizer/settings/blog.php:1265 1181 1181 #: inc/customizer/settings/blog.php:1706 1182 #: inc/helpers.php:319 21182 #: inc/helpers.php:3197 1183 1183 msgid "Comments" 1184 1184 msgstr "" … … 1322 1322 1323 1323 #: inc/customizer/settings/blog.php:1268 1324 #: inc/helpers.php:31 871324 #: inc/helpers.php:3192 1325 1325 msgid "Tags" 1326 1326 msgstr "" … … 1911 1911 #: inc/customizer/settings/woocommerce.php:1600 1912 1912 #: inc/customizer/settings/woocommerce.php:2088 1913 #: inc/helpers.php:3 0991914 #: inc/helpers.php:318 41913 #: inc/helpers.php:3104 1914 #: inc/helpers.php:3189 1915 1915 msgid "Title" 1916 1916 msgstr "" … … 3189 3189 #: inc/customizer/settings/header.php:2244 3190 3190 #: inc/customizer/settings/header.php:3575 3191 #: inc/helpers.php:400 23191 #: inc/helpers.php:4007 3192 3192 #: partials/mobile/mobile-icon.php:40 3193 3193 msgid "Menu" … … 3691 3691 3692 3692 #: inc/customizer/settings/header.php:3592 3693 #: inc/helpers.php:400 33693 #: inc/helpers.php:4008 3694 3694 #: partials/mobile/mobile-dropdown.php:72 3695 3695 #: partials/mobile/mobile-icon.php:45 … … 3743 3743 3744 3744 #: inc/customizer/settings/header.php:3771 3745 #: inc/helpers.php:400 43745 #: inc/helpers.php:4009 3746 3746 #: partials/mobile/mobile-sidr-close.php:31 3747 3747 msgid "Close Menu" … … 3885 3885 #: inc/customizer/settings/lifterlms.php:240 3886 3886 #: inc/customizer/settings/woocommerce.php:1624 3887 #: inc/helpers.php:3 0983888 #: inc/helpers.php:318 33887 #: inc/helpers.php:3103 3888 #: inc/helpers.php:3188 3889 3889 msgid "Featured Image" 3890 3890 msgstr "" … … 3985 3985 #: inc/customizer/settings/topbar.php:306 3986 3986 #: inc/customizer/settings/topbar.php:340 3987 #: inc/helpers.php:310 13988 #: inc/helpers.php:31 863987 #: inc/helpers.php:3106 3988 #: inc/helpers.php:3191 3989 3989 #: inc/third/class-beaver-themer.php:127 3990 3990 msgid "Content" … … 4378 4378 4379 4379 #: inc/customizer/settings/woocommerce.php:1487 4380 #: inc/helpers.php:40 094380 #: inc/helpers.php:4014 4381 4381 #: inc/woocommerce/woocommerce-config.php:1011 4382 4382 msgid "Filter" … … 4675 4675 4676 4676 #: inc/customizer/settings/woocommerce.php:2885 4677 #: inc/helpers.php:39 294677 #: inc/helpers.php:3934 4678 4678 msgid "Arrow" 4679 4679 msgstr "" … … 5134 5134 msgstr "" 5135 5135 5136 #: inc/helpers.php:310 25136 #: inc/helpers.php:3107 5137 5137 msgid "Read More" 5138 5138 msgstr "" 5139 5139 5140 #: inc/helpers.php:31 885140 #: inc/helpers.php:3193 5141 5141 msgid "Social Share" 5142 5142 msgstr "" 5143 5143 5144 #: inc/helpers.php:31 895144 #: inc/helpers.php:3194 5145 5145 msgid "Next/Prev Links" 5146 5146 msgstr "" 5147 5147 5148 #: inc/helpers.php:319 05148 #: inc/helpers.php:3195 5149 5149 msgid "Author Box" 5150 5150 msgstr "" 5151 5151 5152 #: inc/helpers.php:319 15152 #: inc/helpers.php:3196 5153 5153 msgid "Related Posts" 5154 5154 msgstr "" 5155 5155 5156 5156 #. translators: 1: post reading time. 5157 #: inc/helpers.php:32 795157 #: inc/helpers.php:3284 5158 5158 msgid "%1$s mins read" 5159 5159 msgstr "" 5160 5160 5161 #: inc/helpers.php:330 35161 #: inc/helpers.php:3308 5162 5162 msgid "Pingback:" 5163 5163 msgstr "" 5164 5164 5165 #: inc/helpers.php:330 35165 #: inc/helpers.php:3308 5166 5166 msgid "(Edit)" 5167 5167 msgstr "" 5168 5168 5169 #: inc/helpers.php:332 15169 #: inc/helpers.php:3326 5170 5170 msgid "%s " 5171 5171 msgstr "" 5172 5172 5173 #: inc/helpers.php:334 05173 #: inc/helpers.php:3345 5174 5174 msgid "edit" 5175 5175 msgstr "" 5176 5176 5177 #: inc/helpers.php:335 35177 #: inc/helpers.php:3358 5178 5178 msgid "Your comment is awaiting moderation." 5179 5179 msgstr "" 5180 5180 5181 #: inc/helpers.php:339 35181 #: inc/helpers.php:3398 5182 5182 msgid "Enter your name or username to comment" 5183 5183 msgstr "" 5184 5184 5185 #: inc/helpers.php:3 3955185 #: inc/helpers.php:3400 5186 5186 msgid "Enter your email address to comment" 5187 5187 msgstr "" 5188 5188 5189 #: inc/helpers.php:3 3975189 #: inc/helpers.php:3402 5190 5190 msgid "Enter your website URL (optional)" 5191 5191 msgstr "" 5192 5192 5193 #: inc/helpers.php:34 685193 #: inc/helpers.php:3473 5194 5194 msgid "Go to the previous page" 5195 5195 msgstr "" 5196 5196 5197 #: inc/helpers.php:34 695197 #: inc/helpers.php:3474 5198 5198 msgid "Go to the next page" 5199 5199 msgstr "" 5200 5200 5201 #: inc/helpers.php:350 15202 #: inc/helpers.php:355 05201 #: inc/helpers.php:3506 5202 #: inc/helpers.php:3555 5203 5203 #: inc/woocommerce/woocommerce-config.php:631 5204 5204 msgid "Newer Posts" 5205 5205 msgstr "" 5206 5206 5207 #: inc/helpers.php:350 45208 #: inc/helpers.php:355 15207 #: inc/helpers.php:3509 5208 #: inc/helpers.php:3556 5209 5209 #: inc/woocommerce/woocommerce-config.php:632 5210 5210 msgid "Older Posts" 5211 5211 msgstr "" 5212 5212 5213 #: inc/helpers.php:392 25213 #: inc/helpers.php:3927 5214 5214 msgid "Default Icon" 5215 5215 msgstr "" 5216 5216 5217 #: inc/helpers.php:392 35217 #: inc/helpers.php:3928 5218 5218 msgid "3D X" 5219 5219 msgstr "" 5220 5220 5221 #: inc/helpers.php:392 45221 #: inc/helpers.php:3929 5222 5222 msgid "3D X Reverse" 5223 5223 msgstr "" 5224 5224 5225 #: inc/helpers.php:39 255225 #: inc/helpers.php:3930 5226 5226 msgid "3D Y" 5227 5227 msgstr "" 5228 5228 5229 #: inc/helpers.php:39 265229 #: inc/helpers.php:3931 5230 5230 msgid "3D Y Reverse" 5231 5231 msgstr "" 5232 5232 5233 #: inc/helpers.php:39 275233 #: inc/helpers.php:3932 5234 5234 msgid "3D XY" 5235 5235 msgstr "" 5236 5236 5237 #: inc/helpers.php:39 285237 #: inc/helpers.php:3933 5238 5238 msgid "3D XY Reverse" 5239 5239 msgstr "" 5240 5240 5241 #: inc/helpers.php:393 05241 #: inc/helpers.php:3935 5242 5242 msgid "Arrow Reverse" 5243 5243 msgstr "" 5244 5244 5245 #: inc/helpers.php:393 15245 #: inc/helpers.php:3936 5246 5246 msgid "Arrowalt" 5247 5247 msgstr "" 5248 5248 5249 #: inc/helpers.php:393 25249 #: inc/helpers.php:3937 5250 5250 msgid "Arrowalt Reverse" 5251 5251 msgstr "" 5252 5252 5253 #: inc/helpers.php:393 35253 #: inc/helpers.php:3938 5254 5254 msgid "Arrowturn" 5255 5255 msgstr "" 5256 5256 5257 #: inc/helpers.php:393 45257 #: inc/helpers.php:3939 5258 5258 msgid "Arrowturn Reverse" 5259 5259 msgstr "" 5260 5260 5261 #: inc/helpers.php:39 355261 #: inc/helpers.php:3940 5262 5262 msgid "Boring" 5263 5263 msgstr "" 5264 5264 5265 #: inc/helpers.php:39 365265 #: inc/helpers.php:3941 5266 5266 msgid "Collapse" 5267 5267 msgstr "" 5268 5268 5269 #: inc/helpers.php:39 375269 #: inc/helpers.php:3942 5270 5270 msgid "Collapse Reverse" 5271 5271 msgstr "" 5272 5272 5273 #: inc/helpers.php:39 385273 #: inc/helpers.php:3943 5274 5274 msgid "Elastic" 5275 5275 msgstr "" 5276 5276 5277 #: inc/helpers.php:39 395277 #: inc/helpers.php:3944 5278 5278 msgid "Elastic Reverse" 5279 5279 msgstr "" 5280 5280 5281 #: inc/helpers.php:394 05281 #: inc/helpers.php:3945 5282 5282 msgid "Minus" 5283 5283 msgstr "" 5284 5284 5285 #: inc/helpers.php:394 15285 #: inc/helpers.php:3946 5286 5286 msgid "Slider" 5287 5287 msgstr "" 5288 5288 5289 #: inc/helpers.php:394 25289 #: inc/helpers.php:3947 5290 5290 msgid "Slider Reverse" 5291 5291 msgstr "" 5292 5292 5293 #: inc/helpers.php:394 35293 #: inc/helpers.php:3948 5294 5294 msgid "Spin" 5295 5295 msgstr "" 5296 5296 5297 #: inc/helpers.php:394 45297 #: inc/helpers.php:3949 5298 5298 msgid "Spin Reverse" 5299 5299 msgstr "" 5300 5300 5301 #: inc/helpers.php:39 455301 #: inc/helpers.php:3950 5302 5302 msgid "Spring" 5303 5303 msgstr "" 5304 5304 5305 #: inc/helpers.php:39 465305 #: inc/helpers.php:3951 5306 5306 msgid "Spring Reverse" 5307 5307 msgstr "" 5308 5308 5309 #: inc/helpers.php:39 475309 #: inc/helpers.php:3952 5310 5310 msgid "Stand" 5311 5311 msgstr "" 5312 5312 5313 #: inc/helpers.php:39 485313 #: inc/helpers.php:3953 5314 5314 msgid "Stand Reverse" 5315 5315 msgstr "" 5316 5316 5317 #: inc/helpers.php:39 495317 #: inc/helpers.php:3954 5318 5318 msgid "Squeeze" 5319 5319 msgstr "" 5320 5320 5321 #: inc/helpers.php:395 05321 #: inc/helpers.php:3955 5322 5322 msgid "Vortex" 5323 5323 msgstr "" 5324 5324 5325 #: inc/helpers.php:395 15325 #: inc/helpers.php:3956 5326 5326 msgid "Vortex Reverse" 5327 5327 msgstr "" 5328 5328 5329 #: inc/helpers.php:40 055329 #: inc/helpers.php:4010 5330 5330 msgid "Copyright [oceanwp_date] - OceanWP Theme by OceanWP" 5331 5331 msgstr "" 5332 5332 5333 #: inc/helpers.php:403 05333 #: inc/helpers.php:4035 5334 5334 msgid "X" 5335 5335 msgstr "" 5336 5336 5337 #: inc/helpers.php:403 45337 #: inc/helpers.php:4039 5338 5338 msgid "Facebook" 5339 5339 msgstr "" 5340 5340 5341 #: inc/helpers.php:40 385341 #: inc/helpers.php:4043 5342 5342 msgid "Facebook Group" 5343 5343 msgstr "" 5344 5344 5345 #: inc/helpers.php:404 25345 #: inc/helpers.php:4047 5346 5346 msgid "Slack" 5347 5347 msgstr "" 5348 5348 5349 #: inc/helpers.php:40 465349 #: inc/helpers.php:4051 5350 5350 msgid "Threads" 5351 5351 msgstr "" 5352 5352 5353 #: inc/helpers.php:405 05353 #: inc/helpers.php:4055 5354 5354 msgid "Pinterest" 5355 5355 msgstr "" 5356 5356 5357 #: inc/helpers.php:405 45357 #: inc/helpers.php:4059 5358 5358 msgid "Dribbble" 5359 5359 msgstr "" 5360 5360 5361 #: inc/helpers.php:40 585361 #: inc/helpers.php:4063 5362 5362 msgid "VK" 5363 5363 msgstr "" 5364 5364 5365 #: inc/helpers.php:406 25365 #: inc/helpers.php:4067 5366 5366 #: inc/themepanel/views/panes/free-vs-pro.php:77 5367 5367 msgid "Instagram" 5368 5368 msgstr "" 5369 5369 5370 #: inc/helpers.php:40 665370 #: inc/helpers.php:4071 5371 5371 msgid "LinkedIn" 5372 5372 msgstr "" 5373 5373 5374 #: inc/helpers.php:407 05374 #: inc/helpers.php:4075 5375 5375 msgid "Tumblr" 5376 5376 msgstr "" 5377 5377 5378 #: inc/helpers.php:407 45378 #: inc/helpers.php:4079 5379 5379 msgid "Github" 5380 5380 msgstr "" 5381 5381 5382 #: inc/helpers.php:40 785382 #: inc/helpers.php:4083 5383 5383 msgid "Flickr" 5384 5384 msgstr "" 5385 5385 5386 #: inc/helpers.php:408 25386 #: inc/helpers.php:4087 5387 5387 msgid "Skype" 5388 5388 msgstr "" 5389 5389 5390 #: inc/helpers.php:40 865390 #: inc/helpers.php:4091 5391 5391 msgid "Youtube" 5392 5392 msgstr "" 5393 5393 5394 #: inc/helpers.php:409 05394 #: inc/helpers.php:4095 5395 5395 msgid "Vimeo" 5396 5396 msgstr "" 5397 5397 5398 #: inc/helpers.php:409 45398 #: inc/helpers.php:4099 5399 5399 msgid "Vine" 5400 5400 msgstr "" 5401 5401 5402 #: inc/helpers.php:4 0985402 #: inc/helpers.php:4103 5403 5403 msgid "Xing" 5404 5404 msgstr "" 5405 5405 5406 #: inc/helpers.php:410 25406 #: inc/helpers.php:4107 5407 5407 msgid "Yelp" 5408 5408 msgstr "" 5409 5409 5410 #: inc/helpers.php:41 065410 #: inc/helpers.php:4111 5411 5411 msgid "RSS" 5412 5412 msgstr "" 5413 5413 5414 #: inc/helpers.php:411 05414 #: inc/helpers.php:4115 5415 5415 #: inc/oceanwp-strings.php:87 5416 5416 msgid "Email" 5417 5417 msgstr "" 5418 5418 5419 #: inc/helpers.php:411 45419 #: inc/helpers.php:4119 5420 5420 msgid "TikTok" 5421 5421 msgstr "" 5422 5422 5423 #: inc/helpers.php:412 25423 #: inc/helpers.php:4127 5424 5424 msgid "Telegram" 5425 5425 msgstr "" 5426 5426 5427 #: inc/helpers.php:41 265427 #: inc/helpers.php:4131 5428 5428 msgid "Twitch" 5429 5429 msgstr "" 5430 5430 5431 #: inc/helpers.php:413 05431 #: inc/helpers.php:4135 5432 5432 msgid "Line" 5433 5433 msgstr "" 5434 5434 5435 #: inc/helpers.php:413 45435 #: inc/helpers.php:4139 5436 5436 msgid "QQ" 5437 5437 msgstr "" 5438 5438 5439 #: inc/helpers.php:41 385439 #: inc/helpers.php:4143 5440 5440 msgid "Discord" 5441 5441 msgstr "" 5442 5442 5443 #: inc/helpers.php:414 25443 #: inc/helpers.php:4147 5444 5444 msgid "Mastodon" 5445 5445 msgstr "" 5446 5446 5447 #: inc/helpers.php:49 385448 #: inc/helpers.php:49 485449 #: inc/helpers.php:49 495447 #: inc/helpers.php:4943 5448 #: inc/helpers.php:4953 5449 #: inc/helpers.php:4954 5450 5450 #: inc/themepanel/views/layout/header.php:22 5451 5451 msgid "OceanWP Panel" 5452 5452 msgstr "" 5453 5453 5454 #: inc/helpers.php: 49985454 #: inc/helpers.php:5003 5455 5455 #: inc/themepanel/views/panes/home.php:74 5456 5456 msgid "We made changes to our Theme Panel. To complete the installation and enjoy both old and new features, please make sure the OceanWP theme and all Ocean plugins are up to date." 5457 5457 msgstr "" 5458 5458 5459 #: inc/helpers.php: 49995459 #: inc/helpers.php:5004 5460 5460 msgid "Update and get the new Theme Panel" 5461 5461 msgstr "" -
oceanwp/3.5.9/partials/single/tags.php
r207459 r237520 20 20 21 21 <div class="post-tags clr"> 22 <?php the_tags( '<span class="owp-tag-text ">' . esc_attr__( 'Tags: ', 'oceanwp' ) . '</span>', '<span class="owp-sep">,</span> ', '' ); ?>22 <?php the_tags( '<span class="owp-tag-texts">' . esc_attr__( 'Tags', 'oceanwp' ) . '</span>: ', '<span class="owp-sep">,</span> ', '' ); ?> 23 23 </div> -
oceanwp/3.5.9/readme.txt
r234745 r237520 1 1 == OceanWP == 2 2 Contributors: oceanwp 3 Tested up to: 6. 5.54 Stable tag: 3.5. 83 Tested up to: 6.6.1 4 Stable tag: 3.5.9 5 5 Requires PHP: 7.4 6 6 License: GPLv2 or later -
oceanwp/3.5.9/sass/style.scss
r234745 r237520 3 3 * Theme Name: OceanWP 4 4 * Text Domain: oceanwp 5 * Version: 3.5. 86 * Tested up to: 6. 5.55 * Version: 3.5.9 6 * Tested up to: 6.6.1 7 7 * Requires at least: 5.6 8 8 * Requires PHP: 7.4 -
oceanwp/3.5.9/style.css
r234745 r237520 2 2 * Theme Name: OceanWP 3 3 * Text Domain: oceanwp 4 * Version: 3.5. 85 * Tested up to: 6. 5.54 * Version: 3.5.9 5 * Tested up to: 6.6.1 6 6 * Requires at least: 5.6 7 7 * Requires PHP: 7.4
Note: See TracChangeset for help on using the changeset viewer.