Child Theme Creator by Orbisius - Version 1.0.8

Version Description

  • Tested with WP 3.7.1
  • Added New File and Delete operations for Theme Editor #1 (left)
  • Respects the DISALLOW_FILE_EDIT constant, which if set to true will disable the Theme editor
  • Added a quick fix to use file modification time for the css and js assets.
Download this release

Release Info

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

Code changes from version 1.0.7 to 1.0.8

Files changed (2) hide show
  1. orbisius-child-theme-creator.php +5 -3
  2. readme.txt +2 -1
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.0.7
7
  Author: Svetoslav Marinov (Slavi)
8
  Author URI: http://orbisius.com
9
  */
@@ -68,11 +68,13 @@ function orbisius_child_theme_creator_admin_init() {
68
  $dev = empty($_SERVER['DEV_ENV']) ? 0 : 1;
69
  $suffix = $dev ? '' : '.min';
70
 
71
- wp_register_style('orbisius_child_theme_creator', plugins_url("/assets/main{$suffix}.css", __FILE__), false);
 
72
  wp_enqueue_style('orbisius_child_theme_creator');
73
 
74
  wp_enqueue_script( 'jquery' );
75
- wp_register_script( 'orbisius_child_theme_creator', plugins_url("/assets/main{$suffix}.js", __FILE__), array('jquery', ), '1.0', true);
 
76
  wp_enqueue_script( 'orbisius_child_theme_creator' );
77
  }
78
 
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.0.8
7
  Author: Svetoslav Marinov (Slavi)
8
  Author URI: http://orbisius.com
9
  */
68
  $dev = empty($_SERVER['DEV_ENV']) ? 0 : 1;
69
  $suffix = $dev ? '' : '.min';
70
 
71
+ wp_register_style('orbisius_child_theme_creator', plugins_url("/assets/main{$suffix}.css", __FILE__), false,
72
+ filemtime( plugin_dir_path( __FILE__ ) . "/assets/main{$suffix}.css" ) );
73
  wp_enqueue_style('orbisius_child_theme_creator');
74
 
75
  wp_enqueue_script( 'jquery' );
76
+ wp_register_script( 'orbisius_child_theme_creator', plugins_url("/assets/main{$suffix}.js", __FILE__), array('jquery', ),
77
+ filemtime( plugin_dir_path( __FILE__ ) . "/assets/main{$suffix}.js" ), true);
78
  wp_enqueue_script( 'orbisius_child_theme_creator' );
79
  }
80
 
readme.txt CHANGED
@@ -4,7 +4,7 @@ Donate link: https://www.paypal.com/cgi-bin/webscr?cmd=_s-xclick&hosted_button_i
4
  Tags: child theme, childtheme,childthemes,child themes,CSS, styling,resposive design,design,custom themeing, shared hosting, theme,themes,wp,wordpress,orbisius,theme creator
5
  Requires at least: 3.0
6
  Tested up to: 3.7.1
7
- Stable tag: 1.0.7
8
  License: GPLv2 or later
9
  Network:true
10
 
@@ -123,6 +123,7 @@ Go to http://club.orbisius.com and post suggestions in our forum for new feature
123
  * Tested with WP 3.7.1
124
  * Added New File and Delete operations for Theme Editor #1 (left)
125
  * Respects the DISALLOW_FILE_EDIT constant, which if set to true will disable the Theme editor
 
126
 
127
  = 1.0.7 =
128
  * Added: Theme Editor
4
  Tags: child theme, childtheme,childthemes,child themes,CSS, styling,resposive design,design,custom themeing, shared hosting, theme,themes,wp,wordpress,orbisius,theme creator
5
  Requires at least: 3.0
6
  Tested up to: 3.7.1
7
+ Stable tag: 1.0.8
8
  License: GPLv2 or later
9
  Network:true
10
 
123
  * Tested with WP 3.7.1
124
  * Added New File and Delete operations for Theme Editor #1 (left)
125
  * Respects the DISALLOW_FILE_EDIT constant, which if set to true will disable the Theme editor
126
+ * Added a quick fix to use file modification time for the css and js assets.
127
 
128
  = 1.0.7 =
129
  * Added: Theme Editor