OptionTree - Version 2.0.1

Version Description

  • Import from table was not mapping settings correctly. It is now.
Download this release

Release Info

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

Code changes from version 2.0 to 2.0.1

Files changed (3) hide show
  1. includes/ot-functions-admin.php +1 -1
  2. ot-loader.php +2 -2
  3. readme.txt +5 -2
includes/ot-functions-admin.php CHANGED
@@ -256,7 +256,7 @@ if ( ! function_exists( 'ot_default_settings' ) ) {
256
  $settings_count = 0;
257
  $settings = array();
258
 
259
- if ( mysql_num_rows( mysql_query( "SHOW TABLES LIKE '{$table_prefix}option_tree'" ) ) == 1 && $old_settings = $wpdb->get_results( "SELECT * FROM {$table_prefix}option_tree" ) ) {
260
 
261
  foreach ( $old_settings as $setting ) {
262
 
256
  $settings_count = 0;
257
  $settings = array();
258
 
259
+ if ( mysql_num_rows( mysql_query( "SHOW TABLES LIKE '{$table_prefix}option_tree'" ) ) == 1 && $old_settings = $wpdb->get_results( "SELECT * FROM {$table_prefix}option_tree ORDER BY item_sort ASC" ) ) {
260
 
261
  foreach ( $old_settings as $setting ) {
262
 
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
7
  * Author: Derek Herman
8
  * Author URI: http://valendesigns.com
9
  * License: GPLv2
@@ -60,7 +60,7 @@ if ( ! class_exists( 'OT_Loader' ) ) {
60
  /**
61
  * Current Version number.
62
  */
63
- define( 'OT_VERSION', '2.0' );
64
 
65
  /**
66
  * 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.1
7
  * Author: Derek Herman
8
  * Author URI: http://valendesigns.com
9
  * License: GPLv2
60
  /**
61
  * Current Version number.
62
  */
63
+ define( 'OT_VERSION', '2.0.1' );
64
 
65
  /**
66
  * 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
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,9 @@ Yes. OptionTree requires PHP5 to work correctly (so does WP 3.2+).
41
 
42
  == Changelog ==
43
 
 
 
 
44
  = 2.0 =
45
  * Complete rewrite form the ground up.
46
  * Better Theme Options UI Builder.
@@ -135,7 +138,7 @@ Yes. OptionTree requires PHP5 to work correctly (so does WP 3.2+).
135
 
136
  == Upgrade Notice ==
137
 
138
- = 2.0 =
139
  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.
140
 
141
  = 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.1
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.1 =
45
+ * Import from table was not mapping settings correctly. It is now.
46
+
47
  = 2.0 =
48
  * Complete rewrite form the ground up.
49
  * Better Theme Options UI Builder.
138
 
139
  == Upgrade Notice ==
140
 
141
+ = 2.0.1 =
142
  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.
143
 
144
  = 1.1.8.1 =