PluginProbe ʕ •ᴥ•ʔ
Safe SVG / 2.0.1
Safe SVG v2.0.1
trunk 1.0.0 1.1.0 1.1.1 1.2.0 1.3.0 1.3.1 1.3.2 1.3.3 1.3.4 1.4.0 1.4.1 1.4.2 1.4.3 1.4.4 1.4.5 1.5.0 1.5.1 1.5.2 1.5.3 1.6.0 1.6.1 1.7.1 1.8.0 1.8.1 1.9.0 1.9.1 1.9.10 1.9.2 1.9.3 1.9.4 1.9.5 1.9.6 1.9.7 1.9.8 1.9.9 2.0.0 2.0.1 2.0.2 2.0.3 2.1.0 2.1.1 2.2.0 2.2.1 2.2.2 2.2.3 2.2.4 2.2.5 2.2.6 2.3.0 2.3.1 2.3.2 2.3.3 2.4.0
safe-svg / includes / safe-svg-attributes.php
safe-svg / includes Last commit date
safe-svg-attributes.php 7 years ago safe-svg-tags.php 7 years ago
safe-svg-attributes.php
18 lines
1 <?php
2
3
4 class safe_svg_attributes extends \enshrined\svgSanitize\data\AllowedAttributes {
5
6 /**
7 * Returns an array of attributes
8 *
9 * @return array
10 */
11 public static function getAttributes() {
12
13 /**
14 * var array Attributes that are allowed.
15 */
16 return apply_filters( 'svg_allowed_attributes', parent::getAttributes() );
17 }
18 }