Changeset 3031461
- Timestamp:
- 02/05/2024 09:23:23 AM (2 years ago)
- Location:
- dot-embed/trunk
- Files:
-
- 2 edited
-
dot-embed.php (modified) (2 diffs)
-
readme.txt (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
dot-embed/trunk/dot-embed.php
r2722774 r3031461 113 113 } 114 114 115 // fix broken values 116 /* 117 $args['width'] = preg_replace('/[^0-9%px]/', '', $args['width']); 118 if ($args['height'] != 'auto') { 119 $args['height'] = preg_replace('/[^0-9%px]/', '', $args['height']); 120 } 121 */ 122 if (!in_array($args['scroll'], array('auto', 'yes', 'no'))) $args['scroll'] = 'no'; 115 if (!isset($args['scroll']) || !in_array($args['scroll'], ['auto', 'yes', 'no'])) $args['scroll'] = 'no'; 123 116 // extract variables from args 124 117 extract($args); … … 178 171 pageId: '<?php echo esc_attr($pageid); ?>', 179 172 dotExt: '<?php echo esc_attr($dotext); ?>', 180 pageExt: '<?php echo esc_attr($page Ext); ?>',173 pageExt: '<?php echo esc_attr($pageext); ?>', 181 174 customdomainlink: '<?php echo html_entity_decode(esc_url($customdomainlink)); ?>', 182 175 height: '<?php echo esc_attr($height); ?>', -
dot-embed/trunk/readme.txt
r2722774 r3031461 5 5 Tested up to: 5.3.2 6 6 Requires PHP: 5.6 7 Stable tag: 3.2.1 67 Stable tag: 3.2.17 8 8 License: GPLv3 or later 9 9 License URI: http://www.gnu.org/licenses/gpl.html … … 134 134 * Added support for url_data_* shortcode parameters (keys support lowercase letters, numbers and underscores) 135 135 136 = 3.2.17 = 137 * Fixed two compatibility issues for PHP7.x 138 136 139 == Upgrade Notice == 137 140
Note: See TracChangeset
for help on using the changeset viewer.