Skip to content

Commit

Permalink
Tagging version 0.3
Browse files Browse the repository at this point in the history
  • Loading branch information
gagan0123 committed Aug 4, 2013
1 parent 4548e88 commit d58b198
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 3 deletions.
7 changes: 6 additions & 1 deletion index.php
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
Description: Adds a text-like widget that allows you to write shortcode in it. (Just whats missing in the default text widget)
Author: gagan0123
Author URI: http://gagan.pro/
Version: 0.2
Version: 0.3
Text Domain: shortcode-widget
License: GPL version 2 or later - http://www.gnu.org/licenses/old-licenses/gpl-2.0.html
*/
Expand All @@ -23,4 +23,9 @@ function shortcode_widget_load_text_domain(){
load_plugin_textdomain( SHORTCODE_WIDGET_TEXT_DOMAIN, false, dirname( plugin_basename( __FILE__ ) ) . '/languages/' );
}
add_action('plugins_loaded','shortcode_widget_load_text_domain');

add_shortcode('shortcode_widget_test', 'shortcode_widget_test_output');
function shortcode_widget_test_output($args){
return "It works";
}
?>
5 changes: 3 additions & 2 deletions readme.txt
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ Contributors: gagan0123
Tags: Shortcode, Widget
Requires at least: 3.3
Tested up to: 3.5.1
Stable tag: 0.2
Stable tag: 0.3
License: GPLv2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html

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

== Changelog ==
0.1 Added the shortcode widget
0.2 Added translation support
0.2 Added translation support
0.3 Added a shortcode for testing the plugin '[shortcode_widget_test]'

0 comments on commit d58b198

Please sign in to comment.