Changeset 3372411
- Timestamp:
- 10/03/2025 02:13:03 PM (5 months ago)
- Location:
- sided/trunk
- Files:
-
- 3 edited
-
partials/functions.php (modified) (1 diff)
-
readme.txt (modified) (1 diff)
-
sided.php (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
sided/trunk/partials/functions.php
r3370080 r3372411 145 145 } 146 146 147 // added this on 2025-10-03 start 148 // if (count($names) > 0) { 149 // echo "<script> 150 // window.sidedScriptPayload = window.sidedScriptPayload || {}; 151 // window.sidedScriptPayload.categories = ['" . implode("', '", esc_js($names)) . "']; 152 // </script>"; 153 // } 147 154 if (count($names) > 0) { 155 $escaped_names = array_map('esc_js', $names); // apply esc_js to each name 148 156 echo "<script> 149 157 window.sidedScriptPayload = window.sidedScriptPayload || {}; 150 window.sidedScriptPayload.categories = ['" . implode("', '", esc_js($names)) . "'];158 window.sidedScriptPayload.categories = ['" . implode("', '", $escaped_names) . "']; 151 159 </script>"; 152 160 } 161 // added this on 2025-10-03 end 153 162 } 154 163 } -
sided/trunk/readme.txt
r3370080 r3372411 5 5 Requires at least: 4.7 6 6 Tested up to: 6.5.3 7 Stable tag: 1.4. 87 Stable tag: 1.4.9 8 8 Requires PHP: 7.0 9 9 License: GPLv2 or later -
sided/trunk/sided.php
r3370080 r3372411 4 4 * Plugin URI: https://sided.co/ 5 5 * Description: It is a wordpress plugin to embed sided polls in your Wordpress website. 6 * Version: 1.4. 86 * Version: 1.4.9 7 7 * Author: Sided 8 8 **/ 9 9 10 define( 'SIDED_VERSION', '1.4. 8' );10 define( 'SIDED_VERSION', '1.4.9' ); 11 11 define( 'SIDED_PLUGIN', __FILE__ ); 12 12 define( 'SIDED_PLUGIN_DIR', untrailingslashit( dirname( SIDED_PLUGIN ) ) );
Note: See TracChangeset
for help on using the changeset viewer.