Changeset 1090431
- Timestamp:
- 02/15/2015 11:56:36 AM (11 years ago)
- Location:
- wp-bulk-post-duplicator/trunk
- Files:
-
- 2 edited
-
bulk_duplicate_posts.php (modified) (3 diffs)
-
readme.txt (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
wp-bulk-post-duplicator/trunk/bulk_duplicate_posts.php
r1084469 r1090431 4 4 * Plugin URI: http://www.webhocks.com 5 5 * Description: Duplicate all your post, page and custom post types.Duplicate based on year of post created. 6 * Version: 1. 06 * Version: 1.1 7 7 * Author: Rajesh Kumar 8 8 * Author URI: http://www.webhocks.com … … 173 173 $pt_status = $chn_status; 174 174 } 175 $pre_post_catgs=get_the_category( $post->ID); 176 $post_catgs=array(); 177 foreach($pre_post_catgs as $catg) { 178 array_push($post_catgs, $catg->cat_ID); 179 } 175 180 176 181 $args = array( … … 212 217 } 213 218 219 wp_set_post_categories( $new_post_id, $post_catgs, true); 214 220 $i_dupli++; 215 221 -
wp-bulk-post-duplicator/trunk/readme.txt
r1087271 r1090431 4 4 Requires at least: 3.0 5 5 Tested up to: 4.1 6 Stable tag: 1. 06 Stable tag: 1.1 7 7 License: GPLv2 8 8 … … 34 34 35 35 1. Screenshot of main screen, choosing post-type and custom post-type to duplicate. 36 37 38 == Changelog == 39 40 = 1.1 = 41 * update on tagging categories of posts getting duplicated
Note: See TracChangeset
for help on using the changeset viewer.