Child Theme Creator by Orbisius - Version 1.4.0

Version Description

  • Tested with WP 4.7.5
Download this release

Release Info

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

Code changes from version 1.3.9 to 1.4.0

nbproject/private/private.xml CHANGED
@@ -1,6 +1,6 @@
1
  <?xml version="1.0" encoding="UTF-8"?>
2
  <project-private xmlns="http://www.netbeans.org/ns/project-private/1">
3
- <editor-bookmarks xmlns="http://www.netbeans.org/ns/editor-bookmarks/2" lastBookmarkId="20">
4
  <file>
5
  <url>assets/main.js</url>
6
  <bookmark id="19">
@@ -13,67 +13,72 @@
13
  <url>orbisius-child-theme-creator.php</url>
14
  <bookmark id="20">
15
  <name/>
16
- <line>95</line>
 
 
 
 
 
17
  <key/>
18
  </bookmark>
19
  <bookmark id="15">
20
  <name/>
21
- <line>1402</line>
22
  <key/>
23
  </bookmark>
24
  <bookmark id="16">
25
  <name/>
26
- <line>1543</line>
27
  <key/>
28
  </bookmark>
29
  <bookmark id="6">
30
  <name/>
31
- <line>1617</line>
32
  <key/>
33
  </bookmark>
34
  <bookmark id="14">
35
  <name/>
36
- <line>1695</line>
37
  <key/>
38
  </bookmark>
39
  <bookmark id="12">
40
  <name/>
41
- <line>2149</line>
42
  <key/>
43
  </bookmark>
44
  <bookmark id="9">
45
  <name/>
46
- <line>2154</line>
47
  <key/>
48
  </bookmark>
49
  <bookmark id="5">
50
  <name/>
51
- <line>2196</line>
52
  <key/>
53
  </bookmark>
54
  <bookmark id="18">
55
  <name/>
56
- <line>2206</line>
57
  <key/>
58
  </bookmark>
59
  <bookmark id="4">
60
  <name/>
61
- <line>2357</line>
62
  <key/>
63
  </bookmark>
64
  <bookmark id="17">
65
  <name/>
66
- <line>2390</line>
67
  <key/>
68
  </bookmark>
69
  <bookmark id="13">
70
  <name/>
71
- <line>2572</line>
72
  <key/>
73
  </bookmark>
74
  <bookmark id="3">
75
  <name/>
76
- <line>2617</line>
77
  <key/>
78
  </bookmark>
79
  </file>
1
  <?xml version="1.0" encoding="UTF-8"?>
2
  <project-private xmlns="http://www.netbeans.org/ns/project-private/1">
3
+ <editor-bookmarks xmlns="http://www.netbeans.org/ns/editor-bookmarks/2" lastBookmarkId="21">
4
  <file>
5
  <url>assets/main.js</url>
6
  <bookmark id="19">
13
  <url>orbisius-child-theme-creator.php</url>
14
  <bookmark id="20">
15
  <name/>
16
+ <line>98</line>
17
+ <key/>
18
+ </bookmark>
19
+ <bookmark id="21">
20
+ <name/>
21
+ <line>689</line>
22
  <key/>
23
  </bookmark>
24
  <bookmark id="15">
25
  <name/>
26
+ <line>1432</line>
27
  <key/>
28
  </bookmark>
29
  <bookmark id="16">
30
  <name/>
31
+ <line>1573</line>
32
  <key/>
33
  </bookmark>
34
  <bookmark id="6">
35
  <name/>
36
+ <line>1647</line>
37
  <key/>
38
  </bookmark>
39
  <bookmark id="14">
40
  <name/>
41
+ <line>1725</line>
42
  <key/>
43
  </bookmark>
44
  <bookmark id="12">
45
  <name/>
46
+ <line>2182</line>
47
  <key/>
48
  </bookmark>
49
  <bookmark id="9">
50
  <name/>
51
+ <line>2187</line>
52
  <key/>
53
  </bookmark>
54
  <bookmark id="5">
55
  <name/>
56
+ <line>2229</line>
57
  <key/>
58
  </bookmark>
59
  <bookmark id="18">
60
  <name/>
61
+ <line>2239</line>
62
  <key/>
63
  </bookmark>
64
  <bookmark id="4">
65
  <name/>
66
+ <line>2344</line>
67
  <key/>
68
  </bookmark>
69
  <bookmark id="17">
70
  <name/>
71
+ <line>2377</line>
72
  <key/>
73
  </bookmark>
74
  <bookmark id="13">
75
  <name/>
76
+ <line>2559</line>
77
  <key/>
78
  </bookmark>
79
  <bookmark id="3">
80
  <name/>
81
+ <line>2604</line>
82
  <key/>
83
  </bookmark>
84
  </file>
orbisius-child-theme-creator.php CHANGED
@@ -3,7 +3,7 @@
3
  Plugin Name: Orbisius Child Theme Creator
4
  Plugin URI: http://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.3.9
