Changeset 1727838
- Timestamp:
- 09/11/2017 04:14:52 AM (9 years ago)
- Location:
- child-themify
- Files:
-
- 18 added
- 5 deleted
- 1 edited
-
tags/2.0.0-beta1 (added)
-
tags/2.0.0-beta1/assets (added)
-
tags/2.0.0-beta1/assets/css (added)
-
tags/2.0.0-beta1/assets/css/child-themify.css (added)
-
tags/2.0.0-beta1/assets/js (added)
-
tags/2.0.0-beta1/assets/js/child-themify.js (added)
-
tags/2.0.0-beta1/child-themify.php (added)
-
tags/2.0.0-beta1/includes (added)
-
tags/2.0.0-beta1/includes/admin.php (added)
-
tags/2.0.0-beta1/includes/api.php (added)
-
tags/2.0.0-beta1/includes/util.php (added)
-
tags/2.0.0-beta1/readme.txt (added)
-
trunk/assets/css (added)
-
trunk/assets/css/child-themify.css (added)
-
trunk/assets/js/child-themify.js (added)
-
trunk/assets/js/legacy.js (deleted)
-
trunk/assets/js/legacy.min.js (deleted)
-
trunk/child-themify.php (modified) (1 diff)
-
trunk/includes/admin.php (added)
-
trunk/includes/api.php (added)
-
trunk/includes/legacy.php (deleted)
-
trunk/includes/plugin.php (deleted)
-
trunk/includes/util.php (added)
-
trunk/languages (deleted)
Legend:
- Unmodified
- Added
- Removed
-
child-themify/trunk/child-themify.php
r1514375 r1727838 2 2 /* 3 3 * Plugin Name: Child Themify 4 * Description: Create child themes at the click of a button .5 * Version: 1.2.04 * Description: Create child themes at the click of a button 5 * Version: 2.0.0-beta1 6 6 * Plugin URI: https://github.com/johnpbloch/child-themify 7 7 * Author: John P. Bloch 8 8 * License: GPL-2.0+ 9 9 * Text Domain: child-themify 10 * Domain Path: /languages10 * Network: true 11 11 */ 12 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.2.0' ); 16 13 define( 'CTF_PATH', __FILE__ ); 14 define( 'CTF_URL', plugin_dir_url( CTF_PATH ) ); 15 define( 'CTF_VERSION', '2.0.0-beta1' ); 17 16 18 17 function ctf_plugins_loaded() { 19 if ( version_compare( $GLOBALS['wp_version'], '3.8', '>=' ) ) { 20 global $child_themify; 21 require_once dirname( CTF_PATH ) . '/includes/plugin.php'; 22 $child_themify = new Child_Themify(); 23 add_action( 'init', array( $child_themify, 'init' ) ); 24 } else { 25 require_once dirname( CTF_PATH ) . '/includes/legacy.php'; 26 add_action( 'init', array( 'CTF_Babymaker', 'init' ) ); 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(); 22 if ( is_admin() ) { 23 require_once $inc . 'admin.php'; 24 child_themify_admin_init(); 27 25 } 28 26 }
Note: See TracChangeset
for help on using the changeset viewer.