Changeset 1169854
- Timestamp:
- 05/29/2015 05:21:27 AM (11 years ago)
- Location:
- sewol-count/trunk
- Files:
-
- 2 edited
-
readme.txt (modified) (1 diff)
-
sewol-count.php (modified) (3 diffs)
Legend:
- Unmodified
- Added
- Removed
-
sewol-count/trunk/readme.txt
r1167586 r1169854 4 4 Requires at least: 3.0.1 5 5 Tested up to: 4.2.2 6 Stable tag: 1.0. 26 Stable tag: 1.0.3 7 7 License: GPLv2 or later 8 8 License URI: http://www.gnu.org/licenses/gpl-2.0.html -
sewol-count/trunk/sewol-count.php
r1167586 r1169854 4 4 Plugin URI: http://parkyong.com 5 5 Description: count day after Sewol Ferry Disaster 6 Version: 1.0. 26 Version: 1.0.3 7 7 Author: Park Yong 8 8 Author URI: http://parkyong.com … … 29 29 30 30 add_action( 'widgets_init', 'sewol_register_widgets' ); 31 add_action('plugins_loaded', 'sewol_load_textdomain'); 32 33 function sewol_load_textdomain() { 34 load_plugin_textdomain( 'sewol-count', false, dirname( plugin_basename(__FILE__) ) . '/languages/' ); 35 } 31 36 32 37 function sewol_register_widgets() { … … 38 43 function sewol_widget () { 39 44 $widget_ops = array( 'classname' => 'sewol_widget', 40 'description' => __( 'Count day after Sewol Ferry Disaster', 'sewol- plugin' ));41 $this->WP_Widget( 'sewol_widget', __('Sewol Count Widget', 'sewol- plugin'), $widget_ops );45 'description' => __( 'Count day after Sewol Ferry Disaster', 'sewol-count' )); 46 $this->WP_Widget( 'sewol_widget', __('Sewol Count Widget', 'sewol-count'), $widget_ops ); 42 47 } 43 48 44 49 function form ( $instance ) { 45 $defaults = array( 'title' => __('Sewol', 'sewol- plugin'));50 $defaults = array( 'title' => __('Sewol', 'sewol-count')); 46 51 47 52 $instance = wp_parse_args( (array)$instance, $defaults );
Note: See TracChangeset
for help on using the changeset viewer.