Changeset 1236114
- Timestamp:
- 09/02/2015 08:26:35 AM (11 years ago)
- Location:
- am-events/trunk
- Files:
-
- 2 edited
-
am-events.php (modified) (4 diffs)
-
readme.txt (modified) (3 diffs)
Legend:
- Unmodified
- Added
- Removed
-
am-events/trunk/am-events.php
r1236069 r1236114 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: 1.9. 56 Version: 1.9.6 7 7 Author: Atte Moisio 8 8 Author URI: http://attemoisio.fi … … 1117 1117 ); 1118 1118 $new_post_id = wp_insert_post($new_post); 1119 1120 wp_set_post_tags($new_post_id, wp_get_post_tags($post_id ));1119 1120 wp_set_post_tags($new_post_id, wp_get_post_tags($post_id, array('fields' => 'ids')), false); 1121 1121 set_post_thumbnail($new_post_id, get_post_thumbnail_id($post_id)); 1122 1122 … … 1199 1199 add_action('save_post', 'am_save_custom_meta'); 1200 1200 1201 wp_set_post_tags($id, wp_get_post_tags($post_id ));1201 wp_set_post_tags($id, wp_get_post_tags($post_id, array('fields' => 'ids')), false); 1202 1202 set_post_thumbnail($id, get_post_thumbnail_id($post_id)); 1203 1203 … … 1365 1365 'description' => __('Type for events', 'am-events'), 1366 1366 'supports' => array('title', 'editor', 'thumbnail', 'excerpt'), 1367 'taxonomies' => array('am_event_category', 'am_venue' ),1367 'taxonomies' => array('am_event_category', 'am_venue', 'post_tag'), 1368 1368 'rewrite' => array( 'slug' => get_option('am_rewrite_slug', 'am_event') ), 1369 1369 ); 1370 1371 1372 1370 1373 1371 register_post_type('am_event', $args); 1372 1373 register_taxonomy('post_tag', array('am_event')); 1374 1374 } 1375 1375 -
am-events/trunk/readme.txt
r1236069 r1236114 4 4 Requires at least: 3.3.1 5 5 Tested up to: 4.3 6 Stable tag: 1.9. 56 Stable tag: 1.9.6 7 7 License: GPLv2 or later 8 8 License URI: http://www.gnu.org/licenses/gpl-2.0.html … … 55 55 56 56 == Changelog == 57 58 = 1.9.6 = 59 * Fix tags being stripped from recurring events. 57 60 58 61 = 1.9.5 = … … 128 131 129 132 == Upgrade Notice == 133 134 = 1.9.6 = 135 * Fixes tags being stripped from recurring events. 130 136 131 137 = 1.9.5 =
Note: See TracChangeset
for help on using the changeset viewer.