Plugin Directory

Changeset 681793


Ignore:
Timestamp:
03/14/2013 01:14:32 PM (13 years ago)
Author:
Jesper800
Message:

Tagging 0.1.1

Location:
bulkpress/tags/0.1.1
Files:
2 edited
9 copied

Legend:

Unmodified
Added
Removed
  • bulkpress/tags/0.1.1/bulkpress.php

    r681694 r681793  
    33Plugin Name: BulkPress
    44Description: 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
     5Version: 0.1.1
    66Author: Jesper van Engelen
    77Author URI: http://www.jepps.nl
     
    1010
    1111// Plugin information
    12 define('JWBP_VERSION', '0.1');
     12define('JWBP_VERSION', '0.1.1');
    1313
    1414// Paths
  • bulkpress/tags/0.1.1/lib/adminmenupage/posts.php

    r681694 r681793  
    169169                // Check if the post already exists
    170170                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)) {
    172172                        $post_exists = true;
    173173                       
     
    229229        }
    230230       
    231         // Remove hierarchy from cache
    232         delete_option($posttype->name . '_children');
    233        
    234231        // Add message to notify user of completion
    235232        $this->messages[] = sprintf(_n('%d post successfully added.', '%d posts successfully added.', $num_posts_inserted, 'bulkpress'), $num_posts_inserted);
     
    315312                                        'name' => 'jwbp-addposts-topparent',
    316313                                        'id' => 'jwbp-addposts-topparent',
    317                                         'selected' => $_POST['jwbp-addposts-topparent']
     314                                        'selected' => $_POST['jwbp-addposts-topparent'],
     315                                        'post_status' => array('publish', 'draft')
    318316                                    )); ?>
    319317                                <?php else : ?>
  • bulkpress/tags/0.1.1/lib/ajax.php

    r681694 r681793  
    8686                    'id' => 'jwbp-addposts-topparent',
    8787                    'selected' => $_POST['jwbp-addposts-topparent'],
    88                     'echo' => false
     88                    'echo' => false,
     89                    'post_status' => array('publish', 'draft')
    8990                ));
    9091            }
  • bulkpress/tags/0.1.1/readme.txt

    r681694 r681793  
    77Requires at least: 3.1
    88Tested up to: 3.5.1
    9 Stable tag: 0.3.2
     9Stable tag: 0.1.1
    1010
    1111Easily 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!
     
    5151== Changelog ==
    5252
     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
    5357= 0.1 =
    5458
Note: See TracChangeset for help on using the changeset viewer.