Child Theme Creator by Orbisius - Version 1.4.2

Version Description

  • Corrected links to the cloud library api.
  • Reduced the Promo messages in the Editor.
Download this release

Release Info

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

Code changes from version 1.4.1 to 1.4.2

addons/cloud_lib/lib/snippet_lib.php CHANGED
@@ -13,14 +13,14 @@ class orbisius_ctc_cloud_lib {
13
  * @var string Url of remote API. The plugin will dynamically pick one
14
  */
15
  public $api_url = '';
16
- public $live_api_url = 'https://orbisius.com/';
17
  // public $dev_api_url = 'http://orb-ctc.qsandbox.com/';
18
  public $dev_api_url = 'http://orbclub.com.clients.com/';
19
  public $staging_api_url = 'http://orb-ctc.qsandbox.com/';
20
  private $tabs = [];
21
 
22
  public function __construct() {
23
- if ( 0&&!empty( $_SERVER['DEV_ENV'])) {
24
  $this->api_url = $this->dev_api_url;
25
  } elseif ( !empty($_SERVER['HTTP_HOST'])
26
  && 1) { // (stripos($_SERVER['HTTP_HOST'], '.clients.com') !== false)
@@ -31,7 +31,7 @@ class orbisius_ctc_cloud_lib {
31
  } else {
32
  $this->api_url = $this->live_api_url;
33
  }
34
-
35
  // We need to initialize the tabs here because we're using __ method
36
  // for future internationalization.
37
  $tabs = [
@@ -175,6 +175,7 @@ class orbisius_ctc_cloud_lib {
175
  'timeout' => 20,
176
  'redirection' => 5,
177
  'blocking' => true,
 
178
  'body' => $req_params,
179
  ];
180
 
@@ -711,7 +712,7 @@ class orbisius_ctc_cloud_lib {
711
  Email: <?php echo $email; ?>
712
  </div>
713
 
714
- <?php if (!empty($api_key)) : ?>
715
  <div class="api_key_wrapper">
716
  Orbisius API Key: <?php echo $api_key; ?>
717
  </div>
13
  * @var string Url of remote API. The plugin will dynamically pick one
14
  */
15
  public $api_url = '';
16
+ public $live_api_url = 'http://orbisius.com/cloud-lib/';
17
  // public $dev_api_url = 'http://orb-ctc.qsandbox.com/';
18
  public $dev_api_url = 'http://orbclub.com.clients.com/';
19
  public $staging_api_url = 'http://orb-ctc.qsandbox.com/';
20
  private $tabs = [];
21
 
22
  public function __construct() {
23
+ if ( !empty( $_SERVER['DEV_ENV'])) {
24
  $this->api_url = $this->dev_api_url;
25
  } elseif ( !empty($_SERVER['HTTP_HOST'])
26
  && 1) { // (stripos($_SERVER['HTTP_HOST'], '.clients.com') !== false)
31
  } else {
32
  $this->api_url = $this->live_api_url;
33
  }
34
+ //$this->api_url = $this->live_api_url; // on dev
35
  // We need to initialize the tabs here because we're using __ method
36
  // for future internationalization.
37
  $tabs = [
175
  'timeout' => 20,
176
  'redirection' => 5,
177
  'blocking' => true,
178
+ //'sslverify' => false,
179
  'body' => $req_params,
180
  ];
181
 
712
  Email: <?php echo $email; ?>
713
  </div>
714
 
715
+ <?php if (0&&!empty($api_key)) : ?>
716
  <div class="api_key_wrapper">
717
  Orbisius API Key: <?php echo $api_key; ?>
718
  </div>
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.4.1
7
  Author: Svetoslav Marinov (Slavi)
8
  Author URI: http://orbisius.com
9
  */
@@ -2383,12 +2383,10 @@ function orbisius_ctc_theme_editor() {
2383
 
2384
  <div style="border:1px solid #ccc;margin:10px 0;padding:3px 5px;">
2385
  <h3>Pro Addon
2386
- <?php if ( ! orbisius_child_theme_creator_is_pro_installed() ) : ?>
2387
  <ul>
2388
  <li>Syntax Highlighting</li>
2389
  <li>Better dropdown for selecting themes and files</li>
2390
- <li>Soon: snippet library stored in the cloud</li>
2391
- <li></li>
2392
  </ul>
2393
  <?php endif; ?>
2394
  </h3>
@@ -2499,8 +2497,7 @@ function orbisius_ctc_theme_editor() {
2499
 
2500
  <?php do_action('orbisius_child_theme_creator_editors_ext_action_footer', array() ); ?>
2501
 
2502
- <br/>
2503
- <?php orbisius_child_theme_creator_util::output_orb_widget(); ?>
2504
  <?php
2505
  }
2506
 
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.2
7
  Author: Svetoslav Marinov (Slavi)
8
  Author URI: http://orbisius.com
9
  */
2383
 
2384
  <div style="border:1px solid #ccc;margin:10px 0;padding:3px 5px;">
2385
  <h3>Pro Addon
2386
+ <?php if ( 0&&! orbisius_child_theme_creator_is_pro_installed() ) : ?>
2387
  <ul>
2388
  <li>Syntax Highlighting</li>
2389
  <li>Better dropdown for selecting themes and files</li>
 
 
2390
  </ul>
2391
  <?php endif; ?>
2392
  </h3>
2497
 
2498
  <?php do_action('orbisius_child_theme_creator_editors_ext_action_footer', array() ); ?>
2499
 
2500
+ <?php //orbisius_child_theme_creator_util::output_orb_widget(); ?>
 
2501
  <?php
2502
  }
2503
 
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.8
7
- Stable tag: 1.4.1
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.
@@ -166,6 +166,10 @@ Todo
166
 
167
  == Changelog ==
168
 
 
 
 
 
169
  = 1.4.1 =
170
  * The previous version got released prematurely. So sorry!
171
 
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.8
7
+ Stable tag: 1.4.2
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.
166
 
167
  == Changelog ==
168
 
169
+ = 1.4.2 =
170
+ * Corrected links to the cloud library api.
171
+ * Reduced the Promo messages in the Editor.
172
+
173
  = 1.4.1 =
174
  * The previous version got released prematurely. So sorry!
175