Child Theme Creator by Orbisius - Version 1.2.7

Version Description

  • Improved security.
Download this release

Release Info

Developer lordspace
Plugin Icon wp plugin Child Theme Creator by Orbisius
Version 1.2.7
Comparing to
See all releases

Code changes from version 1.2.6 to 1.2.7

nbproject/private/private.xml CHANGED
@@ -45,9 +45,8 @@
45
  </editor-bookmarks>
46
  <open-files xmlns="http://www.netbeans.org/ns/projectui-open-files/2">
47
  <group>
48
- <file>file:/C:/projects/default/htdocs/wordpress313/wp-content/plugins/orbisius-child-theme-creator/orbisius-child-theme-creator.php</file>
49
- <file>file:/C:/projects/default/htdocs/wordpress313/wp-content/plugins/orbisius-child-theme-creator/assets/main.js</file>
50
- <file>file:/C:/projects/default/htdocs/wordpress313/wp-content/plugins/orbisius-child-theme-creator/readme.txt</file>
51
  </group>
52
  </open-files>
53
  </project-private>
45
  </editor-bookmarks>
46
  <open-files xmlns="http://www.netbeans.org/ns/projectui-open-files/2">
47
  <group>
48
+ <file>file:/C:/Copy/Dropbox/cloud/projects/default/htdocs/wordpress313/wp-content/plugins/orbisius-child-theme-creator/orbisius-child-theme-creator.php</file>
49
+ <file>file:/C:/Copy/Dropbox/cloud/projects/default/htdocs/wordpress313/wp-content/plugins/orbisius-child-theme-creator/readme.txt</file>
 
50
  </group>
51
  </open-files>
52
  </project-private>
orbisius-child-theme-creator.php CHANGED
@@ -3,7 +3,7 @@
3
  Plugin Name: Orbisius Child Theme Creator
4
  Plugin URI: http://club.orbisius.com/products/wordpress-plugins/orbisius-child-theme-creator/
5
  Description: This plugin allows you to quickly create child themes from any theme that you have currently installed on your site/blog.
6
- Version: 1.2.6
7
  Author: Svetoslav Marinov (Slavi)
8
  Author URI: http://orbisius.com
9
  */
@@ -2197,7 +2197,7 @@ function orbisius_ctc_theme_editor() {
2197
  }
2198
 
2199
  function orbisius_ctc_theme_editor_no_auth_ajax() {
2200
- wp_die('You need to be logged in. To call this ajax method.');
2201
  }
2202
 
2203
  /**
@@ -2457,7 +2457,11 @@ function orbisius_ctc_theme_editor_generate_dropdown() {
2457
  * @param int $cmd_id : read - 1, write - 2, delete - 3
2458
  * @return string
2459
  */
2460
- function orbisius_ctc_theme_editor_manage_file($cmd_id = 1) {
 
 
 
 
2461
  $buff = $theme_base_dir = $theme_dir = $theme_file = '';
2462
 
2463
  $req = orbisius_ctc_theme_editor_get_request();
3
  Plugin Name: Orbisius Child Theme Creator
4
  Plugin URI: http://club.orbisius.com/products/wordpress-plugins/orbisius-child-theme-creator/
5
  Description: This plugin allows you to quickly create child themes from any theme that you have currently installed on your site/blog.
6
+ Version: 1.2.7
7
  Author: Svetoslav Marinov (Slavi)
8
  Author URI: http://orbisius.com
9
  */
2197
  }
2198
 
2199
  function orbisius_ctc_theme_editor_no_auth_ajax() {
2200
+ wp_die('You must be logged in to call this method.');
2201
  }
2202
 
2203
  /**
2457
  * @param int $cmd_id : read - 1, write - 2, delete - 3
2458
  * @return string
2459
  */
2460
+ function orbisius_ctc_theme_editor_manage_file( $cmd_id = 1 ) {
2461
+ if ( ! current_user_can( 'manage_options' ) ) {
2462
+ return 'Missing data!';
2463
+ }
2464
+
2465
  $buff = $theme_base_dir = $theme_dir = $theme_file = '';
2466
 
2467
  $req = orbisius_ctc_theme_editor_get_request();
readme.txt CHANGED
@@ -4,7 +4,7 @@ Donate link: https://www.paypal.com/cgi-bin/webscr?cmd=_s-xclick&hosted_button_i
4
  Tags: theme,child theme,childtheme,childthemes,parent theme,child themes,CSS,styling,resposive design,design,custom themeing, shared hosting,theme editor theme,themes,wp,wordpress,orbisius,theme creator,custom theme,theme generator,css,css editor
5
  Requires at least: 3.4
6
  Tested up to: 4.2.2
7
- Stable tag: 1.2.6
8
  License: GPLv2 or later
9
 
10
  Create Child Themes quickly and easily from any theme that you have currently installed on your site/blog.
@@ -143,6 +143,9 @@ Let's talk.
143
 
144
  == Changelog ==
145
 
 
 
 
146
  = 1.2.6 =
147
  * Fixed a wrong check for the Pro version.
148
  * Tested with latest WP
4
  Tags: theme,child theme,childtheme,childthemes,parent theme,child themes,CSS,styling,resposive design,design,custom themeing, shared hosting,theme editor theme,themes,wp,wordpress,orbisius,theme creator,custom theme,theme generator,css,css editor
5
  Requires at least: 3.4
6
  Tested up to: 4.2.2
7
+ Stable tag: 1.2.7
8
  License: GPLv2 or later
9
 
10
  Create Child Themes quickly and easily from any theme that you have currently installed on your site/blog.
143
 
144
  == Changelog ==
145
 
146
+ = 1.2.7 =
147
+ * Improved security.
148
+
149
  = 1.2.6 =
150
  * Fixed a wrong check for the Pro version.
151
  * Tested with latest WP