Skip to content

Commit d58b198

Browse files
committed
Tagging version 0.3
1 parent 4548e88 commit d58b198

File tree

2 files changed

+9
-3
lines changed

2 files changed

+9
-3
lines changed

index.php

+6-1
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
Description: Adds a text-like widget that allows you to write shortcode in it. (Just whats missing in the default text widget)
66
Author: gagan0123
77
Author URI: http://gagan.pro/
8-
Version: 0.2
8+
Version: 0.3
99
Text Domain: shortcode-widget
1010
License: GPL version 2 or later - http://www.gnu.org/licenses/old-licenses/gpl-2.0.html
1111
*/
@@ -23,4 +23,9 @@ function shortcode_widget_load_text_domain(){
2323
load_plugin_textdomain( SHORTCODE_WIDGET_TEXT_DOMAIN, false, dirname( plugin_basename( __FILE__ ) ) . '/languages/' );
2424
}
2525
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+
}
2631
?>

readme.txt

+3-2
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ Contributors: gagan0123
33
Tags: Shortcode, Widget
44
Requires at least: 3.3
55
Tested up to: 3.5.1
6-
Stable tag: 0.2
6+
Stable tag: 0.3
77
License: GPLv2 or later
88
License URI: http://www.gnu.org/licenses/gpl-2.0.html
99

@@ -21,4 +21,5 @@ Adds a text-like widget that allows you to write shortcode in it. (Just whats mi
2121

2222
== Changelog ==
2323
0.1 Added the shortcode widget
24-
0.2 Added translation support
24+
0.2 Added translation support
25+
0.3 Added a shortcode for testing the plugin '[shortcode_widget_test]'

0 commit comments

Comments
 (0)