7
  Author: Svetoslav Marinov (Slavi)
8
  Author URI: http://orbisius.com
9
  */
@@ -25,6 +25,8 @@
25
  Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
26
  */
27
 
 
 
28
  // Set up plugin
29
  add_action('admin_init', 'orbisius_child_theme_creator_admin_init');
30
  add_action('admin_init', 'orbisius_child_theme_creator_register_settings');
@@ -43,6 +45,8 @@ add_action( 'wp_ajax_nopriv_orbisius_ctc_theme_editor_ajax', 'orbisius_ctc_theme
43
 
44
  register_activation_hook( __FILE__, 'orbisius_child_theme_creator_on_activate' );
45
 
 
 
46
  /**
47
  * Adds admin bar items for easy access to the theme creator and editor
48
  */
@@ -277,6 +281,8 @@ function orbisius_child_theme_creator_admin_enqueue_scripts($current_page = '')
277
  wp_register_script( 'orbisius_child_theme_creator', plugins_url("/assets/main{$suffix}.js", __FILE__), array('jquery', ),
278
  filemtime( plugin_dir_path( __FILE__ ) . "/assets/main{$suffix}.js" ), true);
279
  wp_enqueue_script( 'orbisius_child_theme_creator' );
 
 
280
  }
281
 
282
  /**
@@ -2308,7 +2314,7 @@ function orbisius_ctc_theme_editor() {
2308
 
2309
  <?php do_action('orbisius_child_theme_creator_editors_ext_action_left_start', array( 'place' => 'left' ) ); ?>
2310
  <?php do_action('orbisius_child_theme_creator_editors_ext_action_left_end', array( 'place' => 'left' ) ); ?>
2311
-
2312
  <div style="border:1px solid #ccc;margin:10px 0;padding:3px 5px;">
2313
  <h3>Pro Addon
2314
  <?php if ( ! orbisius_child_theme_creator_is_pro_installed() ) : ?>
@@ -2802,3 +2808,4 @@ function orbisius_ctc_theme_editor_manage_file( $cmd_id = 1 ) {
2802
 
2803
  return $buff;
2804
  }
 
3
  Plugin Name: Orbisius Child Theme Creator
4
  Plugin URI: http://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.4.0
7
  Author: Svetoslav Marinov (Slavi)
8
  Author URI: http://orbisius.com
9
  */
25
  Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
26
  */
27
 
28
+ define( 'ORBISIUS_CHILD_THEME_CREATOR_MAIN_PLUGIN_FILE', __FILE__ );
29
+
30
  // Set up plugin
31
  add_action('admin_init', 'orbisius_child_theme_creator_admin_init');
32
  add_action('admin_init', 'orbisius_child_theme_creator_register_settings');
45
 
46
  register_activation_hook( __FILE__, 'orbisius_child_theme_creator_on_activate' );
47
 
48
+ require_once( __DIR__ . '/addons/cloud_lib/init.php' );
49
+
50
  /**
51
  * Adds admin bar items for easy access to the theme creator and editor
52
  */
281
  wp_register_script( 'orbisius_child_theme_creator', plugins_url("/assets/main{$suffix}.js", __FILE__), array('jquery', ),
282
  filemtime( plugin_dir_path( __FILE__ ) . "/assets/main{$suffix}.js" ), true);
283
  wp_enqueue_script( 'orbisius_child_theme_creator' );
284
+
285
+ do_action( 'orbisius_child_theme_creator_admin_enqueue_scripts', [] );
286
  }
287
 
288
  /**
2314
 
2315
  <?php do_action('orbisius_child_theme_creator_editors_ext_action_left_start', array( 'place' => 'left' ) ); ?>
2316
  <?php do_action('orbisius_child_theme_creator_editors_ext_action_left_end', array( 'place' => 'left' ) ); ?>
2317
+
2318
  <div style="border:1px solid #ccc;margin:10px 0;padding:3px 5px;">
2319
  <h3>Pro Addon
2320
  <?php if ( ! orbisius_child_theme_creator_is_pro_installed() ) : ?>
2808
 
2809
  return $buff;
2810
  }
2811
+
readme.txt CHANGED
@@ -160,11 +160,14 @@ Let's talk.
160
 
161
  Todo
162
  - Add buttons in the WP's Theme listing page near Customize
163
- - Orbisius Create
164
- - Orbisius Edit
165
 
166
  == Changelog ==
167
 
 
 
 
168
  = 1.3.9 =
169
  * Minor fixes and improvements to the UI
170
  * Tested with WP 4.7.4
160
 
161
  Todo
162
  - Add buttons in the WP's Theme listing page near Customize
163
+ - Orbisius Create
164
+ - Orbisius Edit
165
 
166
  == Changelog ==
167
 
168
+ = 1.4.0 =
169
+ * Tested with WP 4.7.5
170
+
171
  = 1.3.9 =
172
  * Minor fixes and improvements to the UI
173
  * Tested with WP 4.7.4