Bulk Page Creator - Version 1.0.7

Version Description

Added script to add pages in the page section when accedently submitting form

=

Download this release

Release Info

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

Code changes from version 1.0.6 to 1.0.7

Files changed (3) hide show
  1. bulk-page-creator.php +1 -1
  2. my-script.js +4 -0
  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.6
7
Author: Dagan Lev
8
Author URI: http://solid-code.co.uk
9
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.7
7
Author: Dagan Lev
8
Author URI: http://solid-code.co.uk
9
my-script.js CHANGED
@@ -42,6 +42,10 @@ jQuery(document).ready(function(){
42
}
43
}
44
}
45
});
46
47
function sc_add_page(){
42
}
43
}
44
}
45
+
46
+ jQuery('form#sc-add-pages').on('submit', function(e){
47
+ return jQuery('#sc-page-name').val().length>0 ? sc_add_page() : true;
48
+ });
49
});
50
51
function sc_add_page(){
readme.txt CHANGED
@@ -40,6 +40,9 @@ Added a multiple page addition with comma seperation
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
40
= 1.0.6 =
41
Amended potential issue with safari and draft pages in JavaScript
42
43
+ = 1.0.7 =
44
+ Added script to add pages in the page section when accedently submitting form
45
+
46
== Screenshots ==
47
48
1. View of bulk page creator screen