Changeset 681793
- Timestamp:
- 03/14/2013 01:14:32 PM (13 years ago)
- Location:
- bulkpress/tags/0.1.1
- Files:
-
- 2 edited
- 9 copied
-
. (copied) (copied from bulkpress/trunk)
-
bulkpress.php (copied) (copied from bulkpress/trunk/bulkpress.php) (2 diffs)
-
external (copied) (copied from bulkpress/trunk/external)
-
languages (copied) (copied from bulkpress/trunk/languages)
-
lib (copied) (copied from bulkpress/trunk/lib)
-
lib/adminmenupage/posts.php (modified) (3 diffs)
-
lib/ajax.php (modified) (1 diff)
-
public (copied) (copied from bulkpress/trunk/public)
-
readme.txt (copied) (copied from bulkpress/trunk/readme.txt) (2 diffs)
-
screenshot-1.jpg (copied) (copied from bulkpress/trunk/screenshot-1.jpg)
-
screenshot-2.jpg (copied) (copied from bulkpress/trunk/screenshot-2.jpg)
Legend:
- Unmodified
- Added
- Removed
-
bulkpress/tags/0.1.1/bulkpress.php
r681694 r681793 3 3 Plugin Name: BulkPress 4 4 Description: Create vast amounts of categories, terms of custom taxonomies, posts, pages and posts of custom post types in the blink of an eye! The easy-to-use interface allows you to quickly create both hierarchical and non-hierarchical posts and terms by just speciying the title and optionally the slug, allowing you to quickly populate your website with content. 5 Version: 0.1 5 Version: 0.1.1 6 6 Author: Jesper van Engelen 7 7 Author URI: http://www.jepps.nl … … 10 10 11 11 // Plugin information 12 define('JWBP_VERSION', '0.1 ');12 define('JWBP_VERSION', '0.1.1'); 13 13 14 14 // Paths -
bulkpress/tags/0.1.1/lib/adminmenupage/posts.php
r681694 r681793 169 169 // Check if the post already exists 170 170 foreach ($posttype_posts as $index2 => $posttype_post) { 171 if ($posttype_post-> name == $post && (!$posttype->hierarchical || $posttype_post->post_parent == $parent)) {171 if ($posttype_post->post_title == $post && (!$posttype->hierarchical || $posttype_post->post_parent == $parent)) { 172 172 $post_exists = true; 173 173 … … 229 229 } 230 230 231 // Remove hierarchy from cache232 delete_option($posttype->name . '_children');233 234 231 // Add message to notify user of completion 235 232 $this->messages[] = sprintf(_n('%d post successfully added.', '%d posts successfully added.', $num_posts_inserted, 'bulkpress'), $num_posts_inserted); … … 315 312 'name' => 'jwbp-addposts-topparent', 316 313 'id' => 'jwbp-addposts-topparent', 317 'selected' => $_POST['jwbp-addposts-topparent'] 314 'selected' => $_POST['jwbp-addposts-topparent'], 315 'post_status' => array('publish', 'draft') 318 316 )); ?> 319 317 <?php else : ?> -
bulkpress/tags/0.1.1/lib/ajax.php
r681694 r681793 86 86 'id' => 'jwbp-addposts-topparent', 87 87 'selected' => $_POST['jwbp-addposts-topparent'], 88 'echo' => false 88 'echo' => false, 89 'post_status' => array('publish', 'draft') 89 90 )); 90 91 } -
bulkpress/tags/0.1.1/readme.txt
r681694 r681793 7 7 Requires at least: 3.1 8 8 Tested up to: 3.5.1 9 Stable tag: 0. 3.29 Stable tag: 0.1.1 10 10 11 11 Easily add multiple categories, pages, custom taxonomy terms and custom post type posts. By just listing the titles and possibly the slugs, this plugin makes the tedious process of adding big amounts of content much, much easier! … … 51 51 == Changelog == 52 52 53 = 0.1.1 = 54 55 * Bug fix: problems with adding posts for hierarchical post types where parent posts would be inserted multiple times have been fixed 56 53 57 = 0.1 = 54 58
Note: See TracChangeset
for help on using the changeset viewer.