Version Description
Maintenance Fix
=
Download this release
Release Info
Developer | DaganLev |
Plugin | Bulk Page Creator |
Version | 1.1.4 |
Comparing to | |
See all releases |
Code changes from version 1.1.3 to 1.1.4
- bulk-page-creator.php +6 -1
- readme.txt +4 -1
bulk-page-creator.php
CHANGED
@@ -3,7 +3,7 @@
|
|
3 |
Plugin Name: Bulk Page Creator
|
4 |
Plugin URI: https://solid-code.co.uk/
|
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.1.
|
7 |
Author: Dagan Lev
|
8 |
Author URI: https://solid-code.co.uk
|
9 |
|
@@ -61,7 +61,11 @@ if (!class_exists("sc_bulk_page_creator")) {
|
|
61 |
|
62 |
function sc_bpc_page_create(){
|
63 |
if(!current_user_can('manage_options')) exit('Restricted');
|
|
|
64 |
if(isset($_POST['sc-pages'])&&$_POST['sc-pages']!=''){
|
|
|
|
|
|
|
65 |
//form submitted
|
66 |
if(preg_match_all('/(\d+\|(-|new)?\d+\|[^\|]*\|[^\n]*)/',$_POST['sc-pages'],$match_pg)){
|
67 |
$newpage = array();
|
@@ -152,6 +156,7 @@ if (!class_exists("sc_bulk_page_creator")) {
|
|
152 |
</table>
|
153 |
|
154 |
<form id="sc-add-pages" name="sc-add-pages" method="post" action="?page=sc_bpc_page">
|
|
|
155 |
<textarea id="sc-pages" name="sc-pages" style="display:none;"></textarea>
|
156 |
<p>When you are ready to commit your changes to the site just click the button below...</p>
|
157 |
<select id="pcontent" name="pcontent">
|
3 |
Plugin Name: Bulk Page Creator
|
4 |
Plugin URI: https://solid-code.co.uk/
|
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.1.4
|
7 |
Author: Dagan Lev
|
8 |
Author URI: https://solid-code.co.uk
|
9 |
|
61 |
|
62 |
function sc_bpc_page_create(){
|
63 |
if(!current_user_can('manage_options')) exit('Restricted');
|
64 |
+
|
65 |
if(isset($_POST['sc-pages'])&&$_POST['sc-pages']!=''){
|
66 |
+
|
67 |
+
check_admin_referer('sc-bulkpagecreator'); //check nonce
|
68 |
+
|
69 |
//form submitted
|
70 |
if(preg_match_all('/(\d+\|(-|new)?\d+\|[^\|]*\|[^\n]*)/',$_POST['sc-pages'],$match_pg)){
|
71 |
$newpage = array();
|
156 |
</table>
|
157 |
|
158 |
<form id="sc-add-pages" name="sc-add-pages" method="post" action="?page=sc_bpc_page">
|
159 |
+
<?php wp_nonce_field( 'sc-bulkpagecreator' ); ?>
|
160 |
<textarea id="sc-pages" name="sc-pages" style="display:none;"></textarea>
|
161 |
<p>When you are ready to commit your changes to the site just click the button below...</p>
|
162 |
<select id="pcontent" name="pcontent">
|
readme.txt
CHANGED
@@ -2,7 +2,7 @@
|
|
2 |
Contributors: DaganLev
|
3 |
Tags: Solid Code, Dagan Lev, Bulk Page Creator, batch action, add pages, add posts
|
4 |
Requires at least: 3.1
|
5 |
-
Tested up to: 5.
|
6 |
Stable tag: trunk
|
7 |
|
8 |
Allows you to create multiple pages in a batch/bulk manner saving time when initially setting up your WordPress site
|
@@ -61,6 +61,9 @@ Maintenance Version Release
|
|
61 |
= 1.1.3 =
|
62 |
Maintenance Version Release - Quick Fix
|
63 |
|
|
|
|
|
|
|
64 |
== Screenshots ==
|
65 |
|
66 |
1. View of bulk page creator screen
|
2 |
Contributors: DaganLev
|
3 |
Tags: Solid Code, Dagan Lev, Bulk Page Creator, batch action, add pages, add posts
|
4 |
Requires at least: 3.1
|
5 |
+
Tested up to: 5.9.3
|
6 |
Stable tag: trunk
|
7 |
|
8 |
Allows you to create multiple pages in a batch/bulk manner saving time when initially setting up your WordPress site
|
61 |
= 1.1.3 =
|
62 |
Maintenance Version Release - Quick Fix
|
63 |
|
64 |
+
= 1.1.4 =
|
65 |
+
Maintenance Fix
|
66 |
+
|
67 |
== Screenshots ==
|
68 |
|
69 |
1. View of bulk page creator screen
|