Changeset 3231203
- Timestamp:
- 01/29/2025 10:56:29 AM (14 months ago)
- Location:
- ploxel
- Files:
-
- 13 added
- 1 deleted
- 2 edited
-
tags/2.4.0 (added)
-
tags/2.4.0/.idea (added)
-
tags/2.4.0/.idea/.gitignore (added)
-
tags/2.4.0/.idea/modules.xml (added)
-
tags/2.4.0/.idea/trunk.iml (added)
-
tags/2.4.0/.idea/workspace.xml (added)
-
tags/2.4.0/css (added)
-
tags/2.4.0/css/ploxel.css (added)
-
tags/2.4.0/js (added)
-
tags/2.4.0/js/ploxel.js (added)
-
tags/2.4.0/ploxel.php (added)
-
tags/2.4.0/readme.txt (added)
-
trunk/js/ploxel.js (added)
-
trunk/js/ploxel_jquery.js (deleted)
-
trunk/ploxel.php (modified) (4 diffs)
-
trunk/readme.txt (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
ploxel/trunk/ploxel.php
r3230052 r3231203 4 4 Plugin URI: http://wordpress.org/plugins/ploxel/ 5 5 Description: Sell tickets online your WordPress site with Ticketmeo, see https://www.ticketmeo.com/sell-tickets-on-wordpress for more information on how it works. 6 Version: 2. 3.66 Version: 2.4.0 7 7 Author: Ploxel 8 8 Author URI: http://www.ticketmeo.com/sell-tickets-on-wordpress … … 10 10 */ 11 11 12 define('PLOXEL_PLUGIN_VERSION', '2. 3.6');12 define('PLOXEL_PLUGIN_VERSION', '2.4.0'); 13 13 14 14 register_activation_hook(__FILE__, 'ploxel_activate'); … … 31 31 function init_ploxel_script() { 32 32 wp_enqueue_style('ploxel-css', plugins_url('/css/ploxel.css', __FILE__ )); 33 wp_enqueue_script('ploxel-jquery', plugins_url('/js/ploxel _jquery.js', __FILE__ ), array('jquery'));33 wp_enqueue_script('ploxel-jquery', plugins_url('/js/ploxel.js', __FILE__ )); 34 34 } 35 35 … … 44 44 } 45 45 46 $url = parse_url($attrs['src']); 47 48 if($url['host'] !== 'www.ticketmeo.com' && $url['host'] !== 'ticketmeo.com' && $url['host'] !== 'ploxel.com' && $url['host'] !== 'www.ploxel.com') { 49 return 'Invalid URL, domain must be www.ticketmeo.com'; 50 } 51 52 if($url['scheme'] !== 'https') { 53 return 'Invalid URL, scheme must be https'; 54 } 55 46 56 $html = '<iframe'; 47 57 48 58 foreach($attrs as $attr => $value) { 49 59 if(!in_array($attr, $allowedAttrs)) { 50 return esc_attr($attr) + ' is not allowed.';60 return 'Attribute ' . esc_attr($attr) . ' is not allowed'; 51 61 } 52 62 -
ploxel/trunk/readme.txt
r3230052 r3231203 4 4 Requires at least: 2.8 5 5 Tested up to: 6.7 6 Stable tag: 2. 3.66 Stable tag: 2.4.0 7 7 License: GPLv2 or later 8 8 License URI: http://www.gnu.org/licenses/gpl-2.0.html … … 116 116 == Changelog == 117 117 118 2.4.0 119 120 * Upgraded URL checks to ensure Ticketmeo domain 121 122 2.3.6 123 124 * Bug fixes 125 126 2.3.5 127 128 * Bug fixes 129 118 130 2.3.4 119 131 120 * B ig fixes132 * Bug fixes 121 133 122 134 2.3.3
Note: See TracChangeset
for help on using the changeset viewer.