Child Themify - Version 2.0.1

Version Description

Download this release

Release Info

Developer JohnPBloch
Plugin Icon wp plugin Child Themify
Version 2.0.1
Comparing to
See all releases

Code changes from version 2.0.0 to 2.0.1

Files changed (3) hide show
  1. child-themify.php +5 -5
  2. includes/util.php +2 -2
  3. readme.txt +1 -1
child-themify.php CHANGED
@@ -2,7 +2,7 @@
2
  /*
3
  * Plugin Name: Child Themify
4
  * Description: Create child themes at the click of a button
5
- * Version: 2.0.0
6
  * Plugin URI: https://github.com/johnpbloch/child-themify
7
  * Author: John P. Bloch
8
  * License: GPL-2.0+
@@ -10,12 +10,12 @@
10
  * Network: true
11
  */
12
 
13
- define( 'CTF_PATH', __FILE__ );
14
- define( 'CTF_URL', plugin_dir_url( CTF_PATH ) );
15
- define( 'CTF_VERSION', '2.0.0' );
16
 
17
  function ctf_plugins_loaded() {
18
- $inc = plugin_dir_path( CTF_PATH ) . '/includes/';
19
  require_once $inc . 'util.php';
20
  require_once $inc . 'api.php';
21
  child_themify_api_init();
2
  /*
3
  * Plugin Name: Child Themify
4
  * Description: Create child themes at the click of a button
5
+ * Version: 2.0.1
6
  * Plugin URI: https://github.com/johnpbloch/child-themify
7
  * Author: John P. Bloch
8
  * License: GPL-2.0+
10
  * Network: true
11
  */
12
 
13
+ define( 'JPB_CTF_PATH', __FILE__ );
14
+ define( 'JPB_CTF_URL', plugin_dir_url( JPB_CTF_PATH ) );
15
+ define( 'JPB_CTF_VERSION', '2.0.1' );
16
 
17
  function ctf_plugins_loaded() {
18
+ $inc = plugin_dir_path( JPB_CTF_PATH ) . '/includes/';
19
  require_once $inc . 'util.php';
20
  require_once $inc . 'api.php';
21
  child_themify_api_init();
includes/util.php CHANGED
@@ -11,7 +11,7 @@
11
  function child_themify_asset( $type, $file ) {
12
  return esc_url_raw( sprintf(
13
  '%sassets/%s/%s',
14
- CTF_URL,
15
  ( 'js' === $type ) ? 'js' : 'css',
16
  $file
17
  ) );
@@ -47,7 +47,7 @@ function child_themify_css( $file = 'child-themify.css' ) {
47
  * @return int|string
48
  */
49
  function child_themify_asset_version() {
50
- return '{{VERSION}}' === CTF_VERSION ? time() : CTF_VERSION;
51
  }
52
 
53
  /**
11
  function child_themify_asset( $type, $file ) {
12
  return esc_url_raw( sprintf(
13
  '%sassets/%s/%s',
14
+ JPB_CTF_URL,
15
  ( 'js' === $type ) ? 'js' : 'css',
16
  $file
17
  ) );
47
  * @return int|string
48
  */
49
  function child_themify_asset_version() {
50
+ return '{{VERSION}}' === JPB_CTF_VERSION ? time() : JPB_CTF_VERSION;
51
  }
52
 
53
  /**
readme.txt CHANGED
@@ -3,7 +3,7 @@ Contributors: JohnPBloch
3
  Tags: themes, child, theme
4
  Requires at least: 4.7.0
5
  Tested up to: 4.8.9
6
- Stable tag: 2.0.0
7
  License: GPL-2.0+
8
  License URI: http://www.gnu.org/licenses/gpl-2.0.html
9
 
3
  Tags: themes, child, theme
4
  Requires at least: 4.7.0
5
  Tested up to: 4.8.9
6
+ Stable tag: 2.0.1
7
  License: GPL-2.0+
8
  License URI: http://www.gnu.org/licenses/gpl-2.0.html
9