Bulk Page Creator - Version 1.0.6

Version Description

Amended potential issue with safari and draft pages in JavaScript

=

Download this release

Release Info

Developer DaganLev
Plugin Icon wp plugin Bulk Page Creator
Version 1.0.6
Comparing to
See all releases

Code changes from version 1.0.5 to 1.0.6

Files changed (3) hide show
  1. bulk-page-creator.php +2 -2
  2. my-script.js +1 -1
  3. readme.txt +3 -0
bulk-page-creator.php CHANGED
@@ -3,7 +3,7 @@
3
Plugin Name: Bulk Page Creator
4
Plugin URI: http://solid-code.co.uk/2011/05/bulk-page-creator/
5
Description: Allows you to create multiple pages in a batch/bulk manner saving time when initially setting up your WordPress site.
6
- Version: 1.0.5
7
Author: Dagan Lev
8
Author URI: http://solid-code.co.uk
9
@@ -97,7 +97,7 @@ if (!class_exists("sc_bulk_page_creator")) {
97
}
98
?>
99
<div class="wrap" id="sc-bpc-div">
100
- <?php if($_GET['saved']=='1'){ ?>
101
<div id="setting-error-settings_updated" class="updated settings-error"><p><strong>Settings saved.</strong></p></div>
102
<?php } ?>
103
<h2>Bulk Page Creator</h2>
3
Plugin Name: Bulk Page Creator
4
Plugin URI: http://solid-code.co.uk/2011/05/bulk-page-creator/
5
Description: Allows you to create multiple pages in a batch/bulk manner saving time when initially setting up your WordPress site.
6
+ Version: 1.0.6
7
Author: Dagan Lev
8
Author URI: http://solid-code.co.uk
9
97
}
98
?>
99
<div class="wrap" id="sc-bpc-div">
100
+ <?php if(isset($_GET['saved']) && $_GET['saved']=='1'){ ?>
101
<div id="setting-error-settings_updated" class="updated settings-error"><p><strong>Settings saved.</strong></p></div>
102
<?php } ?>
103
<h2>Bulk Page Creator</h2>
my-script.js CHANGED
@@ -23,7 +23,7 @@ jQuery(document).ready(function(){
23
24
//get the draft pages
25
var valDrafts = jQuery('#pagesDraft').val();
26
- if(valDrafts!=''){
27
if(valDrafts.match(',')){
28
//its an array
29
var arrDrafts = valDrafts.split(",");
23
24
//get the draft pages
25
var valDrafts = jQuery('#pagesDraft').val();
26
+ if(valDrafts && valDrafts!=''){
27
if(valDrafts.match(',')){
28
//its an array
29
var arrDrafts = valDrafts.split(",");
readme.txt CHANGED
@@ -37,6 +37,9 @@ Added a "draft" option to publish pages in draft status
37
= 1.0.5 =
38
Added a multiple page addition with comma seperation
39
40
== Screenshots ==
41
42
1. View of bulk page creator screen
37
= 1.0.5 =
38
Added a multiple page addition with comma seperation
39
40
+ = 1.0.6 =
41
+ Amended potential issue with safari and draft pages in JavaScript
42
+
43
== Screenshots ==
44
45
1. View of bulk page creator screen