Changeset 1222064
- Timestamp:
- 08/16/2015 12:59:44 PM (11 years ago)
- Location:
- recent-posts-by-category-widget/trunk
- Files:
-
- 2 edited
-
readme.txt (modified) (1 diff)
-
recent-posts-by-category-widget.php (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
recent-posts-by-category-widget/trunk/readme.txt
r1219960 r1222064 27 27 == Changelog == 28 28 29 = 1.3 = 30 * Removed an anonymous function that was breaking sites running PHP 5.2 31 29 32 = 1.2 = 30 33 * Switch to PHP5 style constructors for WP v4.3 -
recent-posts-by-category-widget/trunk/recent-posts-by-category-widget.php
r1219952 r1222064 4 4 Plugin Name: Recent Posts by Category Widget 5 5 Description: Just like the default Recent Posts widget except you can choose a category to pull posts from. 6 Version: 1. 26 Version: 1.3 7 7 Author: Ross Cornell 8 8 Author URI: http://www.rosscornell.com … … 13 13 // Register widget 14 14 15 add_action( 'widgets_init', function() { register_widget( 'rpjc_widget_cat_recent_posts' ); } ); 15 add_action( 'widgets_init', 'rpjc_register_widget_cat_recent_posts' ); 16 17 function rpjc_register_widget_cat_recent_posts() { 18 19 register_widget( 'rpjc_widget_cat_recent_posts' ); 20 21 } 16 22 17 23 class rpjc_widget_cat_recent_posts extends WP_Widget {
Note: See TracChangeset
for help on using the changeset viewer.