Changeset 3342291
- Timestamp:
- 08/10/2025 12:57:24 PM (8 months ago)
- Location:
- riovizual
- Files:
-
- 120 added
- 13 edited
-
tags/2.3.2 (added)
-
tags/2.3.2/admin (added)
-
tags/2.3.2/admin/Admin.php (added)
-
tags/2.3.2/admin/dashboard (added)
-
tags/2.3.2/admin/dashboard/dashboard.asset.php (added)
-
tags/2.3.2/admin/dashboard/dashboard.css (added)
-
tags/2.3.2/admin/dashboard/dashboard.css.map (added)
-
tags/2.3.2/admin/dashboard/dashboard.js (added)
-
tags/2.3.2/admin/dashboard/dashboard.js.map (added)
-
tags/2.3.2/assets (added)
-
tags/2.3.2/assets/css (added)
-
tags/2.3.2/assets/css/admin-style.css (added)
-
tags/2.3.2/assets/css/feedback.css (added)
-
tags/2.3.2/assets/css/table-editor.css (added)
-
tags/2.3.2/assets/js (added)
-
tags/2.3.2/assets/js/feedback.min.js (added)
-
tags/2.3.2/assets/js/rv-admin-script.min.js (added)
-
tags/2.3.2/build (added)
-
tags/2.3.2/build/blocks (added)
-
tags/2.3.2/build/blocks/pricingTable (added)
-
tags/2.3.2/build/blocks/pricingTable/block.json (added)
-
tags/2.3.2/build/blocks/prosAndCons (added)
-
tags/2.3.2/build/blocks/prosAndCons/block.json (added)
-
tags/2.3.2/build/blocks/tableBuilder (added)
-
tags/2.3.2/build/blocks/tableBuilder/block.json (added)
-
tags/2.3.2/build/common.asset.php (added)
-
tags/2.3.2/build/common.js (added)
-
tags/2.3.2/build/divi_extn_frontend.asset.php (added)
-
tags/2.3.2/build/divi_extn_frontend.js (added)
-
tags/2.3.2/build/editor-script.asset.php (added)
-
tags/2.3.2/build/editor-script.js (added)
-
tags/2.3.2/build/editor.asset.php (added)
-
tags/2.3.2/build/editor.js (added)
-
tags/2.3.2/build/images (added)
-
tags/2.3.2/build/images/rv_media-placeholder-alt.4b735d3d.png (added)
-
tags/2.3.2/build/images/rv_media-placeholder.6af3c56e.png (added)
-
tags/2.3.2/build/index.asset.php (added)
-
tags/2.3.2/build/index.css (added)
-
tags/2.3.2/build/index.js (added)
-
tags/2.3.2/build/pricing-table.asset.php (added)
-
tags/2.3.2/build/pricing-table.js (added)
-
tags/2.3.2/build/responsiveTable.asset.php (added)
-
tags/2.3.2/build/responsiveTable.js (added)
-
tags/2.3.2/build/style-common.css (added)
-
tags/2.3.2/build/style-index.css (added)
-
tags/2.3.2/includes (added)
-
tags/2.3.2/includes/Assets (added)
-
tags/2.3.2/includes/Assets/Assets.php (added)
-
tags/2.3.2/includes/Blocks (added)
-
tags/2.3.2/includes/Blocks/Blocks.php (added)
-
tags/2.3.2/includes/Core (added)
-
tags/2.3.2/includes/Core/Activator.php (added)
-
tags/2.3.2/includes/Core/I18n.php (added)
-
tags/2.3.2/includes/Core/Uninstaller.php (added)
-
tags/2.3.2/includes/Extensions (added)
-
tags/2.3.2/includes/Extensions/Extensions.php (added)
-
tags/2.3.2/includes/Extensions/PageBuilders (added)
-
tags/2.3.2/includes/Extensions/PageBuilders/BeaverBuilder (added)
-
tags/2.3.2/includes/Extensions/PageBuilders/BeaverBuilder/Module.php (added)
-
tags/2.3.2/includes/Extensions/PageBuilders/BeaverBuilder/Settings.php (added)
-
tags/2.3.2/includes/Extensions/PageBuilders/BeaverBuilder/assets (added)
-
tags/2.3.2/includes/Extensions/PageBuilders/BeaverBuilder/assets/editor.css (added)
-
tags/2.3.2/includes/Extensions/PageBuilders/BeaverBuilder/includes (added)
-
tags/2.3.2/includes/Extensions/PageBuilders/BeaverBuilder/includes/frontend.php (added)
-
tags/2.3.2/includes/Extensions/PageBuilders/Bricks (added)
-
tags/2.3.2/includes/Extensions/PageBuilders/Bricks/Settings.php (added)
-
tags/2.3.2/includes/Extensions/PageBuilders/Bricks/Widget.php (added)
-
tags/2.3.2/includes/Extensions/PageBuilders/Bricks/assets (added)
-
tags/2.3.2/includes/Extensions/PageBuilders/Bricks/assets/editor.css (added)
-
tags/2.3.2/includes/Extensions/PageBuilders/Divi (added)
-
tags/2.3.2/includes/Extensions/PageBuilders/Divi/Module.php (added)
-
tags/2.3.2/includes/Extensions/PageBuilders/Divi/Settings.php (added)
-
tags/2.3.2/includes/Extensions/PageBuilders/Divi/assets (added)
-
tags/2.3.2/includes/Extensions/PageBuilders/Divi/assets/editor.css (added)
-
tags/2.3.2/includes/Extensions/PageBuilders/Divi/assets/rio-icon-elementor.png (added)
-
tags/2.3.2/includes/Extensions/PageBuilders/Divi/assets/rio-icon-elementor.svg (added)
-
tags/2.3.2/includes/Extensions/PageBuilders/Divi/frontend (added)
-
tags/2.3.2/includes/Extensions/PageBuilders/Divi/frontend/frontend.jsx (added)
-
tags/2.3.2/includes/Extensions/PageBuilders/Elementor (added)
-
tags/2.3.2/includes/Extensions/PageBuilders/Elementor/Settings.php (added)
-
tags/2.3.2/includes/Extensions/PageBuilders/Elementor/Widget.php (added)
-
tags/2.3.2/includes/Extensions/PageBuilders/Elementor/assets (added)
-
tags/2.3.2/includes/Extensions/PageBuilders/Elementor/assets/editor.css (added)
-
tags/2.3.2/includes/Extensions/PageBuilders/Elementor/assets/editor.js (added)
-
tags/2.3.2/includes/Extensions/PageBuilders/Oxygen (added)
-
tags/2.3.2/includes/Extensions/PageBuilders/Oxygen/Settings.php (added)
-
tags/2.3.2/includes/Extensions/PageBuilders/Oxygen/elements (added)
-
tags/2.3.2/includes/Extensions/PageBuilders/Oxygen/elements/class-oxyel-riovizual-table.php (added)
-
tags/2.3.2/includes/Feedback (added)
-
tags/2.3.2/includes/Feedback/Feedback.php (added)
-
tags/2.3.2/includes/Helpers (added)
-
tags/2.3.2/includes/Helpers/Utils.php (added)
-
tags/2.3.2/includes/Notices (added)
-
tags/2.3.2/includes/Notices/Init.php (added)
-
tags/2.3.2/includes/Notices/PluginLinks.php (added)
-
tags/2.3.2/includes/Notices/ReviewNotice.php (added)
-
tags/2.3.2/includes/Notices/TablePageNotice.php (added)
-
tags/2.3.2/includes/Notices/UpgradeNotice.php (added)
-
tags/2.3.2/includes/PostTypes (added)
-
tags/2.3.2/includes/PostTypes/Shortcode.php (added)
-
tags/2.3.2/includes/PostTypes/Table.php (added)
-
tags/2.3.2/includes/PostTypes/TablesList.php (added)
-
tags/2.3.2/includes/RioVizual.php (added)
-
tags/2.3.2/includes/StyleProcessor (added)
-
tags/2.3.2/includes/StyleProcessor/StyleProcessor.php (added)
-
tags/2.3.2/languages (added)
-
tags/2.3.2/languages/riovizual.pot (added)
-
tags/2.3.2/readme.txt (added)
-
tags/2.3.2/riovizual.php (added)
-
tags/2.3.2/vendor (added)
-
tags/2.3.2/vendor/autoload.php (added)
-
tags/2.3.2/vendor/composer (added)
-
tags/2.3.2/vendor/composer/ClassLoader.php (added)
-
tags/2.3.2/vendor/composer/LICENSE (added)
-
tags/2.3.2/vendor/composer/autoload_classmap.php (added)
-
tags/2.3.2/vendor/composer/autoload_namespaces.php (added)
-
tags/2.3.2/vendor/composer/autoload_psr4.php (added)
-
tags/2.3.2/vendor/composer/autoload_real.php (added)
-
tags/2.3.2/vendor/composer/autoload_static.php (added)
-
tags/2.3.2/vendor/composer/platform_check.php (added)
-
trunk/assets/js/feedback.min.js (modified) (1 diff)
-
trunk/build/divi_extn_frontend.asset.php (modified) (1 diff)
-
trunk/build/divi_extn_frontend.js (modified) (1 diff)
-
trunk/build/editor.asset.php (modified) (1 diff)
-
trunk/build/editor.js (modified) (1 diff)
-
trunk/includes/Assets/Assets.php (modified) (1 diff)
-
trunk/includes/Extensions/PageBuilders/Divi/Settings.php (modified) (2 diffs)
-
trunk/includes/Extensions/PageBuilders/Divi/frontend/frontend.jsx (modified) (2 diffs)
-
trunk/includes/Extensions/PageBuilders/Elementor/Widget.php (modified) (2 diffs)
-
trunk/includes/PostTypes/Shortcode.php (modified) (1 diff)
-
trunk/includes/feedback/Feedback.php (modified) (1 diff)
-
trunk/readme.txt (modified) (2 diffs)
-
trunk/riovizual.php (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
riovizual/trunk/assets/js/feedback.min.js
r3277145 r3342291 1 (()=>{var e={792:()=>{document.addEventListener("DOMContentLoaded",(function(){var t=document.querySelector("[id='deactivate-riovizual']"),n=document.getElementById("rv-feedback-form");t&&t.addEventListener("click",(function(e){e.preventDefault(),document.getElementById("rv-feedback-modal").style.display="block";var t=0,n=setInterval((function(){t+=.05,document.getElementById("rv-feedback-modal").style.opacity=t,t>=1&&clearInterval(n)}),10)})),n&&n.addEventListener("submit",(function(e){e.preventDefault();const t=e.submitter;"rv-submit-feedback-btn"===t.id&&a(),"rv-cancel-feedback-btn"===t.id&&d()}));const d=()=>{document.getElementById("rv-submit-feedback-btn").textContent="Skip & Deactive",document.getElementById("other_feedback_form").classList.add("rv-d-none"),document.getElementById("better_plugin_form").classList.add("rv-d-none"),document.getElementById("rv-submit-feedback-btn").classList.remove("disabled"),n.reset();let e=1;var t=setInterval((function(){e-=.05,document.getElementById("rv-feedback-modal").style.opacity=e,e<.1&&(document.getElementById("rv-feedback-modal").style.display="none",document.getElementById("rv-feedback-modal").style.removeProperty("opacity"),clearInterval(t))}),10)},a=()=>{document.querySelector(".rv-feedback-popup").classList.add("opacity-1");let t="";const n=document.querySelector('input[name="rv-feedback-op"]:checked'),d=document.getElementById("rv-other-feedback"),a=document.getElementById("better_plugin_input"),o=document.getElementById("rv-current-version").value, r=(new Date).toLocaleString();n&&(t=n.value,"Other"===t&&d&&(t=d.value),"I found a better plugin"===t&&a&&(t=a.value)),fetch("https://survey.riovizual.com/wp-json/riovizual/v2/rio_feedback_survey/",{method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify({feedback_entry:r,feedback_data:t,current_version:o})}).then((e=>e.json())).catch((t=>e())).finally((()=>{e()}))}}));const e=()=>{const e=new FormData;e.append("action","deactivate_plugin"),e.append("plugin","riovizual/riovizual.php"),fetch("/wp-admin/admin-ajax.php",{method:"POST",body:e,credentials:"same-origin"}).then((e=>e.json())).then((e=>{e.success&&location.reload()})).catch((e=>{}))}},608:()=>{const e=document.querySelectorAll('.rv-feedback-options input[type="radio"]'),t=document.getElementById("other_feedback_form"),n=document.getElementById("rv-other-feedback"),d=document.getElementById("better_plugin_input"),a=document.getElementById("better_plugin_form"),o=document.getElementById("rv-submit-feedback-btn");e.forEach((e=>{e.addEventListener("change",(function(){this.checked&&(o.textContent="Submit & Deactivate","other"===this.id?(t.classList.remove("rv-d-none"),a.classList.add("rv-d-none"),n&&""==n.value&&o.classList.add("disabled")):"found_better_plugin"===this.id?(a.classList.remove("rv-d-none"),t.classList.add("rv-d-none"),d&&""==d.value&&o.classList.add("disabled")):(t.classList.add("rv-d-none"),a.classList.add("rv-d-none"),o.classList.remove("disabled")))}))})),n&&n.addEventListener("keyup",(function(){""==n.value?o.classList.add("disabled"):o.classList.remove("disabled")})),d&&d.addEventListener("keyup",(function(){""==d.value?o.classList.add("disabled"):o.classList.remove("disabled")}))}},t={};function n(d){var a=t[d];if(void 0!==a)return a.exports;var o=t[d]={exports:{}};return e[d](o,o.exports,n),o.exports}n.n=e=>{var t=e&&e.__esModule?()=>e.default:()=>e;return n.d(t,{a:t}),t},n.d=(e,t)=>{for(var d in t)n.o(t,d)&&!n.o(e,d)&&Object.defineProperty(e,d,{enumerable:!0,get:t[d]})},n.o=(e,t)=>Object.prototype.hasOwnProperty.call(e,t),(()=>{"use strict";n(792),n(608)})()})();1 (()=>{var e={792:()=>{document.addEventListener("DOMContentLoaded",(function(){var t=document.querySelector("[id='deactivate-riovizual']"),n=document.getElementById("rv-feedback-form");t&&t.addEventListener("click",(function(e){e.preventDefault(),document.getElementById("rv-feedback-modal").style.display="block";var t=0,n=setInterval((function(){t+=.05,document.getElementById("rv-feedback-modal").style.opacity=t,t>=1&&clearInterval(n)}),10)})),n&&n.addEventListener("submit",(function(e){e.preventDefault();const t=e.submitter;"rv-submit-feedback-btn"===t.id&&a(),"rv-cancel-feedback-btn"===t.id&&d()}));const d=()=>{document.getElementById("rv-submit-feedback-btn").textContent="Skip & Deactive",document.getElementById("other_feedback_form").classList.add("rv-d-none"),document.getElementById("better_plugin_form").classList.add("rv-d-none"),document.getElementById("rv-submit-feedback-btn").classList.remove("disabled"),n.reset();let e=1;var t=setInterval((function(){e-=.05,document.getElementById("rv-feedback-modal").style.opacity=e,e<.1&&(document.getElementById("rv-feedback-modal").style.display="none",document.getElementById("rv-feedback-modal").style.removeProperty("opacity"),clearInterval(t))}),10)},a=()=>{document.querySelector(".rv-feedback-popup").classList.add("opacity-1");let t="";const n=document.querySelector('input[name="rv-feedback-op"]:checked'),d=document.getElementById("rv-other-feedback"),a=document.getElementById("better_plugin_input"),o=document.getElementById("rv-current-version").value,c=(new Date).toLocaleString();n&&(t=n.value,"Other"===t&&d&&(t=d.value),"I found a better plugin"===t&&a&&(t=a.value)),fetch("https://survey.riovizual.com/wp-json/riovizual/v2/rio_feedback_survey/",{method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify({feedback_entry:c,feedback_data:t,current_version:o})}).then((e=>e.json())).catch((t=>e())).finally((()=>{e()}))}}));const e=()=>{const e=new FormData;e.append("action","deactivate_plugin"),e.append("plugin","riovizual/riovizual.php"),e.append("_wpnonce",feedback_ajax_object.nonce),fetch(feedback_ajax_object.ajax_url,{method:"POST",body:e,credentials:"same-origin"}).then((e=>e.json())).then((e=>{e.success&&location.reload()})).catch((e=>{}))}},608:()=>{const e=document.querySelectorAll('.rv-feedback-options input[type="radio"]'),t=document.getElementById("other_feedback_form"),n=document.getElementById("rv-other-feedback"),d=document.getElementById("better_plugin_input"),a=document.getElementById("better_plugin_form"),o=document.getElementById("rv-submit-feedback-btn");e.forEach((e=>{e.addEventListener("change",(function(){this.checked&&(o.textContent="Submit & Deactivate","other"===this.id?(t.classList.remove("rv-d-none"),a.classList.add("rv-d-none"),n&&""==n.value&&o.classList.add("disabled")):"found_better_plugin"===this.id?(a.classList.remove("rv-d-none"),t.classList.add("rv-d-none"),d&&""==d.value&&o.classList.add("disabled")):(t.classList.add("rv-d-none"),a.classList.add("rv-d-none"),o.classList.remove("disabled")))}))})),n&&n.addEventListener("keyup",(function(){""==n.value?o.classList.add("disabled"):o.classList.remove("disabled")})),d&&d.addEventListener("keyup",(function(){""==d.value?o.classList.add("disabled"):o.classList.remove("disabled")}))}},t={};function n(d){var a=t[d];if(void 0!==a)return a.exports;var o=t[d]={exports:{}};return e[d](o,o.exports,n),o.exports}n.n=e=>{var t=e&&e.__esModule?()=>e.default:()=>e;return n.d(t,{a:t}),t},n.d=(e,t)=>{for(var d in t)n.o(t,d)&&!n.o(e,d)&&Object.defineProperty(e,d,{enumerable:!0,get:t[d]})},n.o=(e,t)=>Object.prototype.hasOwnProperty.call(e,t),(()=>{"use strict";n(792),n(608)})()})(); -
riovizual/trunk/build/divi_extn_frontend.asset.php
r3306337 r3342291 1 <?php return array('dependencies' => array('react', 'wp-element'), 'version' => ' d139f3f375b3ebddee2a');1 <?php return array('dependencies' => array('react', 'wp-element'), 'version' => '37c8a2fe26a804b4f2b6'); -
riovizual/trunk/build/divi_extn_frontend.js
r3306337 r3342291 1 (()=>{"use strict";const e=window.wp.element, i=window.React;class t extends i.Component{static slug="riovizual_module";constructor(e){super(e),this.state={error:null,isLoading:!0,table:null}}componentDidUpdate(e){e.riovizual!==this.props.riovizual&&this.componentDidMount()}componentDidMount(){const e=new FormData;e.append("nonce",riovizual_divi_builder.nonce),e.append("action","riovizual_divi_preview"),e.append("riovizual",this.props.riovizual),fetch(riovizual_divi_builder.ajax_url,{method:"POST",cache:"no-cache",credentials:"same-origin",headers:{"Content-Type":"application/x-www-form-urlencoded","Cache-Control":"no-cache"},body:new URLSearchParams(e)}).then((e=>e.json())).then((e=>{this.setState({isLoading:!1,table:e.data.content})}),(e=>{this.setState({isLoading:!1,error:e})}))}render(){const{error:i,isLoaded:t,table:o}=this.state;return void 0===this.props.riovizual||""===this.props.riovizual?(0,e.createElement)("div",{className:"riovizual-divi-empty-block"},(0,e.createElement)("p",{dangerouslySetInnerHTML:{__html:riovizual_divi_builder.block_empty_text}}),(0,e.createElement)("button",{type:"button",onClick:()=>{window.open(riovizual_divi_builder.get_started_url,"_blank")}},riovizual_divi_builder.get_started_text)):i||!o?(0,e.createElement)("div",{className:"riovizual-divi-table-placeholder"},(0,e.createElement)("div",null,(0,e.createElement)("img",{src:"https://riovizual.com/wp-content/uploads/2025/05/rio-icon-elementor.png",alt:""})," Please choose a table")):(0,e.createElement)("div",{className:"riovizual-divi-table-preview"},(0,e.createElement)("div",{dangerouslySetInnerHTML:{__html:o}}))}}jQuery(window).on("et_builder_api_ready",((e,i)=>{i.registerModules([t])})).on("riovizualDiviModuleDisplay",(()=>{window.riovizual.init()}))})();1 (()=>{"use strict";const e=window.wp.element,t=window.React;class i extends t.Component{static slug="riovizual_module";constructor(e){super(e),this.state={error:null,isLoading:!0,table:null,style:null}}componentDidUpdate(e){e.riovizual!==this.props.riovizual&&this.componentDidMount()}componentDidMount(){const e=new FormData;e.append("nonce",riovizual_divi_builder.nonce),e.append("action","riovizual_divi_preview"),e.append("riovizual",this.props.riovizual),fetch(riovizual_divi_builder.ajax_url,{method:"POST",cache:"no-cache",credentials:"same-origin",headers:{"Content-Type":"application/x-www-form-urlencoded","Cache-Control":"no-cache"},body:new URLSearchParams(e)}).then((e=>e.json())).then((e=>{if(e.data.css){const t=document.createElement("style");t.textContent=e.data.css,document.head.appendChild(t)}this.setState({isLoading:!1,table:e.data.content,style:e.data.css})}),(e=>{this.setState({isLoading:!1,error:e})}))}render(){const{error:t,isLoaded:i,table:a}=this.state;return void 0===this.props.riovizual||""===this.props.riovizual?(0,e.createElement)("div",{className:"riovizual-divi-empty-block"},(0,e.createElement)("p",{dangerouslySetInnerHTML:{__html:riovizual_divi_builder.block_empty_text}}),(0,e.createElement)("button",{type:"button",onClick:()=>{window.open(riovizual_divi_builder.get_started_url,"_blank")}},riovizual_divi_builder.get_started_text)):t||!a?(0,e.createElement)("div",{className:"riovizual-divi-table-placeholder"},(0,e.createElement)("div",null,(0,e.createElement)("img",{src:"https://riovizual.com/wp-content/uploads/2025/05/rio-icon-elementor.png",alt:""})," Please choose a table")):(0,e.createElement)("div",{className:"riovizual-divi-table-preview"},(0,e.createElement)("div",{dangerouslySetInnerHTML:{__html:a}}))}}jQuery(window).on("et_builder_api_ready",((e,t)=>{t.registerModules([i])})).on("riovizualDiviModuleDisplay",(()=>{window.riovizual.init()}))})(); -
riovizual/trunk/build/editor.asset.php
r3306337 r3342291 1 <?php return array('dependencies' => array('wp-blocks', 'wp-components', 'wp-data', 'wp-dom-ready', 'wp-edit-post', 'wp-element', 'wp-i18n', 'wp-plugins', 'wp-url'), 'version' => ' 4dbf1b37cedf199394a1');1 <?php return array('dependencies' => array('wp-blocks', 'wp-components', 'wp-data', 'wp-dom-ready', 'wp-edit-post', 'wp-element', 'wp-i18n', 'wp-plugins', 'wp-url'), 'version' => 'c95e077fbe6f886bcb2e'); -
riovizual/trunk/build/editor.js
r3306337 r3342291 1 (()=>{"use strict";var e={n:t=>{var o=t&&t.__esModule?()=>t.default:()=>t;return e.d(o,{a:o}),o},d:(t,o)=>{for(var n in o)e.o(o,n)&&!e.o(t,n)&&Object.defineProperty(t,n,{enumerable:!0,get:o[n]})},o:(e,t)=>Object.prototype.hasOwnProperty.call(e,t)};const t=window.wp.data,o=window.wp.element,n=window.wp.i18n,r=window.wp.url,l=window.wp.domReady;var i=e.n(l);const c=window.wp.plugins,a=window.wp.components,C=window.wp.blocks,s=window.wp.editPost,d=e=>"riovizual"===new URLSearchParams(window.location.search).get(e),u=e=>{ const o=(0,t.select)("core/editor").getCurrentPostId(),n=(0,t.select)("core").getEntityRecord("postType","wp_block",o);return d(e)||n?.meta?._riovizual_pattern};(0,c.registerPlugin)("riovizual",{render:()=>{if(!u("plugin"))return null;const e=(0,o.createElement)("svg",{width:"109",height:"81",viewBox:"0 0 109 81",fill:"none",xmlns:"http://www.w3.org/2000/svg"},(0,o.createElement)("path",{d:"M17.5489 80.0497C15.1289 80.0497 13.0389 80.0497 11.3689 79.9097C9.40889 79.7497 7.96889 79.3997 6.69889 78.7497C4.43889 77.5997 2.63889 75.7997 1.48889 73.5397C0.838889 72.2797 0.478889 70.8397 0.318889 68.8697C0.188889 67.2097 0.188889 65.1197 0.188889 62.6997V17.4097C0.188889 14.9897 0.188889 12.8997 0.318889 11.2297C0.478889 9.25974 0.838889 7.81974 1.48889 6.55974C2.64889 4.29974 4.44889 2.49974 6.70889 1.34974C7.96889 0.709744 9.40889 0.349744 11.3689 0.189744C13.0389 0.0497437 15.1289 0.0497437 17.5489 0.0497437H72.1989C74.6189 0.0497437 76.7089 0.0497437 78.3789 0.189744C80.3489 0.349744 81.7889 0.709744 83.0489 1.34974C85.3089 2.49974 87.1089 4.29974 88.2589 6.55974C88.8989 7.81974 89.2589 9.25974 89.4189 11.2297C89.5589 12.8997 89.5589 14.9897 89.5589 17.4097V29.7697L84.4489 34.8797V28.5697H28.7089V74.9397H40.4789V66.8597H45.6589V74.9397H55.5489V56.4497H60.7289V74.9397H70.6189V65.2097H75.7989V74.9297L77.1089 74.8697C77.4089 74.8497 77.6989 74.8397 77.9689 74.8197C79.5689 74.6897 80.2589 74.4297 80.7189 74.1997C82.0089 73.5397 83.0389 72.5097 83.6989 71.2197C83.9389 70.7597 84.1889 70.0697 84.3289 68.4497C84.4189 67.3397 84.4389 65.9597 84.4389 64.2397V55.4597L89.5589 50.3397V62.6897C89.5589 65.1097 89.5589 67.1997 89.4189 68.8597C89.2589 70.8297 88.8989 72.2697 88.2589 73.5297C87.1089 75.7897 85.3089 77.5897 83.0489 78.7397C81.7789 79.3897 80.3489 79.7397 78.3789 79.8997C76.7089 80.0397 74.6189 80.0397 72.1989 80.0397H17.5489V80.0497ZM5.30889 62.5197C5.30889 65.1297 5.30889 67.0197 5.42889 68.4597C5.55889 70.0797 5.81889 70.7597 6.04889 71.2197C6.70889 72.5197 7.73889 73.5497 9.02889 74.1997C9.50889 74.4397 10.1989 74.6897 11.7889 74.8197C13.2289 74.9397 15.1189 74.9397 17.7289 74.9397H23.5989V28.5697H5.30889V62.5197ZM17.7289 5.16974C15.1189 5.16974 13.2289 5.16974 11.7889 5.27974C10.1389 5.41974 9.45889 5.67974 9.00889 5.90974C7.72889 6.56974 6.69889 7.59974 6.03889 8.87974C5.79889 9.35974 5.54889 10.0497 5.41889 11.6497C5.29889 13.0897 5.29889 14.9797 5.29889 17.5897V23.4597H84.4489V17.5897C84.4489 14.9297 84.4489 13.0797 84.3289 11.6497C84.1989 10.0597 83.9489 9.36974 83.7189 8.89974C83.0489 7.58974 82.0189 6.55974 80.7289 5.90974C80.2789 5.67974 79.5889 5.41974 77.9589 5.27974C76.5189 5.16974 74.6289 5.16974 72.0189 5.16974H17.7289Z",fill:"white"}),(0,o.createElement)("path",{d:"M43.5189 62.2297C42.4789 62.2297 41.4689 61.8497 40.6889 61.1697C39.8189 60.4097 39.3089 59.3597 39.2289 58.2097C39.1489 57.0597 39.5289 55.9497 40.2789 55.0897C41.0889 54.1497 42.2689 53.6097 43.5189 53.6097L44.4489 53.6297L53.1989 43.6297L53.1289 42.8897C53.1289 42.7897 53.1189 42.6897 53.1189 42.5797V42.4597C53.0289 41.3097 53.4089 40.1997 54.1689 39.3297C54.9089 38.4897 55.9489 37.9697 57.0589 37.8797V42.0897H61.7189V42.2197C61.7389 42.3597 61.7389 42.5397 61.7189 42.7297L61.6789 43.5597L71.6289 52.3397L72.4289 52.2097C72.6289 52.1797 72.8389 52.1597 73.0689 52.1597C73.2289 52.1597 73.3789 52.1697 73.5389 52.1797L74.3489 52.2597L99.7289 26.8797L99.6389 26.0597C99.4889 24.7497 99.9389 23.4597 100.869 22.5297C101.679 21.7197 102.759 21.2697 103.919 21.2697C105.079 21.2697 106.149 21.7197 106.959 22.5297C107.769 23.3397 108.219 24.4197 108.219 25.5797C108.219 26.7397 107.769 27.8097 106.959 28.6297C106.149 29.4397 105.069 29.8897 103.919 29.8897C103.809 29.8897 103.699 29.8897 103.589 29.8797L102.789 29.8197L77.3289 55.2797L77.4089 56.0797C77.5089 57.2697 77.1389 58.4197 76.3489 59.3197C75.5289 60.2397 74.3489 60.7697 73.1189 60.7697C72.0689 60.7697 71.0589 60.3897 70.2689 59.6897C69.2989 58.8297 68.7689 57.5997 68.8089 56.3097L68.8389 55.4997L58.8089 46.6397L58.0289 46.7497C57.8289 46.7697 57.6389 46.7897 57.4489 46.7897C57.2989 46.7897 57.1589 46.7797 57.0089 46.7697L56.1489 46.6797L47.6589 56.3897L47.7889 57.1897C47.9989 58.4597 47.6289 59.7497 46.7789 60.7297C45.9589 61.6597 44.7789 62.1997 43.5289 62.1997L43.5189 62.2297Z",fill:"white"}),(0,o.createElement)("path",{d:"M65.7389 41.4797C65.7389 42.9197 65.3689 44.2597 64.6989 45.4297C63.7789 47.0797 62.2889 48.3697 60.5089 49.0397C59.6289 49.3697 58.6689 49.5597 57.6689 49.5597C56.6689 49.5597 55.7689 49.3897 54.8989 49.0797C53.1189 48.4297 51.6389 47.1697 50.6989 45.5597C49.9989 44.3697 49.5989 42.9797 49.5989 41.4897C49.5989 37.0297 53.2089 33.4197 57.6689 33.4197V41.4897H65.7389V41.4797Z",fill:"#FE544F"}),(0,o.createElement)("path",{d:"M68.8689 38.3497H60.7989V30.2797C65.2589 30.2797 68.8689 33.8897 68.8689 38.3497Z",fill:"#FFCB2D"})),t=(0,r.addQueryArgs)("admin.php",{page:"riovizualTables",post_type:"wp_block"});return(0,o.useEffect)((()=>{i()((()=>{wp.blocks.getBlockTypes().forEach((e=>{e.name.startsWith("riovizual")||(0,C.unregisterBlockType)(e.name)}))}))}),[]),(0,o.createElement)(s.__experimentalMainDashboardButton,null,(0,o.createElement)(a.Button,{className:"edit-post-fullscreen-mode-close",href:t,label:(0,n.__)("View Tables"),icon:e,iconSize:"36px"}))}}),i()((()=>{d&&new MutationObserver((()=>{const e=document.querySelector(".components-modal__header-heading");e&&"Create pattern"===e.textContent&&(e.textContent="Create Riovizual Table");const t=document.querySelector('label[for="inspector-text-control-0"]');t&&"Name"===t.textContent&&(t.textContent="Set Table Title");const o=document.querySelector("#inspector-text-control-0");o&&"My pattern"===o.placeholder&&(o.placeholder="Table Name");const n=document.querySelector("#inspector-toggle-control-0__help .components-toggle-control__help");n&&"Sync this pattern across multiple locations."===n.textContent&&(n.textContent="Sync your Table globally.")})).observe(document.body,{childList:!0,subtree:!0})}));let p=!1;const m={backgroundColor:"#f0f0f0",border:"none",boxShadow:"none",outline:"none",textAlign:"center"},w=()=>{const{editPost:e}=(0,t.useDispatch)("core/editor"),{title:n}=(0,t.useSelect)((e=>({title:e("core/editor").getEditedPostAttribute("title")})));return(0,o.createElement)(o.Fragment,null,(0,o.createElement)(a.TextControl,{style:m,onChange:t=>{e({title:t})},value:n}))};let h=!1,b=!1,g=!1;(0,t.subscribe)((()=>{if(!u("plugin"))return null;(()=>{const e=document.getElementById("editor"),t=e.querySelector(".editor-header__center");if(t instanceof HTMLElement&&!e.querySelector("#riovizual-editor-title-editor")){const e=document.createElement("div");for(e.id="riovizual-editor-title-editor";t.firstChild;)t.removeChild(t.firstChild);t.prepend(e),(0,o.render)((0,o.createElement)(w,null),e),p=!0}})(),(()=>{if(h||((0,t.dispatch)("core/editor").removeEditorPanel("taxonomy-panel-wp_pattern_category"),h=!0),!b){const e=document.querySelector(".editor-sidebar__panel-tabs button:first-child");e&&"Pattern"===e.textContent&&(e.textContent="Table",b=!0)}})(),(()=>{const e=(0,t.select)("core/notices").getNotices().slice(-1)[0];!e||g||"Pattern published."!==e.content&&"Pattern updated."!==e.content||((0,t.dispatch)("core/notices").removeNotice(e.id),(0,t.dispatch)("core/notices").createSuccessNotice("Table saved.",{id:e.id}),g=!0,setTimeout((()=>{g=!1}),1e3))})()}))})();1 (()=>{"use strict";var e={n:t=>{var o=t&&t.__esModule?()=>t.default:()=>t;return e.d(o,{a:o}),o},d:(t,o)=>{for(var n in o)e.o(o,n)&&!e.o(t,n)&&Object.defineProperty(t,n,{enumerable:!0,get:o[n]})},o:(e,t)=>Object.prototype.hasOwnProperty.call(e,t)};const t=window.wp.data,o=window.wp.element,n=window.wp.i18n,r=window.wp.url,l=window.wp.domReady;var i=e.n(l);const c=window.wp.plugins,a=window.wp.components,C=window.wp.blocks,s=window.wp.editPost,d=e=>"riovizual"===new URLSearchParams(window.location.search).get(e),u=e=>{if(d(e))return!0;try{const e=(0,t.select)("core/editor")?.getCurrentPostId?.(),o=(0,t.select)("core")?.getEntityRecord?.("postType","wp_block",e);return!!o?.meta?._riovizual_pattern}catch{return!1}};(0,c.registerPlugin)("riovizual",{render:()=>{if(!u("plugin"))return null;const e=(0,o.createElement)("svg",{width:"109",height:"81",viewBox:"0 0 109 81",fill:"none",xmlns:"http://www.w3.org/2000/svg"},(0,o.createElement)("path",{d:"M17.5489 80.0497C15.1289 80.0497 13.0389 80.0497 11.3689 79.9097C9.40889 79.7497 7.96889 79.3997 6.69889 78.7497C4.43889 77.5997 2.63889 75.7997 1.48889 73.5397C0.838889 72.2797 0.478889 70.8397 0.318889 68.8697C0.188889 67.2097 0.188889 65.1197 0.188889 62.6997V17.4097C0.188889 14.9897 0.188889 12.8997 0.318889 11.2297C0.478889 9.25974 0.838889 7.81974 1.48889 6.55974C2.64889 4.29974 4.44889 2.49974 6.70889 1.34974C7.96889 0.709744 9.40889 0.349744 11.3689 0.189744C13.0389 0.0497437 15.1289 0.0497437 17.5489 0.0497437H72.1989C74.6189 0.0497437 76.7089 0.0497437 78.3789 0.189744C80.3489 0.349744 81.7889 0.709744 83.0489 1.34974C85.3089 2.49974 87.1089 4.29974 88.2589 6.55974C88.8989 7.81974 89.2589 9.25974 89.4189 11.2297C89.5589 12.8997 89.5589 14.9897 89.5589 17.4097V29.7697L84.4489 34.8797V28.5697H28.7089V74.9397H40.4789V66.8597H45.6589V74.9397H55.5489V56.4497H60.7289V74.9397H70.6189V65.2097H75.7989V74.9297L77.1089 74.8697C77.4089 74.8497 77.6989 74.8397 77.9689 74.8197C79.5689 74.6897 80.2589 74.4297 80.7189 74.1997C82.0089 73.5397 83.0389 72.5097 83.6989 71.2197C83.9389 70.7597 84.1889 70.0697 84.3289 68.4497C84.4189 67.3397 84.4389 65.9597 84.4389 64.2397V55.4597L89.5589 50.3397V62.6897C89.5589 65.1097 89.5589 67.1997 89.4189 68.8597C89.2589 70.8297 88.8989 72.2697 88.2589 73.5297C87.1089 75.7897 85.3089 77.5897 83.0489 78.7397C81.7789 79.3897 80.3489 79.7397 78.3789 79.8997C76.7089 80.0397 74.6189 80.0397 72.1989 80.0397H17.5489V80.0497ZM5.30889 62.5197C5.30889 65.1297 5.30889 67.0197 5.42889 68.4597C5.55889 70.0797 5.81889 70.7597 6.04889 71.2197C6.70889 72.5197 7.73889 73.5497 9.02889 74.1997C9.50889 74.4397 10.1989 74.6897 11.7889 74.8197C13.2289 74.9397 15.1189 74.9397 17.7289 74.9397H23.5989V28.5697H5.30889V62.5197ZM17.7289 5.16974C15.1189 5.16974 13.2289 5.16974 11.7889 5.27974C10.1389 5.41974 9.45889 5.67974 9.00889 5.90974C7.72889 6.56974 6.69889 7.59974 6.03889 8.87974C5.79889 9.35974 5.54889 10.0497 5.41889 11.6497C5.29889 13.0897 5.29889 14.9797 5.29889 17.5897V23.4597H84.4489V17.5897C84.4489 14.9297 84.4489 13.0797 84.3289 11.6497C84.1989 10.0597 83.9489 9.36974 83.7189 8.89974C83.0489 7.58974 82.0189 6.55974 80.7289 5.90974C80.2789 5.67974 79.5889 5.41974 77.9589 5.27974C76.5189 5.16974 74.6289 5.16974 72.0189 5.16974H17.7289Z",fill:"white"}),(0,o.createElement)("path",{d:"M43.5189 62.2297C42.4789 62.2297 41.4689 61.8497 40.6889 61.1697C39.8189 60.4097 39.3089 59.3597 39.2289 58.2097C39.1489 57.0597 39.5289 55.9497 40.2789 55.0897C41.0889 54.1497 42.2689 53.6097 43.5189 53.6097L44.4489 53.6297L53.1989 43.6297L53.1289 42.8897C53.1289 42.7897 53.1189 42.6897 53.1189 42.5797V42.4597C53.0289 41.3097 53.4089 40.1997 54.1689 39.3297C54.9089 38.4897 55.9489 37.9697 57.0589 37.8797V42.0897H61.7189V42.2197C61.7389 42.3597 61.7389 42.5397 61.7189 42.7297L61.6789 43.5597L71.6289 52.3397L72.4289 52.2097C72.6289 52.1797 72.8389 52.1597 73.0689 52.1597C73.2289 52.1597 73.3789 52.1697 73.5389 52.1797L74.3489 52.2597L99.7289 26.8797L99.6389 26.0597C99.4889 24.7497 99.9389 23.4597 100.869 22.5297C101.679 21.7197 102.759 21.2697 103.919 21.2697C105.079 21.2697 106.149 21.7197 106.959 22.5297C107.769 23.3397 108.219 24.4197 108.219 25.5797C108.219 26.7397 107.769 27.8097 106.959 28.6297C106.149 29.4397 105.069 29.8897 103.919 29.8897C103.809 29.8897 103.699 29.8897 103.589 29.8797L102.789 29.8197L77.3289 55.2797L77.4089 56.0797C77.5089 57.2697 77.1389 58.4197 76.3489 59.3197C75.5289 60.2397 74.3489 60.7697 73.1189 60.7697C72.0689 60.7697 71.0589 60.3897 70.2689 59.6897C69.2989 58.8297 68.7689 57.5997 68.8089 56.3097L68.8389 55.4997L58.8089 46.6397L58.0289 46.7497C57.8289 46.7697 57.6389 46.7897 57.4489 46.7897C57.2989 46.7897 57.1589 46.7797 57.0089 46.7697L56.1489 46.6797L47.6589 56.3897L47.7889 57.1897C47.9989 58.4597 47.6289 59.7497 46.7789 60.7297C45.9589 61.6597 44.7789 62.1997 43.5289 62.1997L43.5189 62.2297Z",fill:"white"}),(0,o.createElement)("path",{d:"M65.7389 41.4797C65.7389 42.9197 65.3689 44.2597 64.6989 45.4297C63.7789 47.0797 62.2889 48.3697 60.5089 49.0397C59.6289 49.3697 58.6689 49.5597 57.6689 49.5597C56.6689 49.5597 55.7689 49.3897 54.8989 49.0797C53.1189 48.4297 51.6389 47.1697 50.6989 45.5597C49.9989 44.3697 49.5989 42.9797 49.5989 41.4897C49.5989 37.0297 53.2089 33.4197 57.6689 33.4197V41.4897H65.7389V41.4797Z",fill:"#FE544F"}),(0,o.createElement)("path",{d:"M68.8689 38.3497H60.7989V30.2797C65.2589 30.2797 68.8689 33.8897 68.8689 38.3497Z",fill:"#FFCB2D"})),t=(0,r.addQueryArgs)("admin.php",{page:"riovizualTables",post_type:"wp_block"});return(0,o.useEffect)((()=>{i()((()=>{wp.blocks.getBlockTypes().forEach((e=>{e.name.startsWith("riovizual")||(0,C.unregisterBlockType)(e.name)}))}))}),[]),(0,o.createElement)(s.__experimentalMainDashboardButton,null,(0,o.createElement)(a.Button,{className:"edit-post-fullscreen-mode-close",href:t,label:(0,n.__)("View Tables"),icon:e,iconSize:"36px"}))}}),i()((()=>{d&&new MutationObserver((()=>{const e=document.querySelector(".components-modal__header-heading");e&&"Create pattern"===e.textContent&&(e.textContent="Create Riovizual Table");const t=document.querySelector('label[for="inspector-text-control-0"]');t&&"Name"===t.textContent&&(t.textContent="Set Table Title");const o=document.querySelector("#inspector-text-control-0");o&&"My pattern"===o.placeholder&&(o.placeholder="Table Name");const n=document.querySelector("#inspector-toggle-control-0__help .components-toggle-control__help");n&&"Sync this pattern across multiple locations."===n.textContent&&(n.textContent="Sync your Table globally.")})).observe(document.body,{childList:!0,subtree:!0})}));let p=!1;const m={backgroundColor:"#f0f0f0",border:"none",boxShadow:"none",outline:"none",textAlign:"center"},w=()=>{const{editPost:e}=(0,t.useDispatch)("core/editor"),{title:n}=(0,t.useSelect)((e=>({title:e("core/editor").getEditedPostAttribute("title")})));return(0,o.createElement)(o.Fragment,null,(0,o.createElement)(a.TextControl,{style:m,onChange:t=>{e({title:t})},value:n}))};let h=!1,b=!1,g=!1;(0,t.subscribe)((()=>{if(!u("plugin"))return null;(()=>{const e=document.getElementById("editor"),t=e.querySelector(".editor-header__center");if(t instanceof HTMLElement&&!e.querySelector("#riovizual-editor-title-editor")){const e=document.createElement("div");for(e.id="riovizual-editor-title-editor";t.firstChild;)t.removeChild(t.firstChild);t.prepend(e),(0,o.render)((0,o.createElement)(w,null),e),p=!0}})(),(()=>{if(h||((0,t.dispatch)("core/editor").removeEditorPanel("taxonomy-panel-wp_pattern_category"),h=!0),!b){const e=document.querySelector(".editor-sidebar__panel-tabs button:first-child");e&&"Pattern"===e.textContent&&(e.textContent="Table",b=!0)}})(),(()=>{const e=(0,t.select)("core/notices").getNotices().slice(-1)[0];!e||g||"Pattern published."!==e.content&&"Pattern updated."!==e.content||((0,t.dispatch)("core/notices").removeNotice(e.id),(0,t.dispatch)("core/notices").createSuccessNotice("Table saved.",{id:e.id}),g=!0,setTimeout((()=>{g=!1}),1e3))})()}))})(); -
riovizual/trunk/includes/Assets/Assets.php
r3316318 r3342291 49 49 public function rio_feedback_assets(){ 50 50 wp_enqueue_script( 'rio-feedback-core-script', RIO_VIZUAL_ASSETS_URL. '/js/feedback.min.js', array(), RIO_VIZUAL_VERSION, false ); 51 wp_localize_script( 'rio-feedback-core-script', 'feedback_ajax_object', array( 52 'ajax_url' => admin_url( 'admin-ajax.php' ), 53 'nonce' => wp_create_nonce( 'deactivate_plugin_nonce' ), 54 ) ); 51 55 wp_enqueue_style( 'rio-feedback-style', RIO_VIZUAL_ASSETS_URL. '/css/feedback.css', array(), RIO_VIZUAL_VERSION ); 52 56 } -
riovizual/trunk/includes/Extensions/PageBuilders/Divi/Settings.php
r3316318 r3342291 57 57 public function preview() { 58 58 59 global $riovizual_generated_css; 60 59 61 check_ajax_referer( 'riovizual_divi_builder', 'nonce' ); 60 62 … … 88 90 [ 89 91 'content' => $shortcode_output, 92 'css' => $riovizual_generated_css, 90 93 ] 91 94 ); -
riovizual/trunk/includes/Extensions/PageBuilders/Divi/frontend/frontend.jsx
r3306337 r3342291 13 13 isLoading: true, 14 14 table: null, 15 //style: null,15 style: null, 16 16 }; 17 17 … … 47 47 .then( 48 48 ( result ) => { 49 //if (result.data.css) {50 //// add style in head51 //const styleElement = document.createElement('style');52 //styleElement.textContent = result.data.css;53 //document.head.appendChild(styleElement);54 //}49 if (result.data.css) { 50 // add style in head 51 const styleElement = document.createElement('style'); 52 styleElement.textContent = result.data.css; 53 document.head.appendChild(styleElement); 54 } 55 55 56 56 this.setState( { 57 57 isLoading: false, 58 58 table: result.data.content, 59 //style: result.data.css59 style: result.data.css 60 60 } ); 61 61 }, -
riovizual/trunk/includes/Extensions/PageBuilders/Elementor/Widget.php
r3306337 r3342291 97 97 */ 98 98 protected function render() { 99 global $riovizual_generated_css; 100 99 101 $settings = $this->get_settings_for_display(); 100 102 … … 117 119 118 120 echo do_shortcode( '[riovizual id="' . $settings['riovizual_table_block'] . '"]' ); 121 echo '<style>'.$riovizual_generated_css.'</style>'; 119 122 120 123 } -
riovizual/trunk/includes/PostTypes/Shortcode.php
r3306337 r3342291 1 1 <?php 2 3 2 namespace RioVizual\PostTypes; 4 5 3 use RioVizual\StyleProcessor\StyleProcessor; 6 7 4 class Shortcode { 8 9 public function __construct() { 5 public function __construct() { 10 6 add_shortcode( 'riovizual', [ $this, 'render' ] ); 11 7 } 12 13 public function render( $attrs ) { 14 8 public function render( $attrs ) { 9 global $riovizual_generated_css; 15 10 $atts = shortcode_atts( [ 16 11 'id' => 0, 17 ], $attrs ); 18 12 ], $attrs ); 19 13 $post = get_post( intval( $atts['id'] ) ); 20 21 14 if ( $post && $post->post_type === 'wp_block' && $post->post_status === 'publish' ) { 22 23 15 $blocks = parse_blocks( $post->post_content ); 24 25 16 ob_start(); 26 27 17 foreach ( $blocks as $block ) { 28 18 if ( isset( $block['attrs']['styles'] ) ) { 29 StyleProcessor::add_inline_css( 'rv-styles', $block['attrs']['styles'] ); 19 // StyleProcessor::add_inline_css( 'rv-styles', $block['attrs']['styles'] ); 20 echo '<style>'.$block['attrs']['styles'].'</style>'; 21 // $riovizual_generated_css = $block['attrs']['styles']; 30 22 } 31 32 23 if ( isset( $block['attrs']['fontFamily'] ) ) { 33 StyleProcessor::add_fonts( $block['attrs']['fontFamily'] ); 24 $font_url = 'https://fonts.googleapis.com/css2?' . esc_html($block['attrs']['fontFamily']) . '&display=swap'; 25 echo '<link href="' . esc_url($font_url) . '" rel="stylesheet">'; 26 // StyleProcessor::add_fonts( $block['attrs']['fontFamily'] ); 34 27 } 35 36 28 echo render_block( $block ); 37 29 } 38 39 30 return ob_get_clean(); 40 31 } 41 42 32 return ''; 43 33 } -
riovizual/trunk/includes/feedback/Feedback.php
r3316318 r3342291 91 91 */ 92 92 public function rio_viz_feedback_deactivate_plugin_callback() { 93 94 // 🔒 Step 1: Nonce check 95 if ( ! isset($_POST['_wpnonce']) || ! wp_verify_nonce($_POST['_wpnonce'], 'deactivate_plugin_nonce') ) { 96 wp_send_json_error([ 'success' => false, 'data' => 'Security check failed.' ]); 97 } 98 93 99 if (current_user_can('activate_plugins')) { 94 $plugin_file = Utils::FREE_PLUGIN_PATH; 100 $full_path = Utils::FREE_PLUGIN_PATH; 101 $plugin_file = plugin_basename( $full_path ); 95 102 96 103 deactivate_plugins($plugin_file); -
riovizual/trunk/readme.txt
r3316318 r3342291 4 4 Requires at least: 6.4 5 5 Tested up to: 6.8 6 Stable tag: 2.3. 16 Stable tag: 2.3.2 7 7 Requires PHP: 7.4 8 8 License: GPLv3 … … 280 280 281 281 == Changelog == 282 283 = 2.3.2 - 10 August 2025 = 284 * Fixed: Plugin conflict with Riovizual and other third-party plugins. 285 * Fixed: CSS styling issues in various third-party page builder editors. 282 286 283 287 = 2.3.1 - 23 June 2025 = -
riovizual/trunk/riovizual.php
r3316318 r3342291 6 6 * Requires at least: 6.4 7 7 * Requires PHP: 7.4 8 * Version: 2.3. 18 * Version: 2.3.2 9 9 * Author: WPRio 10 10 * Author URI: https://riovizual.com/ … … 18 18 defined( 'ABSPATH' ) || exit; 19 19 20 define( 'RIO_VIZUAL_VERSION', '2.3. 1' );20 define( 'RIO_VIZUAL_VERSION', '2.3.2' ); 21 21 define( 'RIO_VIZUAL_TEXT_DOMAIN', 'riovizual' ); 22 22 define( 'RIO_VIZUAL_PATH', plugin_dir_path( __FILE__ ) );
Note: See TracChangeset
for help on using the changeset viewer.