OptionTree - Version 2.0.7

Version Description

  • Fixed the load order to be compatible with 1.x version themes that think the get_option_tree() function doesn't exist yet.
  • Tested and compatible with Cudazi themes, but the nag message is still visible.
Download this release

Release Info

Developer valendesigns
Plugin Icon wp plugin OptionTree
Version 2.0.7
Comparing to
See all releases

Code changes from version 2.0.6 to 2.0.7

Files changed (3) hide show
  1. includes/ot-meta-box-api.php +1 -1
  2. ot-loader.php +7 -7
  3. readme.txt +6 -2
includes/ot-meta-box-api.php CHANGED
@@ -1,4 +1,4 @@
1
- <?php if ( ! defined( 'TEMPLATEPATH') ) exit( 'No direct script access allowed' );
2
  /**
3
  * OptionTree Meta Box API
4
  *
1
+ <?php if ( ! defined( 'OT_VERSION' ) ) exit( 'No direct script access allowed' );
2
  /**
3
  * OptionTree Meta Box API
4
  *
ot-loader.php CHANGED
@@ -3,7 +3,7 @@
3
  * Plugin Name: OptionTree
4
  * Plugin URI: http://wp.envato.com
5
  * Description: Theme Options UI Builder for WordPress. A simple way to create & save Theme Options and Meta Boxes for free or premium themes.
6
- * Version: 2.0.6
7
  * Author: Derek Herman
8
  * Author URI: http://valendesigns.com
9
  * License: GPLv2
@@ -32,19 +32,19 @@ if ( ! class_exists( 'OT_Loader' ) ) {
32
  */
33
  public function __construct() {
34
  /* setup the constants */
35
- add_action( 'after_setup_theme', array( &$this, 'constants' ), 2 );
36
 
37
  /* load text domain */
38
- add_action( 'after_setup_theme', array( &$this, 'load_textdomain' ), 3 );
39
 
40
  /* include the required admin files */
41
- add_action( 'after_setup_theme', array( &$this, 'admin_includes' ), 4 );
42
 
43
  /* include the required files */
44
- add_action( 'after_setup_theme', array( &$this, 'includes' ), 5 );
45
 
46
  /* hook into WordPress */
47
- add_action( 'after_setup_theme', array( &$this, 'hooks' ), 6 );
48
  }
49
 
50
  /**
@@ -63,7 +63,7 @@ if ( ! class_exists( 'OT_Loader' ) ) {
63
  /**
64
  * Current Version number.
65
  */
66
- define( 'OT_VERSION', '2.0.6' );
67
 
68
  /**
69
  * For developers: Allow Unfiltered HTML in all the textareas.
3
  * Plugin Name: OptionTree
4
  * Plugin URI: http://wp.envato.com
5
  * Description: Theme Options UI Builder for WordPress. A simple way to create & save Theme Options and Meta Boxes for free or premium themes.
6
+ * Version: 2.0.7
7
  * Author: Derek Herman
8
  * Author URI: http://valendesigns.com
9
  * License: GPLv2
32
  */
33
  public function __construct() {
34
  /* setup the constants */
35
+ $this->constants();
36
 
37
  /* load text domain */
38
+ $this->load_textdomain();
39
 
40
  /* include the required admin files */
41
+ $this->admin_includes();
42
 
43
  /* include the required files */
44
+ $this->includes();
45
 
46
  /* hook into WordPress */
47
+ $this->hooks();
48
  }
49
 
50
  /**
63
  /**
64
  * Current Version number.
65
  */
66
+ define( 'OT_VERSION', '2.0.7' );
67
 
68
  /**
69
  * For developers: Allow Unfiltered HTML in all the textareas.
readme.txt CHANGED
@@ -4,7 +4,7 @@ Donate link: http://bit.ly/NuXI3T
4
  Tags: admin, theme options, meta boxes, options, admin interface, ajax
5
  Requires at least: 3.3
6
  Tested up to: 3.5
7
- Stable tag: 2.0.6
8
  License: GPLv2
9
 
10
  Theme Options UI Builder for WordPress. A simple way to create & save Theme Options and Meta Boxes for free or premium themes.
@@ -41,6 +41,10 @@ Yes. OptionTree requires PHP5 to work correctly (so does WP 3.2+).
41
 
42
  == Changelog ==
43
 
 
 
 
 
44
  = 2.0.6 =
45
  * Run the 'option_tree' array through validation when importing data and layouts.
46
  * Fix a bug where list items and sliders were not allowing the user to select the input field.
@@ -160,7 +164,7 @@ Yes. OptionTree requires PHP5 to work correctly (so does WP 3.2+).
160
 
161
  == Upgrade Notice ==
162
 
163
- = 2.0.6 =
164
  The plugin has undertaken a complete rebuild! If you are not the theme developer, I urge you to contact that person before you upgrade and ask them to test the themes compatibility.
165
 
166
  = 1.1.8.1 =
4
  Tags: admin, theme options, meta boxes, options, admin interface, ajax
5
  Requires at least: 3.3
6
  Tested up to: 3.5
7
+ Stable tag: 2.0.7
8
  License: GPLv2
9
 
10
  Theme Options UI Builder for WordPress. A simple way to create & save Theme Options and Meta Boxes for free or premium themes.
41
 
42
  == Changelog ==
43
 
44
+ = 2.0.7 =
45
+ * Fixed the load order to be compatible with 1.x version themes that think the get_option_tree() function doesn't exist yet.
46
+ * Tested and compatible with Cudazi themes, but the nag message is still visible.
47
+
48
  = 2.0.6 =
49
  * Run the 'option_tree' array through validation when importing data and layouts.
50
  * Fix a bug where list items and sliders were not allowing the user to select the input field.
164
 
165
  == Upgrade Notice ==
166
 
167
+ = 2.0.7 =
168
  The plugin has undertaken a complete rebuild! If you are not the theme developer, I urge you to contact that person before you upgrade and ask them to test the themes compatibility.
169
 
170
  = 1.1.8.1 =