Changeset 1229092
- Timestamp:
- 08/24/2015 09:10:18 AM (11 years ago)
- Location:
- ns-widget-recent-comments/trunk
- Files:
-
- 2 edited
-
readme.txt (modified) (3 diffs)
-
widget-recent-comments.php (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
ns-widget-recent-comments/trunk/readme.txt
r1203363 r1229092 3 3 Tags: netscripter, recent comments, comments, widget, avatar, free, recent comments with avatars 4 4 Requires at least: 3.0 5 Tested up to: 4. 2.25 Tested up to: 4.3.0 6 6 Stable tag: trunk 7 7 License: GNU General Public License … … 76 76 Please send your localization files (.mo и .po) to admin@netscripter.me 77 77 78 = 1.2 = 79 * Changed WP_Widget that is deprecated since version 4.3.0, to __construct. 80 78 81 = 1.1 = 79 82 * This version fixes Translation bugs, that prevented translated .po file not to show in desired language. … … 85 88 == Upgrade Notice == 86 89 90 = 1.2 = 91 This version makes NS Widget Recent Comments compatibile with 4.3.0 release and remove WP_Widget is deprecated since version 4.3.0! Use __construct() Notice. Upgrade immediately. 92 87 93 = 1.1 = 88 94 This version fixes Translation bugs, that prevented translated .po file not to show in desired language. Upgrade immediately. -
ns-widget-recent-comments/trunk/widget-recent-comments.php
r1204230 r1229092 6 6 * Author URI: http://netscripter.me 7 7 * Description: Add a recent comments widget that shows author's avatar. 8 * Version: 1. 18 * Version: 1.2 9 9 * Text Domain: widget-recent-comments 10 10 */ … … 33 33 function NS_Recent_Comments_() { 34 34 $widget_ops = array('classname' => 'widget_ns', 'description' => __( 'Recent comments, with Avatars.' , 'widget-recent-comments') ); 35 $this->WP_Widget('ns-recent-comments', __('NS Recent Comments', 'widget-recent-comments'), $widget_ops);35 parent::__construct('ns-recent-comments', __('NS Recent Comments', 'widget-recent-comments'), $widget_ops); 36 36 $this->alt_option_name = 'widget_ns'; 37 37
Note: See TracChangeset
for help on using the changeset viewer.