Shortcode Widget - Version 1.2

Version Description

  • Corrections in text domain and added one more string as translatable
Download this release

Release Info

Developer gagan0123
Plugin Icon 128x128 Shortcode Widget
Version 1.2
Comparing to
See all releases

Code changes from version 1.1 to 1.2

Files changed (2) hide show
  1. index.php +3 -3
  2. readme.txt +6 -3
index.php CHANGED
@@ -5,12 +5,12 @@ Plugin URI: http://wordpress.org/extend/plugins/shortcode-widget/
5
  Description: Adds a text-like widget that allows you to write shortcode in it. (Just whats missing in the default text widget)
6
  Author: Gagan Deep Singh
7
  Author URI: http://gagan.pro/
8
- Version: 1.1
9
  Text Domain: shortcode-widget
10
  License: GPL version 2 or later - http://www.gnu.org/licenses/old-licenses/gpl-2.0.html
11
  */
12
 
13
- define('SHORTCODE_WIDGET_TEXT_DOMAIN','shortcode_widget');
14
 
15
  require_once('class-shortcode-widget.php');
16
 
@@ -26,6 +26,6 @@ add_action('plugins_loaded','shortcode_widget_load_text_domain');
26
 
27
  add_shortcode('shortcode_widget_test', 'shortcode_widget_test_output');
28
  function shortcode_widget_test_output($args){
29
- return "It works";
30
  }
31
  ?>
5
  Description: Adds a text-like widget that allows you to write shortcode in it. (Just whats missing in the default text widget)
6
  Author: Gagan Deep Singh
7
  Author URI: http://gagan.pro/
8
+ Version: 1.2
9
  Text Domain: shortcode-widget
10
  License: GPL version 2 or later - http://www.gnu.org/licenses/old-licenses/gpl-2.0.html
11
  */
12
 
13
+ define('SHORTCODE_WIDGET_TEXT_DOMAIN','shortcode-widget');
14
 
15
  require_once('class-shortcode-widget.php');
16
 
26
 
27
  add_shortcode('shortcode_widget_test', 'shortcode_widget_test_output');
28
  function shortcode_widget_test_output($args){
29
+ return __( "It works" , SHORTCODE_WIDGET_TEXT_DOMAIN );
30
  }
31
  ?>
readme.txt CHANGED
@@ -2,10 +2,10 @@
2
  Contributors: gagan0123
3
  Tags: Shortcode, Widget
4
  Requires at least: 3.1
5
- Tested up to: 4.2.2
6
  Requires at least: 3.3
7
  Tested up to: 4.0
8
- Stable tag: 1.1
9
  License: GPLv2 or later
10
  License URI: http://www.gnu.org/licenses/gpl-2.0.html
11
 
@@ -38,4 +38,7 @@ To test the widget you can add the widget and use the shortcode "[shortcode_widg
38
  * Tested with WP 4.0
39
 
40
  = 1.1 =
41
- * Reflecting the changes that have been done to the default text widget over the years
 
 
 
2
  Contributors: gagan0123
3
  Tags: Shortcode, Widget
4
  Requires at least: 3.1
5
+ Tested up to: 4.3.1
6
  Requires at least: 3.3
7
  Tested up to: 4.0
8
+ Stable tag: 1.2
9
  License: GPLv2 or later
10
  License URI: http://www.gnu.org/licenses/gpl-2.0.html
11
 
38
  * Tested with WP 4.0
39
 
40
  = 1.1 =
41
+ * Reflecting the changes that have been done to the default text widget over the years
42
+
43
+ = 1.2 =
44
+ * Corrections in text domain and added one more string as translatable