🔥 HOT: Changeset/ - HD Photos!

Changeset 3091778


Ignore:
Timestamp:
05/23/2024 08:59:56 PM (19 months ago)
Author:
nicdark
Message:

edit file for version 7.6

Location:
nd-shortcodes/trunk
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • nd-shortcodes/trunk/nd-shortcodes.php

    r3090927 r3091778  
    33Plugin Name:       ND Shortcodes
    44Description:       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.5
     5Version:           7.6
    66Plugin URI:        https://nicdark.com
    77Author:            Nicdark
     
    5555
    5656
    57 //enable svg media uploader
    58 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 
    6657//enable shortcode in the widget text
    6758add_filter('widget_text', 'do_shortcode');
  • nd-shortcodes/trunk/readme.txt

    r3090927 r3091778  
    44Requires at least: 4.5
    55Tested up to: 6.4
    6 Stable tag: 7.5
     6Stable tag: 7.6
    77License: GPLv2 or later
    88License URI: http://www.gnu.org/licenses/gpl-2.0.html
     
    2727
    2828== Changelog ==
     29
     30= 7.6 =
     31* removed nd_options_enable_svg_media_upload() function for avoid svg image upload and improve sicurity
    2932
    3033= 7.5 =
Note: See TracChangeset for help on using the changeset viewer.