Shortcoder - Version 4.5

Version Description

  • Fix: Copy shortcode box having incorrect width.
  • Fix: Codemirror has been updated to latest version.
Download this release

Release Info

Developer vaakash
Plugin Icon 128x128 Shortcoder
Version 4.5
Comparing to
See all releases

Code changes from version 4.4 to 4.5

admin/css/style.css CHANGED
@@ -212,6 +212,7 @@ h1.sc_title .title-count {
212
  }
213
 
214
  .sc_copy_field {
 
215
  background: transparent !important;
216
  border: none !important;
217
  box-shadow: none !important;
212
  }
213
 
214
  .sc_copy_field {
215
+ font-family: "Courier New", serif;
216
  background: transparent !important;
217
  border: none !important;
218
  box-shadow: none !important;
admin/images/coffee.svg CHANGED
@@ -1,99 +1,99 @@
1
- <?xml version="1.0" encoding="UTF-8" standalone="no"?>
2
- <svg
3
- xmlns:dc="http://purl.org/dc/elements/1.1/"
4
- xmlns:cc="http://creativecommons.org/ns#"
5
- xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
6
- xmlns:svg="http://www.w3.org/2000/svg"
7
- xmlns="http://www.w3.org/2000/svg"
8
- xmlns:sodipodi="http://sodipodi.sourceforge.net/DTD/sodipodi-0.dtd"
9
- xmlns:inkscape="http://www.inkscape.org/namespaces/inkscape"
10
- height="128"
11
- version="1.1"
12
- viewBox="0 0 128 128"
13
- width="128"
14
- id="svg4495"
15
- sodipodi:docname="1494109658_food-drink-cup-coffee-tea-drink-outline-stroke.svg"
16
- inkscape:version="0.92.0 r15299">
17
- <metadata
18
- id="metadata4499">
19
- <rdf:RDF>
20
- <cc:Work
21
- rdf:about="">
22
- <dc:format>image/svg+xml</dc:format>
23
- <dc:type
24
- rdf:resource="http://purl.org/dc/dcmitype/StillImage" />
25
- <dc:title></dc:title>
26
- </cc:Work>
27
- </rdf:RDF>
28
- </metadata>
29
- <sodipodi:namedview
30
- pagecolor="#ffffff"
31
- bordercolor="#666666"
32
- borderopacity="1"
33
- objecttolerance="10"
34
- gridtolerance="10"
35
- guidetolerance="10"
36
- inkscape:pageopacity="0"
37
- inkscape:pageshadow="2"
38
- inkscape:window-width="1920"
39
- inkscape:window-height="1013"
40
- id="namedview4497"
41
- showgrid="false"
42
- inkscape:zoom="2.2265625"
43
- inkscape:cx="60.701019"
44
- inkscape:cy="100.20618"
45
- inkscape:window-x="-9"
46
- inkscape:window-y="-9"
47
- inkscape:window-maximized="1"
48
- inkscape:current-layer="Layer_2" />
49
- <desc
50
- id="desc4487" />
51
- <defs
52
- id="defs4489" />
53
- <g
54
- id="miu"
55
- style="fill:none;fill-rule:evenodd;stroke:none;stroke-width:1"
56
- transform="matrix(5.5327011,0,0,5.5327011,-1.3569238,10.877533)">
57
- <g
58
- id="Artboard-1"
59
- transform="translate(-503,-515)">
60
- <g
61
- id="slice"
62
- transform="translate(215,119)" />
63
- <path
64
- d="m 521.02703,523.35506 c 0.009,-0.39125 0.004,-0.77169 -0.0131,-1.1361 C 521.00824,522.09555 521,521.50003 521,521.5 v 0 c 0,-1.28644 -2.85422,-2 -6.5,-2 -3.64578,0 -6.5,0.71356 -6.5,2 0,10e-6 -0.008,0.59555 -0.014,0.71896 -0.0659,1.41455 0.0458,3.07056 0.4816,4.66302 0.86614,3.1649 2.79873,5.11802 6.03238,5.11802 2.27915,0 3.91196,-0.97026 4.98059,-2.65121 2.90061,-0.0524 6.22639,-2.61697 5.22565,-4.88902 -0.40287,-0.91465 -1.1392,-1.36254 -2.05478,-1.39971 -0.50445,-0.0205 -1.02662,0.0826 -1.542,0.26513 -0.0281,0.01 -0.0556,0.0199 -0.0824,0.0299 z m -0.0645,1.11607 c -0.0739,0.79385 -0.21104,1.61037 -0.4301,2.41085 -0.138,0.50424 -0.30306,0.97772 -0.49615,1.41744 2.14097,-0.32376 4.32372,-2.145 3.75485,-3.43656 -0.24026,-0.54547 -0.62779,-0.7812 -1.18019,-0.80363 -0.35902,-0.0146 -0.76224,0.065 -1.16757,0.20859 -0.21942,0.0777 -0.38848,0.1545 -0.48084,0.20331 z m -0.9347,-1.83112 c 0.0265,1.23414 -0.094,2.64091 -0.45994,3.97801 C 518.80907,529.39062 517.21661,531 514.5,531 c -2.71661,0 -4.30907,-1.60938 -5.06784,-4.38198 -0.36593,-1.3371 -0.48646,-2.74387 -0.45994,-3.97801 1.13669,0.56058 3.16617,0.85999 5.52778,0.85999 2.36161,0 4.39109,-0.29941 5.52778,-0.85999 v 0 z M 509,521.5 c 0,-0.37041 2.51836,-1 5.5,-1 2.98164,0 5.5,0.62959 5.5,1 0,0.37041 -2.51836,1 -5.5,1 -2.98164,0 -5.5,-0.62959 -5.5,-1 z m -4.5,11.5 c 0,0 -0.5,0 -0.5,0.5 0,0.5 0.5,0.5 0.5,0.5 h 21 c 0,0 0.5,0 0.5,-0.5 0,-0.5 -0.5,-0.5 -0.5,-0.5 z"
65
- id="food-drink-cup-coffee-tea-drink-outline-stroke"
66
- inkscape:connector-curvature="0"
67
- style="fill:#000000" />
68
- </g>
69
- </g>
70
- <g
71
- id="g4561"
72
- transform="translate(180.23158,1.9807019)">
73
- <g
74
- id="Layer_2"
75
- transform="translate(10.329825,-94.315789)">
76
- <g
77
- id="g4534"
78
- transform="matrix(2.4713604,0,0,2.4713604,-210.98683,57.600819)">
79
- <path
80
- id="path4532"
81
- d="m 33.114,51.204 v -1.315 c -0.927,-0.041 -1.827,-0.29 -2.353,-0.595 l 0.415,-1.619 c 0.582,0.318 1.398,0.608 2.297,0.608 0.789,0 1.329,-0.304 1.329,-0.857 0,-0.525 -0.443,-0.857 -1.467,-1.204 -1.481,-0.498 -2.491,-1.19 -2.491,-2.532 0,-1.219 0.858,-2.174 2.339,-2.464 V 39.91 h 1.356 v 1.219 c 0.927,0.041 1.55,0.235 2.007,0.457 l -0.401,1.563 c -0.36,-0.152 -0.997,-0.471 -1.993,-0.471 -0.899,0 -1.19,0.388 -1.19,0.774 0,0.457 0.484,0.748 1.661,1.191 1.647,0.58 2.311,1.342 2.311,2.588 0,1.231 -0.872,2.283 -2.463,2.561 v 1.411 h -1.357 z"
82
- inkscape:connector-curvature="0"
83
- style="fill:#92278f" />
84
- </g>
85
- <path
86
- id="path4528-3"
87
- d="m -133.27695,122.08016 c 4.05154,0 8.24277,-3.06272 8.24277,-8.18852 0,-2.81586 -1.89351,-4.22515 -3.41673,-5.35909 -1.48389,-1.10275 -2.32214,-1.7945 -2.32214,-3.18209 0,-1.45269 0.95218,-2.16073 2.50389,-3.19294 1.44184,-0.96032 3.23498,-2.15259 3.23498,-4.492359 0,-0.750083 -0.60765,-1.356389 -1.35638,-1.356389 -0.74873,0 -1.35639,0.606306 -1.35639,1.356389 0,0.802982 -0.61716,1.296708 -2.02508,2.232616 -1.56664,1.044423 -3.7138,2.471343 -3.7138,5.452683 0,2.81586 1.89351,4.22515 3.41674,5.35909 1.48389,1.10275 2.32214,1.79451 2.32214,3.18209 0,3.55645 -2.84841,5.47574 -5.53,5.47574 -0.74872,0 -1.35638,0.60631 -1.35638,1.35639 0,0.75009 0.60766,1.35639 1.35638,1.35639 z"
88
- inkscape:connector-curvature="0"
89
- style="fill:#ffcf06;fill-opacity:1;stroke-width:1.35638893" />
90
- <path
91
- id="path4530-4"
92
- d="m -125.24305,122.08016 c 4.05153,0 8.24277,-3.06272 8.24277,-8.18852 0,-2.81586 -1.89352,-4.22515 -3.41675,-5.35909 -1.48389,-1.10275 -2.32214,-1.7945 -2.32214,-3.18209 0,-1.45269 0.95219,-2.16073 2.5039,-3.19294 1.44184,-0.96032 3.23499,-2.15259 3.23499,-4.492359 0,-0.750083 -0.60766,-1.356389 -1.35638,-1.356389 -0.74873,0 -1.3564,0.606306 -1.3564,1.356389 0,0.802982 -0.61716,1.296708 -2.02509,2.232616 -1.56662,1.044423 -3.71379,2.471343 -3.71379,5.452683 0,2.81586 1.89352,4.22515 3.41674,5.35909 1.48254,1.1041 2.32214,1.79451 2.32214,3.18209 0,3.55645 -2.84977,5.47574 -5.52999,5.47574 -0.74873,0 -1.3564,0.60631 -1.3564,1.35639 0,0.75009 0.60767,1.35639 1.3564,1.35639 z"
93
- inkscape:connector-curvature="0"
94
- style="fill:#ffcf06;fill-opacity:1;stroke-width:1.35638893" />
95
- </g>
96
- <g
97
- id="Layer_3" />
98
- </g>
99
- </svg>
1
+ <?xml version="1.0" encoding="UTF-8" standalone="no"?>
2
+ <svg
3
+ xmlns:dc="http://purl.org/dc/elements/1.1/"
4
+ xmlns:cc="http://creativecommons.org/ns#"
5
+ xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
6
+ xmlns:svg="http://www.w3.org/2000/svg"
7
+ xmlns="http://www.w3.org/2000/svg"
8
+ xmlns:sodipodi="http://sodipodi.sourceforge.net/DTD/sodipodi-0.dtd"
9
+ xmlns:inkscape="http://www.inkscape.org/namespaces/inkscape"
10
+ height="128"
11
+ version="1.1"
12
+ viewBox="0 0 128 128"
13
+ width="128"
14
+ id="svg4495"
15
+ sodipodi:docname="1494109658_food-drink-cup-coffee-tea-drink-outline-stroke.svg"
16
+ inkscape:version="0.92.0 r15299">
17
+ <metadata
18
+ id="metadata4499">
19
+ <rdf:RDF>
20
+ <cc:Work
21
+ rdf:about="">
22
+ <dc:format>image/svg+xml</dc:format>
23
+ <dc:type
24
+ rdf:resource="http://purl.org/dc/dcmitype/StillImage" />
25
+ <dc:title></dc:title>
26
+ </cc:Work>
27
+ </rdf:RDF>
28
+ </metadata>
29
+ <sodipodi:namedview
30
+ pagecolor="#ffffff"
31
+ bordercolor="#666666"
32
+ borderopacity="1"
33
+ objecttolerance="10"
34
+ gridtolerance="10"
35
+ guidetolerance="10"
36
+ inkscape:pageopacity="0"
37
+ inkscape:pageshadow="2"
38
+ inkscape:window-width="1920"
39
+ inkscape:window-height="1013"
40
+ id="namedview4497"
41
+ showgrid="false"
42
+ inkscape:zoom="2.2265625"
43
+ inkscape:cx="60.701019"
44
+ inkscape:cy="100.20618"
45
+ inkscape:window-x="-9"
46
+ inkscape:window-y="-9"
47
+ inkscape:window-maximized="1"
48
+ inkscape:current-layer="Layer_2" />
49
+ <desc
50
+ id="desc4487" />
51
+ <defs
52
+ id="defs4489" />
53
+ <g
54
+ id="miu"
55
+ style="fill:none;fill-rule:evenodd;stroke:none;stroke-width:1"
56
+ transform="matrix(5.5327011,0,0,5.5327011,-1.3569238,10.877533)">
57
+ <g
58
+ id="Artboard-1"
59
+ transform="translate(-503,-515)">
60
+ <g
61
+ id="slice"
62
+ transform="translate(215,119)" />
63
+ <path
64
+ d="m 521.02703,523.35506 c 0.009,-0.39125 0.004,-0.77169 -0.0131,-1.1361 C 521.00824,522.09555 521,521.50003 521,521.5 v 0 c 0,-1.28644 -2.85422,-2 -6.5,-2 -3.64578,0 -6.5,0.71356 -6.5,2 0,10e-6 -0.008,0.59555 -0.014,0.71896 -0.0659,1.41455 0.0458,3.07056 0.4816,4.66302 0.86614,3.1649 2.79873,5.11802 6.03238,5.11802 2.27915,0 3.91196,-0.97026 4.98059,-2.65121 2.90061,-0.0524 6.22639,-2.61697 5.22565,-4.88902 -0.40287,-0.91465 -1.1392,-1.36254 -2.05478,-1.39971 -0.50445,-0.0205 -1.02662,0.0826 -1.542,0.26513 -0.0281,0.01 -0.0556,0.0199 -0.0824,0.0299 z m -0.0645,1.11607 c -0.0739,0.79385 -0.21104,1.61037 -0.4301,2.41085 -0.138,0.50424 -0.30306,0.97772 -0.49615,1.41744 2.14097,-0.32376 4.32372,-2.145 3.75485,-3.43656 -0.24026,-0.54547 -0.62779,-0.7812 -1.18019,-0.80363 -0.35902,-0.0146 -0.76224,0.065 -1.16757,0.20859 -0.21942,0.0777 -0.38848,0.1545 -0.48084,0.20331 z m -0.9347,-1.83112 c 0.0265,1.23414 -0.094,2.64091 -0.45994,3.97801 C 518.80907,529.39062 517.21661,531 514.5,531 c -2.71661,0 -4.30907,-1.60938 -5.06784,-4.38198 -0.36593,-1.3371 -0.48646,-2.74387 -0.45994,-3.97801 1.13669,0.56058 3.16617,0.85999 5.52778,0.85999 2.36161,0 4.39109,-0.29941 5.52778,-0.85999 v 0 z M 509,521.5 c 0,-0.37041 2.51836,-1 5.5,-1 2.98164,0 5.5,0.62959 5.5,1 0,0.37041 -2.51836,1 -5.5,1 -2.98164,0 -5.5,-0.62959 -5.5,-1 z m -4.5,11.5 c 0,0 -0.5,0 -0.5,0.5 0,0.5 0.5,0.5 0.5,0.5 h 21 c 0,0 0.5,0 0.5,-0.5 0,-0.5 -0.5,-0.5 -0.5,-0.5 z"
65
+ id="food-drink-cup-coffee-tea-drink-outline-stroke"
66
+ inkscape:connector-curvature="0"
67
+ style="fill:#000000" />
68
+ </g>
69
+ </g>
70
+ <g
71
+ id="g4561"
72
+ transform="translate(180.23158,1.9807019)">
73
+ <g
74
+ id="Layer_2"
75
+ transform="translate(10.329825,-94.315789)">
76
+ <g
77
+ id="g4534"
78
+ transform="matrix(2.4713604,0,0,2.4713604,-210.98683,57.600819)">
79
+ <path
80
+ id="path4532"
81
+ d="m 33.114,51.204 v -1.315 c -0.927,-0.041 -1.827,-0.29 -2.353,-0.595 l 0.415,-1.619 c 0.582,0.318 1.398,0.608 2.297,0.608 0.789,0 1.329,-0.304 1.329,-0.857 0,-0.525 -0.443,-0.857 -1.467,-1.204 -1.481,-0.498 -2.491,-1.19 -2.491,-2.532 0,-1.219 0.858,-2.174 2.339,-2.464 V 39.91 h 1.356 v 1.219 c 0.927,0.041 1.55,0.235 2.007,0.457 l -0.401,1.563 c -0.36,-0.152 -0.997,-0.471 -1.993,-0.471 -0.899,0 -1.19,0.388 -1.19,0.774 0,0.457 0.484,0.748 1.661,1.191 1.647,0.58 2.311,1.342 2.311,2.588 0,1.231 -0.872,2.283 -2.463,2.561 v 1.411 h -1.357 z"
82
+ inkscape:connector-curvature="0"
83
+ style="fill:#92278f" />
84
+ </g>
85
+ <path
86
+ id="path4528-3"
87
+ d="m -133.27695,122.08016 c 4.05154,0 8.24277,-3.06272 8.24277,-8.18852 0,-2.81586 -1.89351,-4.22515 -3.41673,-5.35909 -1.48389,-1.10275 -2.32214,-1.7945 -2.32214,-3.18209 0,-1.45269 0.95218,-2.16073 2.50389,-3.19294 1.44184,-0.96032 3.23498,-2.15259 3.23498,-4.492359 0,-0.750083 -0.60765,-1.356389 -1.35638,-1.356389 -0.74873,0 -1.35639,0.606306 -1.35639,1.356389 0,0.802982 -0.61716,1.296708 -2.02508,2.232616 -1.56664,1.044423 -3.7138,2.471343 -3.7138,5.452683 0,2.81586 1.89351,4.22515 3.41674,5.35909 1.48389,1.10275 2.32214,1.79451 2.32214,3.18209 0,3.55645 -2.84841,5.47574 -5.53,5.47574 -0.74872,0 -1.35638,0.60631 -1.35638,1.35639 0,0.75009 0.60766,1.35639 1.35638,1.35639 z"
88
+ inkscape:connector-curvature="0"
89
+ style="fill:#ffcf06;fill-opacity:1;stroke-width:1.35638893" />
90
+ <path
91
+ id="path4530-4"
92
+ d="m -125.24305,122.08016 c 4.05153,0 8.24277,-3.06272 8.24277,-8.18852 0,-2.81586 -1.89352,-4.22515 -3.41675,-5.35909 -1.48389,-1.10275 -2.32214,-1.7945 -2.32214,-3.18209 0,-1.45269 0.95219,-2.16073 2.5039,-3.19294 1.44184,-0.96032 3.23499,-2.15259 3.23499,-4.492359 0,-0.750083 -0.60766,-1.356389 -1.35638,-1.356389 -0.74873,0 -1.3564,0.606306 -1.3564,1.356389 0,0.802982 -0.61716,1.296708 -2.02509,2.232616 -1.56662,1.044423 -3.71379,2.471343 -3.71379,5.452683 0,2.81586 1.89352,4.22515 3.41674,5.35909 1.48254,1.1041 2.32214,1.79451 2.32214,3.18209 0,3.55645 -2.84977,5.47574 -5.52999,5.47574 -0.74873,0 -1.3564,0.60631 -1.3564,1.35639 0,0.75009 0.60767,1.35639 1.3564,1.35639 z"
93
+ inkscape:connector-curvature="0"
94
+ style="fill:#ffcf06;fill-opacity:1;stroke-width:1.35638893" />
95
+ </g>
96
+ <g
97
+ id="Layer_3" />
98
+ </g>
99
+ </svg>
admin/js/script.js CHANGED
@@ -40,7 +40,7 @@ $(document).ready(function(){
40
  var $sc_copy_field = $('.sc_copy_field');
41
  if( $sc_copy_field.length ){
42
  var sc_code = $sc_copy_field.val();
43
- $sc_copy_field.width(sc_code.length * 6);
44
  }
45
 
46
  }
40
  var $sc_copy_field = $('.sc_copy_field');
41
  if( $sc_copy_field.length ){
42
  var sc_code = $sc_copy_field.val();
43
+ $sc_copy_field.width(sc_code.length * 8);
44
  }
45
 
46
  }
admin/sc-admin.php CHANGED
@@ -494,13 +494,13 @@ class Shortcoder_Admin{
494
  }
495
 
496
  public static function load_codemirror_editor( $value ){
497
- echo '<link href="https://cdnjs.cloudflare.com/ajax/libs/codemirror/5.46.0/codemirror.min.css" rel="stylesheet">';
498
- echo '<script src="https://cdnjs.cloudflare.com/ajax/libs/codemirror/5.46.0/codemirror.min.js"></script>';
499
- echo '<script src="https://cdnjs.cloudflare.com/ajax/libs/codemirror/5.46.0/mode/htmlmixed/htmlmixed.min.js"></script>';
500
- echo '<script src="https://cdnjs.cloudflare.com/ajax/libs/codemirror/5.46.0/mode/css/css.min.js"></script>';
501
- echo '<script src="https://cdnjs.cloudflare.com/ajax/libs/codemirror/5.46.0/mode/xml/xml.min.js"></script>';
502
- echo '<script src="https://cdnjs.cloudflare.com/ajax/libs/codemirror/5.46.0/mode/javascript/javascript.min.js"></script>';
503
- echo '<script src="https://cdnjs.cloudflare.com/ajax/libs/codemirror/5.46.0/addon/selection/active-line.min.js"></script>';
504
 
505
  echo '<div class="sc_cm_menu"></div>';
506
  echo '<textarea name="sc_content" id="sc_content">' . esc_textarea( $value ) . '</textarea>';
494
  }
495
 
496
  public static function load_codemirror_editor( $value ){
497
+ echo '<link href="https://cdnjs.cloudflare.com/ajax/libs/codemirror/5.47.0/codemirror.min.css" rel="stylesheet">';
498
+ echo '<script src="https://cdnjs.cloudflare.com/ajax/libs/codemirror/5.47.0/codemirror.min.js"></script>';
499
+ echo '<script src="https://cdnjs.cloudflare.com/ajax/libs/codemirror/5.47.0/mode/htmlmixed/htmlmixed.min.js"></script>';
500
+ echo '<script src="https://cdnjs.cloudflare.com/ajax/libs/codemirror/5.47.0/mode/css/css.min.js"></script>';
501
+ echo '<script src="https://cdnjs.cloudflare.com/ajax/libs/codemirror/5.47.0/mode/xml/xml.min.js"></script>';
502
+ echo '<script src="https://cdnjs.cloudflare.com/ajax/libs/codemirror/5.47.0/mode/javascript/javascript.min.js"></script>';
503
+ echo '<script src="https://cdnjs.cloudflare.com/ajax/libs/codemirror/5.47.0/addon/selection/active-line.min.js"></script>';
504
 
505
  echo '<div class="sc_cm_menu"></div>';
506
  echo '<textarea name="sc_content" id="sc_content">' . esc_textarea( $value ) . '</textarea>';
readme.txt CHANGED
@@ -3,11 +3,11 @@ Contributors: vaakash
3
  Author URI: https://www.aakashweb.com/
4
  Plugin URI: https://www.aakashweb.com/wordpress-plugins/shortcoder/
5
  Tags: shortcode, html, javascript, shortcodes, short code, posts, pages, widgets, insert, adsense, ads, snippets,
6
- Donate link: https://goo.gl/qMF3iE
7
  License: GPLv2 or later
8
  Requires at least: 4.4.0
9
- Tested up to: 5.2
10
- Stable tag: 4.4
11
 
12
  Create custom "Shortcodes" easily for HTML, JavaScript snippets and use the shortcodes within posts, pages & widgets.
13
 
@@ -91,6 +91,10 @@ Note: When you disable a shortcode, the shortcode will not be executed in the pa
91
 
92
  == Changelog ==
93
 
 
 
 
 
94
  = 4.4 =
95
  * New: Insert shortcode automatically adds "closing tag" if the shortcode has enclosed content parameter.
96
  * Fix: Codemirror has been updated to latest version.
3
  Author URI: https://www.aakashweb.com/
4
  Plugin URI: https://www.aakashweb.com/wordpress-plugins/shortcoder/
5
  Tags: shortcode, html, javascript, shortcodes, short code, posts, pages, widgets, insert, adsense, ads, snippets,
6
+ Donate link: https://www.paypal.me/vaakash/6
7
  License: GPLv2 or later
8
  Requires at least: 4.4.0
9
+ Tested up to: 5.2.2
10
+ Stable tag: 4.5
11
 
12
  Create custom "Shortcodes" easily for HTML, JavaScript snippets and use the shortcodes within posts, pages & widgets.
13
 
91
 
92
  == Changelog ==
93
 
94
+ = 4.5 =
95
+ * Fix: Copy shortcode box having incorrect width.
96
+ * Fix: Codemirror has been updated to latest version.
97
+
98
  = 4.4 =
99
  * New: Insert shortcode automatically adds "closing tag" if the shortcode has enclosed content parameter.
100
  * Fix: Codemirror has been updated to latest version.
shortcoder.php CHANGED
@@ -4,11 +4,11 @@ Plugin Name: Shortcoder
4
  Plugin URI: https://www.aakashweb.com/
5
  Description: Shortcoder is a plugin which allows to create a custom shortcode and store HTML, JavaScript and other snippets in it. So if that shortcode is used in any post or pages, then the code stored in the shortcode get executed in that place. You can create a shortcode for Youtube videos, adsense ads, buttons and more.
6
  Author: Aakash Chakravarthy
7
- Version: 4.4
8
  Author URI: https://www.aakashweb.com/
9
  */
10
 
11
- define( 'SC_VERSION', '4.4' );
12
  define( 'SC_PATH', plugin_dir_path( __FILE__ ) ); // All have trailing slash
13
  define( 'SC_URL', plugin_dir_url( __FILE__ ) );
14
  define( 'SC_ADMIN_URL', trailingslashit( plugin_dir_url( __FILE__ ) . 'admin' ) );
4
  Plugin URI: https://www.aakashweb.com/
5
  Description: Shortcoder is a plugin which allows to create a custom shortcode and store HTML, JavaScript and other snippets in it. So if that shortcode is used in any post or pages, then the code stored in the shortcode get executed in that place. You can create a shortcode for Youtube videos, adsense ads, buttons and more.
6
  Author: Aakash Chakravarthy
7
+ Version: 4.5
8
  Author URI: https://www.aakashweb.com/
9
  */
10
 
11
+ define( 'SC_VERSION', '4.5' );
12
  define( 'SC_PATH', plugin_dir_path( __FILE__ ) ); // All have trailing slash
13
  define( 'SC_URL', plugin_dir_url( __FILE__ ) );
14
  define( 'SC_ADMIN_URL', trailingslashit( plugin_dir_url( __FILE__ ) . 'admin' ) );