Child Themify - Version 1.0.4

Version Description

  • Released: 2014-09-15
  • Added support for WordPress 4.0
Download this release

Release Info

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

Code changes from version 1.0.3 to 1.0.4

assets/js/legacy.js CHANGED
@@ -1,4 +1,4 @@
1
- /*! Child Themify - v1.0.3
2
  * Copyright (c) 2014 John P. Bloch */
3
  (function (window, l10n) {
4
  if (typeof l10n.link !== 'string' || l10n.link.length < 1) {
1
+ /*! Child Themify - v1.0.4
2
  * Copyright (c) 2014 John P. Bloch */
3
  (function (window, l10n) {
4
  if (typeof l10n.link !== 'string' || l10n.link.length < 1) {
assets/js/legacy.min.js CHANGED
@@ -1,3 +1,3 @@
1
- /*! Child Themify - v1.0.3
2
  * Copyright (c) 2014 John P. Bloch */
3
  !function(a,b){if(!("string"!=typeof b.link||b.link.length<1)){var c,d,e,f,g=a.document,h=g.getElementById("customize-current-theme-link");if(h){h=h.parentNode;for(c in h.childNodes)if(h.childNodes.hasOwnProperty(c)&&void 0!==h.childNodes[c].nodeName&&"UL"===h.childNodes[c].nodeName.toUpperCase()){d=h.childNodes[c];break}d&&(f=g.createElement("a"),f.appendChild(g.createTextNode(b.createAChildTheme)),f.href=b.link,e=g.createElement("li"),e.appendChild(f),d.appendChild(e))}}}(window,window.childThemify);
1
+ /*! Child Themify - v1.0.4
2
  * Copyright (c) 2014 John P. Bloch */
3
  !function(a,b){if(!("string"!=typeof b.link||b.link.length<1)){var c,d,e,f,g=a.document,h=g.getElementById("customize-current-theme-link");if(h){h=h.parentNode;for(c in h.childNodes)if(h.childNodes.hasOwnProperty(c)&&void 0!==h.childNodes[c].nodeName&&"UL"===h.childNodes[c].nodeName.toUpperCase()){d=h.childNodes[c];break}d&&(f=g.createElement("a"),f.appendChild(g.createTextNode(b.createAChildTheme)),f.href=b.link,e=g.createElement("li"),e.appendChild(f),d.appendChild(e))}}}(window,window.childThemify);
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: 1.0.3
6
  * Plugin URI: https://github.com/johnpbloch/child-themify
7
  * Author: John P. Bloch
8
  * License: GPL-2.0+
@@ -10,7 +10,7 @@
10
 
11
  define( 'CTF_PATH', WP_PLUGIN_DIR . '/' . basename( dirname( __FILE__ ) ) . '/' . basename( __FILE__ ) );
12
  define( 'CTF_URL', WP_PLUGIN_URL . '/' . basename( dirname( __FILE__ ) ) . '/' . basename( __FILE__ ) );
13
- define( 'CTF_VERSION', '1.0.3' );
14
 
15
 
16
  function ctf_plugins_loaded() {
2
  /*
3
  * Plugin Name: Child Themify
4
  * Description: Create child themes at the click of a button.
5
+ * Version: 1.0.4
6
  * Plugin URI: https://github.com/johnpbloch/child-themify
7
  * Author: John P. Bloch
8
  * License: GPL-2.0+
10
 
11
  define( 'CTF_PATH', WP_PLUGIN_DIR . '/' . basename( dirname( __FILE__ ) ) . '/' . basename( __FILE__ ) );
12
  define( 'CTF_URL', WP_PLUGIN_URL . '/' . basename( dirname( __FILE__ ) ) . '/' . basename( __FILE__ ) );
13
+ define( 'CTF_VERSION', '1.0.4' );
14
 
15
 
16
  function ctf_plugins_loaded() {
includes/plugin.php CHANGED
@@ -215,7 +215,7 @@ EOF;
215
  load_plugin_textdomain( 'child-themify', false, basename( dirname( __FILE__ ) ) . '/languages' );
216
  add_filter( 'theme_action_links', array( $this, 'addActionLink' ), 10, 2 );
217
  add_action( 'load-themes.php', array( $this, 'loadThemesPage' ) );
218
- if ( version_compare( $GLOBALS['wp_version'], '3.9.9', '<' ) ) {
219
  add_action( 'admin_footer-themes.php', array( $this, 'override_tmpl_theme_single' ) );
220
  }
221
  add_action( 'tmpl-theme-single_actions', array( $this, 'tmpl_theme_single_actions' ) );
215
  load_plugin_textdomain( 'child-themify', false, basename( dirname( __FILE__ ) ) . '/languages' );
216
  add_filter( 'theme_action_links', array( $this, 'addActionLink' ), 10, 2 );
217
  add_action( 'load-themes.php', array( $this, 'loadThemesPage' ) );
218
+ if ( version_compare( $GLOBALS['wp_version'], '4.1.9', '<' ) ) {
219
  add_action( 'admin_footer-themes.php', array( $this, 'override_tmpl_theme_single' ) );
220
  }
221
  add_action( 'tmpl-theme-single_actions', array( $this, 'tmpl_theme_single_actions' ) );
languages/child-themify.pot CHANGED
@@ -2,9 +2,9 @@
2
  # This file is distributed under the same license as the Child Themify package.
3
  msgid ""
4
  msgstr ""
5
- "Project-Id-Version: Child Themify 1.0.3\n"
6
- "Report-Msgid-Bugs-To: http://wordpress.org/support/plugin/child-themify\n"
7
- "POT-Creation-Date: 2014-04-15 15:22:30+00:00\n"
8
  "MIME-Version: 1.0\n"
9
  "Content-Type: text/plain; charset=UTF-8\n"
10
  "Content-Transfer-Encoding: 8bit\n"
2
  # This file is distributed under the same license as the Child Themify package.
3
  msgid ""
4
  msgstr ""
5
+ "Project-Id-Version: Child Themify 1.0.4\n"
6
+ "Report-Msgid-Bugs-To: http://wordpress.org/tag/child-themify\n"
7
+ "POT-Creation-Date: 2014-12-19 20:17:31+00:00\n"
8
  "MIME-Version: 1.0\n"
9
  "Content-Type: text/plain; charset=UTF-8\n"
10
  "Content-Transfer-Encoding: 8bit\n"
readme.txt CHANGED
@@ -2,8 +2,8 @@
2
  Contributors: JohnPBloch
3
  Tags: themes, child, theme
4
  Requires at least: 3.4.2
5
- Tested up to: 3.9
6
- Stable tag: 1.0.3
7
  License: GPL-2.0+
8
  License URI: http://www.gnu.org/licenses/gpl-2.0.html
9
 
@@ -32,6 +32,10 @@ None yet.
32
 
33
  == Changelog ==
34
 
 
 
 
 
35
  = 1.0.3 =
36
  * Released: 2014-04-15
37
  * Standardized theme action links shim. See https://github.com/johnpbloch/child-themify/issues/2 for more information
@@ -51,5 +55,5 @@ None yet.
51
 
52
  == Upgrade Notice ==
53
 
54
- This version cleans up 3.8+ compatibility and ensures 3.9 compatibility
55
 
2
  Contributors: JohnPBloch
3
  Tags: themes, child, theme
4
  Requires at least: 3.4.2
5
+ Tested up to: 4.1.9
6
+ Stable tag: 1.0.4
7
  License: GPL-2.0+
8
  License URI: http://www.gnu.org/licenses/gpl-2.0.html
9
 
32
 
33
  == Changelog ==
34
 
35
+ = 1.0.4 =
36
+ * Released: 2014-09-15
37
+ * Added support for WordPress 4.0
38
+
39
  = 1.0.3 =
40
  * Released: 2014-04-15
41
  * Standardized theme action links shim. See https://github.com/johnpbloch/child-themify/issues/2 for more information
55
 
56
  == Upgrade Notice ==
57
 
58
+ This version fixes 4.0 compatibility
59