Changeset 1236069
- Timestamp:
- 09/02/2015 07:10:42 AM (11 years ago)
- Location:
- am-events/trunk
- Files:
-
- 4 edited
-
am-events.php (modified) (3 diffs)
-
readme.txt (modified) (3 diffs)
-
widget-event-calendar.php (modified) (1 diff)
-
widget-upcoming-events.php (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
am-events/trunk/am-events.php
r1100514 r1236069 4 4 Plugin URI: http://wordpress.org/extend/plugins/am-events/ 5 5 Description: Adds a post type for events and a customizable widget for displaying upcoming events. 6 Version: 2.0.06 Version: 1.9.5 7 7 Author: Atte Moisio 8 8 Author URI: http://attemoisio.fi … … 94 94 */ 95 95 require_once dirname(__FILE__) . '/widget-upcoming-events.php'; 96 require_once dirname(__FILE__) . '/widget-event-calendar.php';97 96 require_once dirname(__FILE__) . '/template-tags.php'; 98 97 … … 216 215 function am_register_widgets() { 217 216 register_widget('AM_Upcoming_Events_Widget'); 218 register_widget('AM_Event_Calendar_Widget');219 217 } 220 218 -
am-events/trunk/readme.txt
r1100118 r1236069 3 3 Tags: event list, events, upcoming events, event list, custom post type, custom taxonomy, plugin, widget 4 4 Requires at least: 3.3.1 5 Tested up to: 4. 16 Stable tag: 1.9. 45 Tested up to: 4.3 6 Stable tag: 1.9.5 7 7 License: GPLv2 or later 8 8 License URI: http://www.gnu.org/licenses/gpl-2.0.html … … 56 56 == Changelog == 57 57 58 = 2.0.0 = 59 * Added new event calendar widget 60 * Enabled date archives for event posts 58 = 1.9.5 = 59 * Fixed compatibility with WordPress 4.3 61 60 62 61 = 1.9.4 = … … 130 129 == Upgrade Notice == 131 130 132 = 2.0.0 = 133 * Adds a new event calendar widget 134 * Enables date archives for events 131 = 1.9.5 = 132 * Fixes compatibility with WordPress 4.3 135 133 136 134 = 1.9.4 = -
am-events/trunk/widget-event-calendar.php
r1100514 r1236069 26 26 * Register widget with WordPress. 27 27 */ 28 function AM_Event_Calendar_Widget() { 29 parent::WP_Widget('am_event_calendar', 'AM Event Calendar', array('description' => __( 'Display event calendar', 'am-events' )), array('width' => 400)); 28 public function __construct() { 29 parent::__construct( 30 'am_event_calendar', 31 'AM Event Calendar', 32 array('description' => __( 'Display event calendar', 'am-events' )), 33 array('width' => 400)); 30 34 } 31 35 -
am-events/trunk/widget-upcoming-events.php
r1100514 r1236069 26 26 * Register widget with WordPress. 27 27 */ 28 function AM_Upcoming_Events_Widget() { 29 parent::WP_Widget('am_upcoming_events', 'AM Upcoming Events', array('description' => __( 'Display upcoming events', 'am-events' )), array('width' => 400)); 28 public function __construct() { 29 parent::__construct( 30 'am_upcoming_events', 31 'AM Upcoming Events', 32 array('description' => __( 'Display upcoming events', 'am-events' )), 33 array('width' => 400)); 30 34 } 31 35
Note: See TracChangeset
for help on using the changeset viewer.