Child Themify - Version 1.1.2

Version Description

  • Released: 2015-10-13
  • Fixed basename location when loading the textdomain
  • Added textdomain and domainpath headers to plugin file
Download this release

Release Info

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

Code changes from version 1.1.1 to 1.1.2

assets/js/legacy.js CHANGED
@@ -1,5 +1,5 @@
1
- /*! Child Themify - v1.1.1
2
- * Copyright (c) 2015 John P. Bloch */
3
  (function (window, l10n) {
4
  if (typeof l10n.link !== 'string' || l10n.link.length < 1) {
5
  return;
1
+ /*! Child Themify - v1.1.2
2
+ * Copyright (c) 2016 John P. Bloch */
3
  (function (window, l10n) {
4
  if (typeof l10n.link !== 'string' || l10n.link.length < 1) {
5
  return;
assets/js/legacy.min.js CHANGED
@@ -1,3 +1,3 @@
1
- /*! Child Themify - v1.1.1
2
- * Copyright (c) 2015 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.1.2
2
+ * Copyright (c) 2016 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,15 +2,17 @@
2
  /*
3
  * Plugin Name: Child Themify
4
  * Description: Create child themes at the click of a button.
5
- * Version: 1.1.1
6
  * Plugin URI: https://github.com/johnpbloch/child-themify
7
  * Author: John P. Bloch
8
  * License: GPL-2.0+
 
 
9
  */
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.1.1' );
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.1.2
6
  * Plugin URI: https://github.com/johnpbloch/child-themify
7
  * Author: John P. Bloch
8
  * License: GPL-2.0+
9
+ * Text Domain: child-themify
10
+ * Domain Path: /languages
11
  */
12
 
13
  define( 'CTF_PATH', WP_PLUGIN_DIR . '/' . basename( dirname( __FILE__ ) ) . '/' . basename( __FILE__ ) );
14
  define( 'CTF_URL', WP_PLUGIN_URL . '/' . basename( dirname( __FILE__ ) ) . '/' . basename( __FILE__ ) );
15
+ define( 'CTF_VERSION', '1.1.2' );
16
 
17
 
18
  function ctf_plugins_loaded() {
includes/plugin.php CHANGED
@@ -223,7 +223,7 @@ EOF;
223
  }
224
 
225
  public function init() {
226
- load_plugin_textdomain( 'child-themify', false, basename( dirname( __FILE__ ) ) . '/languages' );
227
  add_filter( 'theme_action_links', array( $this, 'addActionLink' ), 10, 2 );
228
  add_action( 'load-themes.php', array( $this, 'loadThemesPage' ) );
229
  add_action( 'admin_footer-themes.php', array( $this, 'override_tmpl_theme_single' ) );
223
  }
224
 
225
  public function init() {
226
+ load_plugin_textdomain( 'child-themify', false, basename( dirname( dirname( __FILE__ ) ) ) . '/languages' );
227
  add_filter( 'theme_action_links', array( $this, 'addActionLink' ), 10, 2 );
228
  add_action( 'load-themes.php', array( $this, 'loadThemesPage' ) );
229
  add_action( 'admin_footer-themes.php', array( $this, 'override_tmpl_theme_single' ) );
languages/child-themify.pot CHANGED
@@ -1,14 +1,14 @@
1
- # Copyright (C) 2015 Child Themify
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.1.1\n"
6
- "Report-Msgid-Bugs-To: http://wordpress.org/support/plugin/child-themify\n"
7
- "POT-Creation-Date: 2015-01-13 13:36:37+00:00\n"
8
  "MIME-Version: 1.0\n"
9
  "Content-Type: text/plain; charset=UTF-8\n"
10
  "Content-Transfer-Encoding: 8bit\n"
11
- "PO-Revision-Date: 2015-MO-DA HO:MI+ZONE\n"
12
  "Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
13
  "Language-Team: LANGUAGE <LL@li.org>\n"
14
 
1
+ # Copyright (C) 2016 Child Themify
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.1.2\n"
6
+ "Report-Msgid-Bugs-To: https://wordpress.org/support/plugin/child-themify\n"
7
+ "POT-Creation-Date: 2016-08-02 14:14:03+00:00\n"
8
  "MIME-Version: 1.0\n"
9
  "Content-Type: text/plain; charset=UTF-8\n"
10
  "Content-Transfer-Encoding: 8bit\n"
11
+ "PO-Revision-Date: 2016-MO-DA HO:MI+ZONE\n"
12
  "Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
13
  "Language-Team: LANGUAGE <LL@li.org>\n"
14
 
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: 4.3.9
6
- Stable tag: 1.1.1
7
  License: GPL-2.0+
8
  License URI: http://www.gnu.org/licenses/gpl-2.0.html
9
 
@@ -34,6 +34,11 @@ I'd really prefer that you use [Github's issue tracker](https://github.com/johnp
34
 
35
  == Changelog ==
36
 
 
 
 
 
 
37
  = 1.1.1 =
38
  * Released: 2015-01-13
39
  * Added French translation from FR_lucien
@@ -66,5 +71,5 @@ I'd really prefer that you use [Github's issue tracker](https://github.com/johnp
66
 
67
  == Upgrade Notice ==
68
 
69
- Added French translation
70
 
2
  Contributors: JohnPBloch
3
  Tags: themes, child, theme
4
  Requires at least: 3.4.2
5
+ Tested up to: 4.6.9
6
+ Stable tag: 1.1.2
7
  License: GPL-2.0+
8
  License URI: http://www.gnu.org/licenses/gpl-2.0.html
9
 
34
 
35
  == Changelog ==
36
 
37
+ = 1.1.2 =
38
+ * Released: 2015-10-13
39
+ * Fixed basename location when loading the textdomain
40
+ * Added textdomain and domainpath headers to plugin file
41
+
42
  = 1.1.1 =
43
  * Released: 2015-01-13
44
  * Added French translation from FR_lucien
71
 
72
  == Upgrade Notice ==
73
 
74
+ I18n improvements
75