Skip to content

Commit

Permalink
Merge pull request #419 from aristath/remove/duplicate-icon
Browse files Browse the repository at this point in the history
Remove hardcoded string for the icon
  • Loading branch information
SteveJonesDev authored Dec 13, 2023
2 parents 4bf7749 + a169851 commit 89ee23b
Showing 1 changed file with 1 addition and 29 deletions.
30 changes: 1 addition & 29 deletions accessibility-checker.php
Original file line number Diff line number Diff line change
Expand Up @@ -90,35 +90,7 @@
}

// SVG Icons.
define(
'EDAC_SVG_IGNORE_ICON',
'<?xml version="1.0" standalone="no"?>
<!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 20010904//EN"
"http://www.w3.org/TR/2001/REC-SVG-20010904/DTD/svg10.dtd">
<svg version="1.0" xmlns="http://www.w3.org/2000/svg"
width="568.000000pt" height="568.000000pt" viewBox="0 0 568.000000 568.000000"
preserveAspectRatio="xMidYMid meet">
<g transform="translate(0.000000,568.000000) scale(0.100000,-0.100000)"
fill="#000000" stroke="none">
<path d="M2558 5585 c-289 -49 -525 -173 -735 -387 -166 -168 -277 -338 -363
-557 -89 -224 -118 -380 -130 -696 -17 -428 -40 -640 -106 -964 -86 -426 -235
-825 -399 -1072 -37 -55 -104 -136 -155 -187 -103 -102 -135 -160 -125 -222
12 -73 68 -126 200 -191 l79 -39 27 27 c15 16 691 842 1504 1837 l1477 1809
-38 54 c-292 424 -793 662 -1236 588z"/>
<path d="M4508 5323 c-36 -43 -930 -1138 -1988 -2433 -1057 -1295 -1931 -2364
-1942 -2376 -18 -21 -18 -21 112 -127 71 -59 134 -107 140 -107 5 0 883 1070
1952 2377 1068 1308 1970 2412 2005 2454 l63 76 -130 107 c-72 58 -134 106
-139 106 -5 0 -38 -35 -73 -77z"/>
<path d="M3013 2494 l-1102 -1349 912 -3 c585 -2 971 1 1077 8 590 39 965 171
995 350 10 62 -22 120 -125 222 -164 163 -300 406 -406 726 -132 397 -207 783
-237 1221 l-12 173 -1102 -1348z"/>
<path d="M2220 939 c0 -32 73 -142 135 -204 112 -112 241 -165 400 -165 159 0
288 53 400 165 63 62 135 171 135 204 0 8 -150 11 -535 11 -385 0 -535 -3
-535 -11z"/>
</g>
</svg>'
);
define( 'EDAC_SVG_IGNORE_ICON', file_get_contents( __DIR__ . '/assets/images/ignore-icon.svg' ) );

/**
* Plugin Activation & Deactivation
Expand Down

0 comments on commit 89ee23b

Please sign in to comment.