Changeset 3091778
- Timestamp:
- 05/23/2024 08:59:56 PM (19 months ago)
- Location:
- nd-shortcodes/trunk
- Files:
-
- 2 edited
-
nd-shortcodes.php (modified) (2 diffs)
-
readme.txt (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
nd-shortcodes/trunk/nd-shortcodes.php
r3090927 r3091778 3 3 Plugin Name: ND Shortcodes 4 4 Description: The plugin adds some useful components to your page builder ( Elementor or WP Bakery Page Builder ). All components are full responsive and retina ready. 5 Version: 7. 55 Version: 7.6 6 6 Plugin URI: https://nicdark.com 7 7 Author: Nicdark … … 55 55 56 56 57 //enable svg media uploader58 function nd_options_enable_svg_media_upload( $nd_options_mimes = array() ) {59 $nd_options_mimes['svg'] = 'image/svg+xml';60 $nd_options_mimes['svgz'] = 'image/svg+xml';61 return $nd_options_mimes;62 }63 add_filter( 'upload_mimes', 'nd_options_enable_svg_media_upload' );64 65 66 57 //enable shortcode in the widget text 67 58 add_filter('widget_text', 'do_shortcode'); -
nd-shortcodes/trunk/readme.txt
r3090927 r3091778 4 4 Requires at least: 4.5 5 5 Tested up to: 6.4 6 Stable tag: 7. 56 Stable tag: 7.6 7 7 License: GPLv2 or later 8 8 License URI: http://www.gnu.org/licenses/gpl-2.0.html … … 27 27 28 28 == Changelog == 29 30 = 7.6 = 31 * removed nd_options_enable_svg_media_upload() function for avoid svg image upload and improve sicurity 29 32 30 33 = 7.5 =
Note: See TracChangeset
for help on using the changeset viewer.