ھي پلگ ان WordPress جي جديد 3 وڏين رليزز سان آزمايو نه ويو آھي. اهو ٿي سگهي ٿو وڌيڪ برقرار يا سپورٽ نه ٿي سگهي ۽ ٿي سگهي ٿو مطابقت جا مسئلا جڏهن ورڈپریس جي وڌيڪ تازي ورزن سان استعمال ڪيو وڃي.

SVG Enabler

وضاحت

This plugin gives you the ability to allow SVG uploads whilst making sure that they’re sanitized to stop SVG/XML vulnerabilities affecting your site.

انسٽاليشن

INSTALL “SVG Enabler” FROM WITHIN WORDPRESS

  1. Visit the plugins page within your dashboard and select ‘Add New’;
  2. Search for ‘SVG Enabler’;
  3. Activate SVG Enabler from your Plugins page;
  4. Go to ‘after activation’ below.

INSTALL “SVG Enabler” MANUALLY

  1. Upload the ‘svg-enabler’ folder to the /wp-content/plugins/ directory;
  2. Activate the SVG Enabler through the ‘Plugins’ menu in WordPress;
  3. Go to ‘after activation’ below.

AFTER ACTIVATION

  1. SVG Enabler is a ‘set and forget’ plugin. There are no settings fields as your site’s scheduled posts will be automatically checked when the plugin is installed and activated.
  2. You’re done!

FAQ

Can we change the allowed attributes and tags?

Yes, this can be done using the svg_allowed_attributes and svg_allowed_tags filters. They take one argument that must be returned.

    add_filter( 'optimisthub_svg_enabler_allowed_attributes', function ( $attributes ) 
    {
        $attributes[] = 'target'; // This would allow the target="" attribute.
        return $attributes;

    } );


    add_filter( 'optimisthub_svg_enabler_allowed_tags', function ( $tags ) 
    {

        $tags[] = 'use'; // This would allow the <use> element.

        return $tags;
    } );

جائزا

ھن پلگ ان لاءِ ڪي به رايا ناھن.

تعاون ڪندڙ & ڊولپرز

“SVG Enabler” اوپن سورس سافٽ ويئر آهي. ھيٺين ماڻھن ھن پلگ ان ۾ حصو ورتو آھي.

تعاون ڪندڙ

ترجمو ڪريو “SVG Enabler” توهان جي ٻولي ۾.

ڊولپمينٽ ۾ دلچسپي؟

ڪوڊ براؤز ڪريو، چيڪ ڪريو SVN مخزن، يا رڪنيت حاصل ڪريو ڊولپمينٽ لاگ پاران RSS.

لاگ تبدیل ڪريو

1.0.3

  • Author name issue.

1.0.2 – 1.0.1

  • Github Action

1.0.0

  • Stable version released