wp/wp-content/plugins/option-tree/readme.txt
author ymh <ymh.work@gmail.com>
Mon, 14 Oct 2019 18:35:50 +0200
changeset 11 bf1778c34b9a
parent 7 cf61fcea0001
permissions -rw-r--r--
upgrade optiontree
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
11
bf1778c34b9a upgrade optiontree
ymh <ymh.work@gmail.com>
parents: 7
diff changeset
     1
=== OptionTree ===
bf1778c34b9a upgrade optiontree
ymh <ymh.work@gmail.com>
parents: 7
diff changeset
     2
Contributors: valendesigns
bf1778c34b9a upgrade optiontree
ymh <ymh.work@gmail.com>
parents: 7
diff changeset
     3
Tags: options, theme options, meta boxes, settings
bf1778c34b9a upgrade optiontree
ymh <ymh.work@gmail.com>
parents: 7
diff changeset
     4
Requires at least: 3.8
bf1778c34b9a upgrade optiontree
ymh <ymh.work@gmail.com>
parents: 7
diff changeset
     5
Tested up to: 5.2
bf1778c34b9a upgrade optiontree
ymh <ymh.work@gmail.com>
parents: 7
diff changeset
     6
Stable tag: 2.7.3
bf1778c34b9a upgrade optiontree
ymh <ymh.work@gmail.com>
parents: 7
diff changeset
     7
License: GPLv2 or later
bf1778c34b9a upgrade optiontree
ymh <ymh.work@gmail.com>
parents: 7
diff changeset
     8
License URI: http://www.gnu.org/licenses/gpl-2.0.html
bf1778c34b9a upgrade optiontree
ymh <ymh.work@gmail.com>
parents: 7
diff changeset
     9
Donate link: https://bit.ly/2TBvksV
bf1778c34b9a upgrade optiontree
ymh <ymh.work@gmail.com>
parents: 7
diff changeset
    10
Requires PHP: 5.3.0
bf1778c34b9a upgrade optiontree
ymh <ymh.work@gmail.com>
parents: 7
diff changeset
    11
bf1778c34b9a upgrade optiontree
ymh <ymh.work@gmail.com>
parents: 7
diff changeset
    12
Theme Options UI Builder for WordPress. A simple way to create & save Theme Options and Meta Boxes for free or premium themes.
bf1778c34b9a upgrade optiontree
ymh <ymh.work@gmail.com>
parents: 7
diff changeset
    13
bf1778c34b9a upgrade optiontree
ymh <ymh.work@gmail.com>
parents: 7
diff changeset
    14
== Description ==
bf1778c34b9a upgrade optiontree
ymh <ymh.work@gmail.com>
parents: 7
diff changeset
    15
bf1778c34b9a upgrade optiontree
ymh <ymh.work@gmail.com>
parents: 7
diff changeset
    16
OptionTree attempts to bridge the gap between WordPress developers, designers and end-users by creating fully responsive option panels and meta boxes with an ease unlike any other plugin. OptionTree has many advanced features with well placed hooks and filters to adjust every aspect of the user experience. 
bf1778c34b9a upgrade optiontree
ymh <ymh.work@gmail.com>
parents: 7
diff changeset
    17
bf1778c34b9a upgrade optiontree
ymh <ymh.work@gmail.com>
parents: 7
diff changeset
    18
Build your Theme Options panel locally with an easy to use drag & drop interface and then export a functioning `theme-options.php` file for production use that is i18n translation ready, with your custom text domain automatically inserted. 
bf1778c34b9a upgrade optiontree
ymh <ymh.work@gmail.com>
parents: 7
diff changeset
    19
bf1778c34b9a upgrade optiontree
ymh <ymh.work@gmail.com>
parents: 7
diff changeset
    20
And, in just a few simple lines of code, save settings to the database with a unique array ID so none of your Theme Options conflict with other themes that use OptionTree. 
bf1778c34b9a upgrade optiontree
ymh <ymh.work@gmail.com>
parents: 7
diff changeset
    21
bf1778c34b9a upgrade optiontree
ymh <ymh.work@gmail.com>
parents: 7
diff changeset
    22
Also, OptionTree now takes full advantage of the new color schemes introduced in WordPress 3.8, it looks and feels built-in.
bf1778c34b9a upgrade optiontree
ymh <ymh.work@gmail.com>
parents: 7
diff changeset
    23
bf1778c34b9a upgrade optiontree
ymh <ymh.work@gmail.com>
parents: 7
diff changeset
    24
#### Theme Integration
bf1778c34b9a upgrade optiontree
ymh <ymh.work@gmail.com>
parents: 7
diff changeset
    25
If you're like me, you want to know how everything works. Download and activate the [OptionTree Theme](https://github.com/valendesigns/option-tree-theme) and see first hand how to integrate OptionTree into your own project. I'll walk you through installing OptionTree and you'll get a chance to see all the various options and filters first hand and in the wild.
bf1778c34b9a upgrade optiontree
ymh <ymh.work@gmail.com>
parents: 7
diff changeset
    26
bf1778c34b9a upgrade optiontree
ymh <ymh.work@gmail.com>
parents: 7
diff changeset
    27
#### Contributing
bf1778c34b9a upgrade optiontree
ymh <ymh.work@gmail.com>
parents: 7
diff changeset
    28
To contribute or report bugs, please go to the [OptionTree Github](https://github.com/valendesigns/option-tree) repository.
bf1778c34b9a upgrade optiontree
ymh <ymh.work@gmail.com>
parents: 7
diff changeset
    29
bf1778c34b9a upgrade optiontree
ymh <ymh.work@gmail.com>
parents: 7
diff changeset
    30
#### Sponsorship
bf1778c34b9a upgrade optiontree
ymh <ymh.work@gmail.com>
parents: 7
diff changeset
    31
OptionTree is a project partly sponsored by <a href="http://themeforest.net/?ref=valendesigns">ThemeForest</a>, the largest WordPress theme marketplace on the web.
bf1778c34b9a upgrade optiontree
ymh <ymh.work@gmail.com>
parents: 7
diff changeset
    32
bf1778c34b9a upgrade optiontree
ymh <ymh.work@gmail.com>
parents: 7
diff changeset
    33
#### Option Types
bf1778c34b9a upgrade optiontree
ymh <ymh.work@gmail.com>
parents: 7
diff changeset
    34
This is a complete list of all the available option types that come shipped with OptionTree.
bf1778c34b9a upgrade optiontree
ymh <ymh.work@gmail.com>
parents: 7
diff changeset
    35
bf1778c34b9a upgrade optiontree
ymh <ymh.work@gmail.com>
parents: 7
diff changeset
    36
* Background
bf1778c34b9a upgrade optiontree
ymh <ymh.work@gmail.com>
parents: 7
diff changeset
    37
* Border
bf1778c34b9a upgrade optiontree
ymh <ymh.work@gmail.com>
parents: 7
diff changeset
    38
* Box Shadow
bf1778c34b9a upgrade optiontree
ymh <ymh.work@gmail.com>
parents: 7
diff changeset
    39
* Category Checkbox
bf1778c34b9a upgrade optiontree
ymh <ymh.work@gmail.com>
parents: 7
diff changeset
    40
* Category Select
bf1778c34b9a upgrade optiontree
ymh <ymh.work@gmail.com>
parents: 7
diff changeset
    41
* Checkbox
bf1778c34b9a upgrade optiontree
ymh <ymh.work@gmail.com>
parents: 7
diff changeset
    42
* Colorpicker
bf1778c34b9a upgrade optiontree
ymh <ymh.work@gmail.com>
parents: 7
diff changeset
    43
* Colorpicker Opacity
bf1778c34b9a upgrade optiontree
ymh <ymh.work@gmail.com>
parents: 7
diff changeset
    44
* CSS
bf1778c34b9a upgrade optiontree
ymh <ymh.work@gmail.com>
parents: 7
diff changeset
    45
* Custom Post Type Checkbox
bf1778c34b9a upgrade optiontree
ymh <ymh.work@gmail.com>
parents: 7
diff changeset
    46
* Custom Post Type Select
bf1778c34b9a upgrade optiontree
ymh <ymh.work@gmail.com>
parents: 7
diff changeset
    47
* Date Picker
bf1778c34b9a upgrade optiontree
ymh <ymh.work@gmail.com>
parents: 7
diff changeset
    48
* Date Time Picker
bf1778c34b9a upgrade optiontree
ymh <ymh.work@gmail.com>
parents: 7
diff changeset
    49
* Dimension
bf1778c34b9a upgrade optiontree
ymh <ymh.work@gmail.com>
parents: 7
diff changeset
    50
* Gallery
bf1778c34b9a upgrade optiontree
ymh <ymh.work@gmail.com>
parents: 7
diff changeset
    51
* Google Fonts
bf1778c34b9a upgrade optiontree
ymh <ymh.work@gmail.com>
parents: 7
diff changeset
    52
* JavaScript
bf1778c34b9a upgrade optiontree
ymh <ymh.work@gmail.com>
parents: 7
diff changeset
    53
* Link Color
bf1778c34b9a upgrade optiontree
ymh <ymh.work@gmail.com>
parents: 7
diff changeset
    54
* List Item
bf1778c34b9a upgrade optiontree
ymh <ymh.work@gmail.com>
parents: 7
diff changeset
    55
* Measurement
bf1778c34b9a upgrade optiontree
ymh <ymh.work@gmail.com>
parents: 7
diff changeset
    56
* Numeric Slider
bf1778c34b9a upgrade optiontree
ymh <ymh.work@gmail.com>
parents: 7
diff changeset
    57
* On/Off
bf1778c34b9a upgrade optiontree
ymh <ymh.work@gmail.com>
parents: 7
diff changeset
    58
* Page Checkbox
bf1778c34b9a upgrade optiontree
ymh <ymh.work@gmail.com>
parents: 7
diff changeset
    59
* Page Select
bf1778c34b9a upgrade optiontree
ymh <ymh.work@gmail.com>
parents: 7
diff changeset
    60
* Post Checkbox
bf1778c34b9a upgrade optiontree
ymh <ymh.work@gmail.com>
parents: 7
diff changeset
    61
* Post Select
bf1778c34b9a upgrade optiontree
ymh <ymh.work@gmail.com>
parents: 7
diff changeset
    62
* Radio
bf1778c34b9a upgrade optiontree
ymh <ymh.work@gmail.com>
parents: 7
diff changeset
    63
* Radio Image
bf1778c34b9a upgrade optiontree
ymh <ymh.work@gmail.com>
parents: 7
diff changeset
    64
* Select
bf1778c34b9a upgrade optiontree
ymh <ymh.work@gmail.com>
parents: 7
diff changeset
    65
* Sidebar Select
bf1778c34b9a upgrade optiontree
ymh <ymh.work@gmail.com>
parents: 7
diff changeset
    66
* Slider
bf1778c34b9a upgrade optiontree
ymh <ymh.work@gmail.com>
parents: 7
diff changeset
    67
* Social Links
bf1778c34b9a upgrade optiontree
ymh <ymh.work@gmail.com>
parents: 7
diff changeset
    68
* Spacing
bf1778c34b9a upgrade optiontree
ymh <ymh.work@gmail.com>
parents: 7
diff changeset
    69
* Tab
bf1778c34b9a upgrade optiontree
ymh <ymh.work@gmail.com>
parents: 7
diff changeset
    70
* Tag Checkbox
bf1778c34b9a upgrade optiontree
ymh <ymh.work@gmail.com>
parents: 7
diff changeset
    71
* Tag Select
bf1778c34b9a upgrade optiontree
ymh <ymh.work@gmail.com>
parents: 7
diff changeset
    72
* Taxonomy Checkbox
bf1778c34b9a upgrade optiontree
ymh <ymh.work@gmail.com>
parents: 7
diff changeset
    73
* Taxonomy Select
bf1778c34b9a upgrade optiontree
ymh <ymh.work@gmail.com>
parents: 7
diff changeset
    74
* Text
bf1778c34b9a upgrade optiontree
ymh <ymh.work@gmail.com>
parents: 7
diff changeset
    75
* Textarea
bf1778c34b9a upgrade optiontree
ymh <ymh.work@gmail.com>
parents: 7
diff changeset
    76
* Textarea Simple
bf1778c34b9a upgrade optiontree
ymh <ymh.work@gmail.com>
parents: 7
diff changeset
    77
* Textblock
bf1778c34b9a upgrade optiontree
ymh <ymh.work@gmail.com>
parents: 7
diff changeset
    78
* Textblock Titled
bf1778c34b9a upgrade optiontree
ymh <ymh.work@gmail.com>
parents: 7
diff changeset
    79
* Typography
bf1778c34b9a upgrade optiontree
ymh <ymh.work@gmail.com>
parents: 7
diff changeset
    80
* Upload
bf1778c34b9a upgrade optiontree
ymh <ymh.work@gmail.com>
parents: 7
diff changeset
    81
bf1778c34b9a upgrade optiontree
ymh <ymh.work@gmail.com>
parents: 7
diff changeset
    82
== Installation ==
bf1778c34b9a upgrade optiontree
ymh <ymh.work@gmail.com>
parents: 7
diff changeset
    83
bf1778c34b9a upgrade optiontree
ymh <ymh.work@gmail.com>
parents: 7
diff changeset
    84
**Plugin Mode**
bf1778c34b9a upgrade optiontree
ymh <ymh.work@gmail.com>
parents: 7
diff changeset
    85
bf1778c34b9a upgrade optiontree
ymh <ymh.work@gmail.com>
parents: 7
diff changeset
    86
1. Upload `option-tree` to the `/wp-content/plugins/` directory
bf1778c34b9a upgrade optiontree
ymh <ymh.work@gmail.com>
parents: 7
diff changeset
    87
1. Activate the plugin through the `Plugins` menu in WordPress
bf1778c34b9a upgrade optiontree
ymh <ymh.work@gmail.com>
parents: 7
diff changeset
    88
1. Click the `OptionTree->Documentation` link in the WordPress admin sidebar menu for further setup assistance.
bf1778c34b9a upgrade optiontree
ymh <ymh.work@gmail.com>
parents: 7
diff changeset
    89
bf1778c34b9a upgrade optiontree
ymh <ymh.work@gmail.com>
parents: 7
diff changeset
    90
**Theme Mode**
bf1778c34b9a upgrade optiontree
ymh <ymh.work@gmail.com>
parents: 7
diff changeset
    91
bf1778c34b9a upgrade optiontree
ymh <ymh.work@gmail.com>
parents: 7
diff changeset
    92
1. Download the latest version of OptionTree and unarchive the `.zip` directory.
bf1778c34b9a upgrade optiontree
ymh <ymh.work@gmail.com>
parents: 7
diff changeset
    93
1. Put the `option-tree` directory in the root of your theme. For example, the server path would be `/wp-content/themes/theme-name/option-tree/`.
bf1778c34b9a upgrade optiontree
ymh <ymh.work@gmail.com>
parents: 7
diff changeset
    94
1. You must deactivate and/or delete the plugin version of OptionTree.
bf1778c34b9a upgrade optiontree
ymh <ymh.work@gmail.com>
parents: 7
diff changeset
    95
1. Add the following code to the beginning of your `functions.php`.
bf1778c34b9a upgrade optiontree
ymh <ymh.work@gmail.com>
parents: 7
diff changeset
    96
bf1778c34b9a upgrade optiontree
ymh <ymh.work@gmail.com>
parents: 7
diff changeset
    97
```
bf1778c34b9a upgrade optiontree
ymh <ymh.work@gmail.com>
parents: 7
diff changeset
    98
/**
bf1778c34b9a upgrade optiontree
ymh <ymh.work@gmail.com>
parents: 7
diff changeset
    99
 * Required: set 'ot_theme_mode' filter to true.
bf1778c34b9a upgrade optiontree
ymh <ymh.work@gmail.com>
parents: 7
diff changeset
   100
 */
bf1778c34b9a upgrade optiontree
ymh <ymh.work@gmail.com>
parents: 7
diff changeset
   101
add_filter( 'ot_theme_mode', '__return_true' );
bf1778c34b9a upgrade optiontree
ymh <ymh.work@gmail.com>
parents: 7
diff changeset
   102
bf1778c34b9a upgrade optiontree
ymh <ymh.work@gmail.com>
parents: 7
diff changeset
   103
/**
bf1778c34b9a upgrade optiontree
ymh <ymh.work@gmail.com>
parents: 7
diff changeset
   104
 * Required: include OptionTree.
bf1778c34b9a upgrade optiontree
ymh <ymh.work@gmail.com>
parents: 7
diff changeset
   105
 */
bf1778c34b9a upgrade optiontree
ymh <ymh.work@gmail.com>
parents: 7
diff changeset
   106
require( trailingslashit( get_template_directory() ) . 'option-tree/ot-loader.php' );
bf1778c34b9a upgrade optiontree
ymh <ymh.work@gmail.com>
parents: 7
diff changeset
   107
```
bf1778c34b9a upgrade optiontree
ymh <ymh.work@gmail.com>
parents: 7
diff changeset
   108
bf1778c34b9a upgrade optiontree
ymh <ymh.work@gmail.com>
parents: 7
diff changeset
   109
For a list of all the OptionTree UI display filters refer to the `demo-functions.php` file found in the `/assets/theme-mode/` directory of this plugin. This file is the starting point for developing themes with Theme Mode.
bf1778c34b9a upgrade optiontree
ymh <ymh.work@gmail.com>
parents: 7
diff changeset
   110
bf1778c34b9a upgrade optiontree
ymh <ymh.work@gmail.com>
parents: 7
diff changeset
   111
== Frequently Asked Questions ==
bf1778c34b9a upgrade optiontree
ymh <ymh.work@gmail.com>
parents: 7
diff changeset
   112
bf1778c34b9a upgrade optiontree
ymh <ymh.work@gmail.com>
parents: 7
diff changeset
   113
= Is there a demo theme I can install? =
bf1778c34b9a upgrade optiontree
ymh <ymh.work@gmail.com>
parents: 7
diff changeset
   114
bf1778c34b9a upgrade optiontree
ymh <ymh.work@gmail.com>
parents: 7
diff changeset
   115
There sure is, and I'm glad you asked. Download and activate the [OptionTree Theme](https://github.com/valendesigns/option-tree-theme) and get some experience setting up OptionTree on your own with detailed directions and tips.
bf1778c34b9a upgrade optiontree
ymh <ymh.work@gmail.com>
parents: 7
diff changeset
   116
bf1778c34b9a upgrade optiontree
ymh <ymh.work@gmail.com>
parents: 7
diff changeset
   117
= I get errors or a blank screen when I activate the plugin. What's the deal? =
bf1778c34b9a upgrade optiontree
ymh <ymh.work@gmail.com>
parents: 7
diff changeset
   118
bf1778c34b9a upgrade optiontree
ymh <ymh.work@gmail.com>
parents: 7
diff changeset
   119
The most likely scenario is your theme already has OptionTree installed in Theme Mode. And since the plugin and theme version can't both be active at the same time without the sky falling on your head, your site has decided to throw in the towel. If that's not your issue, open up a support request and we'll figure it out together. UPDATE: As of OptionTree 2.4.0 the plugin version will not conflict with the Theme Mode version if they are both 2.4.0 or higher.
bf1778c34b9a upgrade optiontree
ymh <ymh.work@gmail.com>
parents: 7
diff changeset
   120
bf1778c34b9a upgrade optiontree
ymh <ymh.work@gmail.com>
parents: 7
diff changeset
   121
== Screenshots ==
bf1778c34b9a upgrade optiontree
ymh <ymh.work@gmail.com>
parents: 7
diff changeset
   122
bf1778c34b9a upgrade optiontree
ymh <ymh.work@gmail.com>
parents: 7
diff changeset
   123
1. Theme Options
bf1778c34b9a upgrade optiontree
ymh <ymh.work@gmail.com>
parents: 7
diff changeset
   124
2. Settings
bf1778c34b9a upgrade optiontree
ymh <ymh.work@gmail.com>
parents: 7
diff changeset
   125
3. Documentation
bf1778c34b9a upgrade optiontree
ymh <ymh.work@gmail.com>
parents: 7
diff changeset
   126
bf1778c34b9a upgrade optiontree
ymh <ymh.work@gmail.com>
parents: 7
diff changeset
   127
== Changelog ==
bf1778c34b9a upgrade optiontree
ymh <ymh.work@gmail.com>
parents: 7
diff changeset
   128
bf1778c34b9a upgrade optiontree
ymh <ymh.work@gmail.com>
parents: 7
diff changeset
   129
= 2.7.3 =
bf1778c34b9a upgrade optiontree
ymh <ymh.work@gmail.com>
parents: 7
diff changeset
   130
* Hotfix - Update regex for Object Injection check to include `+` bypass and PHP serialized classes. props @erwanlr
bf1778c34b9a upgrade optiontree
ymh <ymh.work@gmail.com>
parents: 7
diff changeset
   131
bf1778c34b9a upgrade optiontree
ymh <ymh.work@gmail.com>
parents: 7
diff changeset
   132
= 2.7.2 =
bf1778c34b9a upgrade optiontree
ymh <ymh.work@gmail.com>
parents: 7
diff changeset
   133
* Hotfix - Extend the `unfiltered_html` `iframe` capabilities to support additional `style` attributes.
bf1778c34b9a upgrade optiontree
ymh <ymh.work@gmail.com>
parents: 7
diff changeset
   134
bf1778c34b9a upgrade optiontree
ymh <ymh.work@gmail.com>
parents: 7
diff changeset
   135
= 2.7.1 =
bf1778c34b9a upgrade optiontree
ymh <ymh.work@gmail.com>
parents: 7
diff changeset
   136
* Hotfix - Fix error cannot redeclare `_sanitize_recursive()`. props @shramee
bf1778c34b9a upgrade optiontree
ymh <ymh.work@gmail.com>
parents: 7
diff changeset
   137
* Hotfix - Ensure `iframe` supports the `style` attribute for users with `unfiltered_html` capabilities.
bf1778c34b9a upgrade optiontree
ymh <ymh.work@gmail.com>
parents: 7
diff changeset
   138
* Hotfix - Ensure `noscript` is supported for users with `unfiltered_html` capabilities.
bf1778c34b9a upgrade optiontree
ymh <ymh.work@gmail.com>
parents: 7
diff changeset
   139
bf1778c34b9a upgrade optiontree
ymh <ymh.work@gmail.com>
parents: 7
diff changeset
   140
= 2.7.0 =
bf1778c34b9a upgrade optiontree
ymh <ymh.work@gmail.com>
parents: 7
diff changeset
   141
* Require PHP 5.3+
bf1778c34b9a upgrade optiontree
ymh <ymh.work@gmail.com>
parents: 7
diff changeset
   142
* Fix all PHPCS errors and warnings.
bf1778c34b9a upgrade optiontree
ymh <ymh.work@gmail.com>
parents: 7
diff changeset
   143
* Fix a vulnerability where Object Injection could take place if someone has a valid nonce.
bf1778c34b9a upgrade optiontree
ymh <ymh.work@gmail.com>
parents: 7
diff changeset
   144
* Force all settings to be sanitized and escaped before saving and during display.
bf1778c34b9a upgrade optiontree
ymh <ymh.work@gmail.com>
parents: 7
diff changeset
   145
* Add filter `ot_validate_setting_input_safe` which is used to validate the input value of a custom setting type. All values must be validated!
bf1778c34b9a upgrade optiontree
ymh <ymh.work@gmail.com>
parents: 7
diff changeset
   146
* Add a notice to let users know that a custom setting type is not properly validating saved data and do a best-effort sanitize of the user data before saving it.
bf1778c34b9a upgrade optiontree
ymh <ymh.work@gmail.com>
parents: 7
diff changeset
   147
* Fix issue with Composer autoload and only load OptionTree if we have access to WordPress. props @infomaniac50
bf1778c34b9a upgrade optiontree
ymh <ymh.work@gmail.com>
parents: 7
diff changeset
   148
* Fix deprecated `create_function` notice in PHP 7.2+. props @modesthatred
bf1778c34b9a upgrade optiontree
ymh <ymh.work@gmail.com>
parents: 7
diff changeset
   149
* Fix notice "Only variables should be passed by reference". props @SergeAx
bf1778c34b9a upgrade optiontree
ymh <ymh.work@gmail.com>
parents: 7
diff changeset
   150
* Add `wordpress-plugin` project type to composer file. props @egifford
bf1778c34b9a upgrade optiontree
ymh <ymh.work@gmail.com>
parents: 7
diff changeset
   151
* Removed translation files.
bf1778c34b9a upgrade optiontree
ymh <ymh.work@gmail.com>
parents: 7
diff changeset
   152
* Removed the deprecated XML file import method.
bf1778c34b9a upgrade optiontree
ymh <ymh.work@gmail.com>
parents: 7
diff changeset
   153
* Fix SQL syntax issue. props @ryanlabelle
bf1778c34b9a upgrade optiontree
ymh <ymh.work@gmail.com>
parents: 7
diff changeset
   154
* Fix metabox radio & checkbox style issues. props @ryanlabelle
bf1778c34b9a upgrade optiontree
ymh <ymh.work@gmail.com>
parents: 7
diff changeset
   155
bf1778c34b9a upgrade optiontree
ymh <ymh.work@gmail.com>
parents: 7
diff changeset
   156
= 2.6.0 =
bf1778c34b9a upgrade optiontree
ymh <ymh.work@gmail.com>
parents: 7
diff changeset
   157
* Fix a reflected XSS vulnerability with the `add_list_item` & `add_social_links` Ajax requests.
bf1778c34b9a upgrade optiontree
ymh <ymh.work@gmail.com>
parents: 7
diff changeset
   158
* Fix the Google Fonts URL so it passed the W3 Validator. props @BassemN
bf1778c34b9a upgrade optiontree
ymh <ymh.work@gmail.com>
parents: 7
diff changeset
   159
* Fix `global_admin_css` so it's only enqueued when needed.
bf1778c34b9a upgrade optiontree
ymh <ymh.work@gmail.com>
parents: 7
diff changeset
   160
* Fix `dynamic.css` so that a child theme doesn't load the styles saved to the parent theme.
bf1778c34b9a upgrade optiontree
ymh <ymh.work@gmail.com>
parents: 7
diff changeset
   161
* Add filter `ot_recognized_post_format_meta_boxes` to support additional post formats meta boxes. props @BassemN
bf1778c34b9a upgrade optiontree
ymh <ymh.work@gmail.com>
parents: 7
diff changeset
   162
* Add action `ot_do_settings_fields_before` & `ot_do_settings_fields_after`. props @BassemN, @valendesigns
bf1778c34b9a upgrade optiontree
ymh <ymh.work@gmail.com>
parents: 7
diff changeset
   163
* Add Text Domain to plugin file to fully support the new translate.wordpress.org Language Packs.
bf1778c34b9a upgrade optiontree
ymh <ymh.work@gmail.com>
parents: 7
diff changeset
   164
* Fix notice in PHP 7.0.0 props @Zackio
bf1778c34b9a upgrade optiontree
ymh <ymh.work@gmail.com>
parents: 7
diff changeset
   165
bf1778c34b9a upgrade optiontree
ymh <ymh.work@gmail.com>
parents: 7
diff changeset
   166
= 2.5.5 =
bf1778c34b9a upgrade optiontree
ymh <ymh.work@gmail.com>
parents: 7
diff changeset
   167
* Hotfix - Allow a `0` value to be saved with certain option types. Contributors via github @BassemN.
bf1778c34b9a upgrade optiontree
ymh <ymh.work@gmail.com>
parents: 7
diff changeset
   168
* Hotfix - Stop media from being attached to the OptionTree post type when uploaded from the media manager or customizer. Contributors via github @earnjam, and @valendesigns.
bf1778c34b9a upgrade optiontree
ymh <ymh.work@gmail.com>
parents: 7
diff changeset
   169
* Hotfix - Added filter `ot_load_dynamic_css` to explicitly turn the feature off if desired.
bf1778c34b9a upgrade optiontree
ymh <ymh.work@gmail.com>
parents: 7
diff changeset
   170
* Hotfix - Stopped `dynamic.css` created with other themes from being loaded elsewhere.
bf1778c34b9a upgrade optiontree
ymh <ymh.work@gmail.com>
parents: 7
diff changeset
   171
bf1778c34b9a upgrade optiontree
ymh <ymh.work@gmail.com>
parents: 7
diff changeset
   172
= 2.5.4 =
bf1778c34b9a upgrade optiontree
ymh <ymh.work@gmail.com>
parents: 7
diff changeset
   173
* Hotfix - Support for WordPress 4.2 term splitting.
bf1778c34b9a upgrade optiontree
ymh <ymh.work@gmail.com>
parents: 7
diff changeset
   174
* Hotfix - Removed any potential XSS security issues with `add_query_arg` by escaping it.
bf1778c34b9a upgrade optiontree
ymh <ymh.work@gmail.com>
parents: 7
diff changeset
   175
* Hotfix - Fixed an issue where Visual Composer was indirectly destroying OptionTree meta box values.
bf1778c34b9a upgrade optiontree
ymh <ymh.work@gmail.com>
parents: 7
diff changeset
   176
* Hotfix - Fixed an issue where the select field value was not visible. Contributors via github @sabbirk15.
bf1778c34b9a upgrade optiontree
ymh <ymh.work@gmail.com>
parents: 7
diff changeset
   177
bf1778c34b9a upgrade optiontree
ymh <ymh.work@gmail.com>
parents: 7
diff changeset
   178
= 2.5.3 =
bf1778c34b9a upgrade optiontree
ymh <ymh.work@gmail.com>
parents: 7
diff changeset
   179
* Hotfix - Added `inherit` fallback to the `border` option type in dynamic.css.
bf1778c34b9a upgrade optiontree
ymh <ymh.work@gmail.com>
parents: 7
diff changeset
   180
* Hotfix - Added `none` fallback to the `box-shadow` option type in dynamic.css.
bf1778c34b9a upgrade optiontree
ymh <ymh.work@gmail.com>
parents: 7
diff changeset
   181
* Hotfix - Added `inherit` fallback to the `colorpicker` option type in dynamic.css.
bf1778c34b9a upgrade optiontree
ymh <ymh.work@gmail.com>
parents: 7
diff changeset
   182
* Hotfix - Added `inherit` fallback to the `colorpicker-opacity` option type in dynamic.css.
bf1778c34b9a upgrade optiontree
ymh <ymh.work@gmail.com>
parents: 7
diff changeset
   183
* Hotfix - Added filter `ot_insert_css_with_markers_fallback` to filter the `dynamic.css` fallback value.
bf1778c34b9a upgrade optiontree
ymh <ymh.work@gmail.com>
parents: 7
diff changeset
   184
* Hotfix - Added filter `ot_type_radio_image_attributes` to filter the image attributes for each radio choice. Contributors via github @BassemN, and @valendesigns.
bf1778c34b9a upgrade optiontree
ymh <ymh.work@gmail.com>
parents: 7
diff changeset
   185
* Hotfix - Refactored `ot_insert_css_with_markers` to remove confusing & unnecessary PHP statements and fix whitespace.
bf1778c34b9a upgrade optiontree
ymh <ymh.work@gmail.com>
parents: 7
diff changeset
   186
* Hotfix - Fixed an issue in `ot_insert_css_with_markers` where the `$option_type` variable was not being set properly.
bf1778c34b9a upgrade optiontree
ymh <ymh.work@gmail.com>
parents: 7
diff changeset
   187
* Hotfix - Fixed an issue where having multiple Google Fonts option types caused the "Add Google Font" button to insert multiple dropdowns.
bf1778c34b9a upgrade optiontree
ymh <ymh.work@gmail.com>
parents: 7
diff changeset
   188
bf1778c34b9a upgrade optiontree
ymh <ymh.work@gmail.com>
parents: 7
diff changeset
   189
= 2.5.2 =
bf1778c34b9a upgrade optiontree
ymh <ymh.work@gmail.com>
parents: 7
diff changeset
   190
* Hotfix - Added `inherit` fallback to the `link-color` option type in dynamic.css.
bf1778c34b9a upgrade optiontree
ymh <ymh.work@gmail.com>
parents: 7
diff changeset
   191
* Hotfix - Remove `$.browser.msie` JS error caused by function being deprecated.
bf1778c34b9a upgrade optiontree
ymh <ymh.work@gmail.com>
parents: 7
diff changeset
   192
* Hotfix - Change `hover` to `mouseenter mouseleave` to stop jQuery migrate error message.
bf1778c34b9a upgrade optiontree
ymh <ymh.work@gmail.com>
parents: 7
diff changeset
   193
* Hotfix - Don't allow duplicate Google Fonts in the `ot-google-fonts-css` enqueue.
bf1778c34b9a upgrade optiontree
ymh <ymh.work@gmail.com>
parents: 7
diff changeset
   194
* Hotfix - Fixed an issue with the CSS and JavaScript option types not being initiating inside of tabs.
bf1778c34b9a upgrade optiontree
ymh <ymh.work@gmail.com>
parents: 7
diff changeset
   195
* Hotfix - Fixed metabox tab styles for mobile.
bf1778c34b9a upgrade optiontree
ymh <ymh.work@gmail.com>
parents: 7
diff changeset
   196
* Hotfix - Separate the post formats JS so it does not interfere with the default behavior and loads only as needed.
bf1778c34b9a upgrade optiontree
ymh <ymh.work@gmail.com>
parents: 7
diff changeset
   197
* Hotfix - Adding the `not-sortable` class to the List Item option type will remove the sortable feature for that option.
bf1778c34b9a upgrade optiontree
ymh <ymh.work@gmail.com>
parents: 7
diff changeset
   198
bf1778c34b9a upgrade optiontree
ymh <ymh.work@gmail.com>
parents: 7
diff changeset
   199
= 2.5.1 =
bf1778c34b9a upgrade optiontree
ymh <ymh.work@gmail.com>
parents: 7
diff changeset
   200
* Hotfix - Overhaul the Colorpicker Opacity option type so it saves rgba values, not arrays.
bf1778c34b9a upgrade optiontree
ymh <ymh.work@gmail.com>
parents: 7
diff changeset
   201
* Hotfix - Added the ability to set opacity on any colorpicker with the `ot-colorpicker-opacity` class.
bf1778c34b9a upgrade optiontree
ymh <ymh.work@gmail.com>
parents: 7
diff changeset
   202
* Hotfix - Don't use `esc_url_raw` to filter the Upload option type when it's saving an attachment ID. Contributors via github @RistoNiinemets.
bf1778c34b9a upgrade optiontree
ymh <ymh.work@gmail.com>
parents: 7
diff changeset
   203
* Hotfix - Show an error message to user if unable to write to the `dynamic.css` file. Contributors via github @johnh10, and @valendesigns.
bf1778c34b9a upgrade optiontree
ymh <ymh.work@gmail.com>
parents: 7
diff changeset
   204
* Hotfix - Force the `ot_google_fonts` array to be rebuilt when switching between themes.
bf1778c34b9a upgrade optiontree
ymh <ymh.work@gmail.com>
parents: 7
diff changeset
   205
* Hotfix - Stop theme check from nagging about using `add_menu_page` in `ot-cleanup-api.php`.
bf1778c34b9a upgrade optiontree
ymh <ymh.work@gmail.com>
parents: 7
diff changeset
   206
bf1778c34b9a upgrade optiontree
ymh <ymh.work@gmail.com>
parents: 7
diff changeset
   207
= 2.5.0 =
bf1778c34b9a upgrade optiontree
ymh <ymh.work@gmail.com>
parents: 7
diff changeset
   208
* Added the Google Fonts option type. Contributors via github @maimairel, and @valendesigns.
bf1778c34b9a upgrade optiontree
ymh <ymh.work@gmail.com>
parents: 7
diff changeset
   209
* Added the Border option type. Contributors via github @doitmax, and @valendesigns.
bf1778c34b9a upgrade optiontree
ymh <ymh.work@gmail.com>
parents: 7
diff changeset
   210
* Added the Box Shadow option type. Contributors via github @doitmax, and @valendesigns.
bf1778c34b9a upgrade optiontree
ymh <ymh.work@gmail.com>
parents: 7
diff changeset
   211
* Added the Colorpicker Opacity option type. Contributors via github @doitmax, and @valendesigns.
bf1778c34b9a upgrade optiontree
ymh <ymh.work@gmail.com>
parents: 7
diff changeset
   212
* Added the Dimension option type. Contributors via github @doitmax, and @valendesigns.
bf1778c34b9a upgrade optiontree
ymh <ymh.work@gmail.com>
parents: 7
diff changeset
   213
* Added the JavaScript option type.
bf1778c34b9a upgrade optiontree
ymh <ymh.work@gmail.com>
parents: 7
diff changeset
   214
* Added the Link Color option type. Contributors via github @doitmax, and @valendesigns.
bf1778c34b9a upgrade optiontree
ymh <ymh.work@gmail.com>
parents: 7
diff changeset
   215
* Added the Spacing option type. Contributors via github @doitmax, and @valendesigns.
bf1778c34b9a upgrade optiontree
ymh <ymh.work@gmail.com>
parents: 7
diff changeset
   216
* Fixed an issue where the Colorpicker was not parsing conditions on `change` or `clear`.
bf1778c34b9a upgrade optiontree
ymh <ymh.work@gmail.com>
parents: 7
diff changeset
   217
* Fixed the Colorpicker styles on mobile devices.
bf1778c34b9a upgrade optiontree
ymh <ymh.work@gmail.com>
parents: 7
diff changeset
   218
* Show the Colorpicker setting ID inside the error message string when the value is invalid.
bf1778c34b9a upgrade optiontree
ymh <ymh.work@gmail.com>
parents: 7
diff changeset
   219
* Added an 'on change' trigger to the Numeric Slider's hidden input. Contributors via github @cubell.
bf1778c34b9a upgrade optiontree
ymh <ymh.work@gmail.com>
parents: 7
diff changeset
   220
* Stop Theme Check from complaining about the `register_post_type()` function being used in Theme Mode.
bf1778c34b9a upgrade optiontree
ymh <ymh.work@gmail.com>
parents: 7
diff changeset
   221
* Added styles that clean up the appearance of the included Font Awesome icons in section tabs.
bf1778c34b9a upgrade optiontree
ymh <ymh.work@gmail.com>
parents: 7
diff changeset
   222
* Fixed jQuery UI style conflicts created by the WP Review plugin.
bf1778c34b9a upgrade optiontree
ymh <ymh.work@gmail.com>
parents: 7
diff changeset
   223
* Changed the sanitization function from `sanitize_text_field` to `esc_url_raw` for the Upload option type.
bf1778c34b9a upgrade optiontree
ymh <ymh.work@gmail.com>
parents: 7
diff changeset
   224
* Added filter `ot_dequeue_jquery_ui_css_screen_ids` to dequeue `jquery-ui-css` by screen ID.
bf1778c34b9a upgrade optiontree
ymh <ymh.work@gmail.com>
parents: 7
diff changeset
   225
* Added filter `ot_on_off_switch_on_value` to filter the value of the On button. Contributors via github @BassemN, and @valendesigns.
bf1778c34b9a upgrade optiontree
ymh <ymh.work@gmail.com>
parents: 7
diff changeset
   226
* Added filter `ot_on_off_switch_on_label` to filter the label of the On button. Contributors via github @BassemN, and @valendesigns.
bf1778c34b9a upgrade optiontree
ymh <ymh.work@gmail.com>
parents: 7
diff changeset
   227
* Added filter `ot_on_off_switch_off_value` to filter the value of the Off button. Contributors via github @BassemN, and @valendesigns.
bf1778c34b9a upgrade optiontree
ymh <ymh.work@gmail.com>
parents: 7
diff changeset
   228
* Added filter `ot_on_off_switch_off_label` to filter the label of the Off button. Contributors via github @BassemN, and @valendesigns.
bf1778c34b9a upgrade optiontree
ymh <ymh.work@gmail.com>
parents: 7
diff changeset
   229
* Added filter `ot_on_off_switch_width` to filter the width of the On/Off switch.
bf1778c34b9a upgrade optiontree
ymh <ymh.work@gmail.com>
parents: 7
diff changeset
   230
* Added filter `ot_type_date_picker_readonly` to filter the addition of the readonly attribute.
bf1778c34b9a upgrade optiontree
ymh <ymh.work@gmail.com>
parents: 7
diff changeset
   231
* Added filter `ot_type_date_time_picker_readonly` to filter the addition of the readonly attribute.
bf1778c34b9a upgrade optiontree
ymh <ymh.work@gmail.com>
parents: 7
diff changeset
   232
* Added filter `ot_admin_menu_priority` to filter the `admin_menu` action hook priority.
bf1778c34b9a upgrade optiontree
ymh <ymh.work@gmail.com>
parents: 7
diff changeset
   233
* Added Estonian translation. Contributors via github @tjuris, and @RistoNiinemets.
bf1778c34b9a upgrade optiontree
ymh <ymh.work@gmail.com>
parents: 7
diff changeset
   234
* Fixed an issue where changes to `theme-options.php` required a second page load.
bf1778c34b9a upgrade optiontree
ymh <ymh.work@gmail.com>
parents: 7
diff changeset
   235
* Fixed the clean up script, it only displays when there's something to clean up. No more menu item!
bf1778c34b9a upgrade optiontree
ymh <ymh.work@gmail.com>
parents: 7
diff changeset
   236
* Update demo files with the latest option types.
bf1778c34b9a upgrade optiontree
ymh <ymh.work@gmail.com>
parents: 7
diff changeset
   237
* Changed where `ot_css_file_paths` is saved when `is_multisite` for better `dynamic.css` file support.
bf1778c34b9a upgrade optiontree
ymh <ymh.work@gmail.com>
parents: 7
diff changeset
   238
* Changed the default `dynamic.css` file path in multisite to be `dynamic-{current-blog-id}.css`.
bf1778c34b9a upgrade optiontree
ymh <ymh.work@gmail.com>
parents: 7
diff changeset
   239
bf1778c34b9a upgrade optiontree
ymh <ymh.work@gmail.com>
parents: 7
diff changeset
   240
= 2.4.6 =
bf1778c34b9a upgrade optiontree
ymh <ymh.work@gmail.com>
parents: 7
diff changeset
   241
* Hotfix - Added a clean up script to consolidate orphaned media posts and remove the old and unused `wp_option_tree` table.
bf1778c34b9a upgrade optiontree
ymh <ymh.work@gmail.com>
parents: 7
diff changeset
   242
* Hotfix - Fixed an issue where `ot_get_media_post_ID()` was never able to set the value of the `ot_media_post_ID` option because it was already set to empty. Causing the `ot_create_media_post()` function to create multiple media posts.
bf1778c34b9a upgrade optiontree
ymh <ymh.work@gmail.com>
parents: 7
diff changeset
   243
bf1778c34b9a upgrade optiontree
ymh <ymh.work@gmail.com>
parents: 7
diff changeset
   244
= 2.4.5 =
bf1778c34b9a upgrade optiontree
ymh <ymh.work@gmail.com>
parents: 7
diff changeset
   245
* Hotfix - Fixed an issue where `ot_get_media_post_ID()` was setting the value of the `ot_media_post_ID` option to `null`. Causing the `ot_create_media_post()` function to create multiple media posts. A clean up script will be added to `2.5.0`.
bf1778c34b9a upgrade optiontree
ymh <ymh.work@gmail.com>
parents: 7
diff changeset
   246
bf1778c34b9a upgrade optiontree
ymh <ymh.work@gmail.com>
parents: 7
diff changeset
   247
= 2.4.4 =
bf1778c34b9a upgrade optiontree
ymh <ymh.work@gmail.com>
parents: 7
diff changeset
   248
* Hotfix - Fixed undefined index caused by shorthand conditional.
bf1778c34b9a upgrade optiontree
ymh <ymh.work@gmail.com>
parents: 7
diff changeset
   249
* Hotfix - Fixed jQuery UI style conflicts created by the Easy Digital Downloads plugin.
bf1778c34b9a upgrade optiontree
ymh <ymh.work@gmail.com>
parents: 7
diff changeset
   250
* Hotfix - Added placeholder to background-image. Contributors via github @BassemN.
bf1778c34b9a upgrade optiontree
ymh <ymh.work@gmail.com>
parents: 7
diff changeset
   251
bf1778c34b9a upgrade optiontree
ymh <ymh.work@gmail.com>
parents: 7
diff changeset
   252
= 2.4.3 =
bf1778c34b9a upgrade optiontree
ymh <ymh.work@gmail.com>
parents: 7
diff changeset
   253
* Hotfix - WordPress 4.0 compatible.
bf1778c34b9a upgrade optiontree
ymh <ymh.work@gmail.com>
parents: 7
diff changeset
   254
* Hotfix - Fixed an issue where all media was being attached to the default OptionTree media post.
bf1778c34b9a upgrade optiontree
ymh <ymh.work@gmail.com>
parents: 7
diff changeset
   255
* Hotfix - Removed the deprecated `screen_icon()` function.
bf1778c34b9a upgrade optiontree
ymh <ymh.work@gmail.com>
parents: 7
diff changeset
   256
* Hotfix - Fixed the `ot_line_height_range_interval` filter being misnamed as `ot_line_height_unit_type`. Contributors via github @youri--.
bf1778c34b9a upgrade optiontree
ymh <ymh.work@gmail.com>
parents: 7
diff changeset
   257
* Hotfix - Fixed a conflict with "Frontend Publishing Pro" when using the media uploader on the front-end.
bf1778c34b9a upgrade optiontree
ymh <ymh.work@gmail.com>
parents: 7
diff changeset
   258
* Hotfix - Increase condition performance. Contributors via github @designst.
bf1778c34b9a upgrade optiontree
ymh <ymh.work@gmail.com>
parents: 7
diff changeset
   259
* Hotfix - Add custom style classes to list-item settings. Contributors via github @designst.
bf1778c34b9a upgrade optiontree
ymh <ymh.work@gmail.com>
parents: 7
diff changeset
   260
* Hotfix - Check for `post_title` instead of `post_name` in `ot_get_media_post_ID()`. Contributors via github @clifgriffin.
bf1778c34b9a upgrade optiontree
ymh <ymh.work@gmail.com>
parents: 7
diff changeset
   261
* Hotfix - Store the return value of `ot_get_media_post_ID()` in the options table as `ot_media_post_ID`.
bf1778c34b9a upgrade optiontree
ymh <ymh.work@gmail.com>
parents: 7
diff changeset
   262
* Hotfix - Added padding to List Items options to reflect the same UI as individual options. Contributors via github @valendesigns and @designst.
bf1778c34b9a upgrade optiontree
ymh <ymh.work@gmail.com>
parents: 7
diff changeset
   263
* Hotfix - Fixed a bug that caused the Social Links option type to not properly import.
bf1778c34b9a upgrade optiontree
ymh <ymh.work@gmail.com>
parents: 7
diff changeset
   264
bf1778c34b9a upgrade optiontree
ymh <ymh.work@gmail.com>
parents: 7
diff changeset
   265
= 2.4.2 =
bf1778c34b9a upgrade optiontree
ymh <ymh.work@gmail.com>
parents: 7
diff changeset
   266
* Hotfix - Fixed a PHP notice that was created when `background-size` in the Background option type is undefined.
bf1778c34b9a upgrade optiontree
ymh <ymh.work@gmail.com>
parents: 7
diff changeset
   267
* Hotfix - Fixed an issue with the Upload option type, in attachment ID mode, not storing its value.
bf1778c34b9a upgrade optiontree
ymh <ymh.work@gmail.com>
parents: 7
diff changeset
   268
* Hotfix - Replaced `load_template` with `require` throught the documentation.
bf1778c34b9a upgrade optiontree
ymh <ymh.work@gmail.com>
parents: 7
diff changeset
   269
* Hotfix - Added a settings ID auto-fill that is based on the text of the settings label in the Theme Options UI Builder. Contributors via github @valendesigns and @Ore4444.
bf1778c34b9a upgrade optiontree
ymh <ymh.work@gmail.com>
parents: 7
diff changeset
   270
* Hotfix - Added filter `ot_override_forced_textarea_simple` to allow the Textarea option type to be moved in the DOM and not replaced with the Textarea Simple option type in meta boxes and list items.
bf1778c34b9a upgrade optiontree
ymh <ymh.work@gmail.com>
parents: 7
diff changeset
   271
bf1778c34b9a upgrade optiontree
ymh <ymh.work@gmail.com>
parents: 7
diff changeset
   272
= 2.4.1 =
bf1778c34b9a upgrade optiontree
ymh <ymh.work@gmail.com>
parents: 7
diff changeset
   273
* Hotfix - Fixed a typo in the demo Theme Options related to the `social-links`.
bf1778c34b9a upgrade optiontree
ymh <ymh.work@gmail.com>
parents: 7
diff changeset
   274
* Hotfix - Fixed the language directory path conflict between IIS and Linux while in Theme Mode.
bf1778c34b9a upgrade optiontree
ymh <ymh.work@gmail.com>
parents: 7
diff changeset
   275
* Hotfix - Fixed a style issue where select fields would overflow their parent elements.
bf1778c34b9a upgrade optiontree
ymh <ymh.work@gmail.com>
parents: 7
diff changeset
   276
* Hotfix - Fixed a PHP notice that was created when the Measurement option type did not have a saved value.
bf1778c34b9a upgrade optiontree
ymh <ymh.work@gmail.com>
parents: 7
diff changeset
   277
bf1778c34b9a upgrade optiontree
ymh <ymh.work@gmail.com>
parents: 7
diff changeset
   278
= 2.4.0 =
bf1778c34b9a upgrade optiontree
ymh <ymh.work@gmail.com>
parents: 7
diff changeset
   279
* Added filter 'ot_post_formats' which loads meta boxes specifically for post formats.
bf1778c34b9a upgrade optiontree
ymh <ymh.work@gmail.com>
parents: 7
diff changeset
   280
* Added the Social Links option type.
bf1778c34b9a upgrade optiontree
ymh <ymh.work@gmail.com>
parents: 7
diff changeset
   281
* Fixed OptionTree being conflicted due to having both the plugin and theme version activated. Contributors via github @valendesigns and @bitcommit.
bf1778c34b9a upgrade optiontree
ymh <ymh.work@gmail.com>
parents: 7
diff changeset
   282
* Added an admin notice when the UI Builder is being overridden by custom theme options.
bf1778c34b9a upgrade optiontree
ymh <ymh.work@gmail.com>
parents: 7
diff changeset
   283
* Allow the Upload option type to be stored as an attachment ID by adding `ot-upload-attachment-id` to the elements `class` attribute. Contributors via github @valendesigns and @krisarsov.
bf1778c34b9a upgrade optiontree
ymh <ymh.work@gmail.com>
parents: 7
diff changeset
   284
* Fixed an issue with the CSS option type not showing the Ace editor in a metabox that is broken into tabbed content.
bf1778c34b9a upgrade optiontree
ymh <ymh.work@gmail.com>
parents: 7
diff changeset
   285
* Fixed missing option type translation strings. Contributors via github @RistoNiinemets.
bf1778c34b9a upgrade optiontree
ymh <ymh.work@gmail.com>
parents: 7
diff changeset
   286
* Replaced mysql functions with the wpdb equivalent. Contributors via github @joshlevinson.
bf1778c34b9a upgrade optiontree
ymh <ymh.work@gmail.com>
parents: 7
diff changeset
   287
* Fixed search order of the `contains` condition string. Contributors via github @designst.
bf1778c34b9a upgrade optiontree
ymh <ymh.work@gmail.com>
parents: 7
diff changeset
   288
* Added meta box field wrapper class if a custom field class is defined in the settings. Contributors via github @designst.
bf1778c34b9a upgrade optiontree
ymh <ymh.work@gmail.com>
parents: 7
diff changeset
   289
* Added filter 'ot_type_select_choices' to dynamically change select choices. Contributors via github @maimairel and @valendesigns.
bf1778c34b9a upgrade optiontree
ymh <ymh.work@gmail.com>
parents: 7
diff changeset
   290
* Fixed a bug that added an unnecessary directory separator to the `load_theme_textdomain()` `$path` variable. Contributors via github @PatrickDelancy and @valendesigns.
bf1778c34b9a upgrade optiontree
ymh <ymh.work@gmail.com>
parents: 7
diff changeset
   291
* Fixed the state of metabox radio buttons after a Drag & Drop event. Contributors via github @themovation and @valendesigns.
bf1778c34b9a upgrade optiontree
ymh <ymh.work@gmail.com>
parents: 7
diff changeset
   292
* Fixed conditions not working correctly within list items.
bf1778c34b9a upgrade optiontree
ymh <ymh.work@gmail.com>
parents: 7
diff changeset
   293
* Fixed the min-height issue when using tabs in metaboxes.
bf1778c34b9a upgrade optiontree
ymh <ymh.work@gmail.com>
parents: 7
diff changeset
   294
* Added filter `ot_recognized_font_sizes` to dynamically change the font sizes by field ID.
bf1778c34b9a upgrade optiontree
ymh <ymh.work@gmail.com>
parents: 7
diff changeset
   295
* Added filter `ot_recognized_letter_spacing` to dynamically change the letter spacing by field ID.
bf1778c34b9a upgrade optiontree
ymh <ymh.work@gmail.com>
parents: 7
diff changeset
   296
* Added filter `ot_recognized_line_heights` to dynamically change the line heights by field ID.
bf1778c34b9a upgrade optiontree
ymh <ymh.work@gmail.com>
parents: 7
diff changeset
   297
* Fixed a style issue where list item labels in metaboxes were not displaying correctly.
bf1778c34b9a upgrade optiontree
ymh <ymh.work@gmail.com>
parents: 7
diff changeset
   298
* Fixed an issue where the WooCommerce plugin would alter the style of metabox tabs on product pages.
bf1778c34b9a upgrade optiontree
ymh <ymh.work@gmail.com>
parents: 7
diff changeset
   299
bf1778c34b9a upgrade optiontree
ymh <ymh.work@gmail.com>
parents: 7
diff changeset
   300
= 2.3.4 =
bf1778c34b9a upgrade optiontree
ymh <ymh.work@gmail.com>
parents: 7
diff changeset
   301
* Hotfix - Fixed an issue where condition number values were being treated like strings and not returning a correct boolean response.
bf1778c34b9a upgrade optiontree
ymh <ymh.work@gmail.com>
parents: 7
diff changeset
   302
bf1778c34b9a upgrade optiontree
ymh <ymh.work@gmail.com>
parents: 7
diff changeset
   303
= 2.3.3 =
bf1778c34b9a upgrade optiontree
ymh <ymh.work@gmail.com>
parents: 7
diff changeset
   304
* Hotfix - Fixed subfolder compatibility with versions of Windows that use backslashes instead of forward slashes. Contributors via github @primozcigler and @valendesigns.
bf1778c34b9a upgrade optiontree
ymh <ymh.work@gmail.com>
parents: 7
diff changeset
   305
* Hotfix - Fixed missing text domain in demo files. Contributors via github @jetonr.
bf1778c34b9a upgrade optiontree
ymh <ymh.work@gmail.com>
parents: 7
diff changeset
   306
* Hotfix - Added filter `ot_migrate_settings_id` to migrate themes that used `option_tree_settings` and now use a custom settings ID.
bf1778c34b9a upgrade optiontree
ymh <ymh.work@gmail.com>
parents: 7
diff changeset
   307
* Hotfix - Added filter `ot_migrate_options_id` to migrate themes that used `option_tree` and now use a custom options ID.
bf1778c34b9a upgrade optiontree
ymh <ymh.work@gmail.com>
parents: 7
diff changeset
   308
* Hotfix - Added filter `ot_migrate_layouts_id` to migrate themes that used `option_tree_layouts` and now use a custom layouts ID.
bf1778c34b9a upgrade optiontree
ymh <ymh.work@gmail.com>
parents: 7
diff changeset
   309
bf1778c34b9a upgrade optiontree
ymh <ymh.work@gmail.com>
parents: 7
diff changeset
   310
= 2.3.2 =
bf1778c34b9a upgrade optiontree
ymh <ymh.work@gmail.com>
parents: 7
diff changeset
   311
* Hotfix - Fixed an issue with the `ot_create_media_post` function creating multiple `option-tree` posts.
bf1778c34b9a upgrade optiontree
ymh <ymh.work@gmail.com>
parents: 7
diff changeset
   312
* Hotfix - Change the icon used by the layout management option type to differentiate it from the edit button.
bf1778c34b9a upgrade optiontree
ymh <ymh.work@gmail.com>
parents: 7
diff changeset
   313
* Hotfix - Suppress PHP warning in the Background option type "Invalid argument supplied for foreach()". Contributors via github @tomkwok.
bf1778c34b9a upgrade optiontree
ymh <ymh.work@gmail.com>
parents: 7
diff changeset
   314
* Hotfix - Added filter `ot_type_date_picker_date_format` to change the date format of the Date Picker option type.
bf1778c34b9a upgrade optiontree
ymh <ymh.work@gmail.com>
parents: 7
diff changeset
   315
* Hotfix - Added filter `ot_type_date_time_picker_date_format` to change the date format of the Date Time Picker option type.
bf1778c34b9a upgrade optiontree
ymh <ymh.work@gmail.com>
parents: 7
diff changeset
   316
bf1778c34b9a upgrade optiontree
ymh <ymh.work@gmail.com>
parents: 7
diff changeset
   317
= 2.3.1 =
bf1778c34b9a upgrade optiontree
ymh <ymh.work@gmail.com>
parents: 7
diff changeset
   318
* Hotfix - Fixed a bug with the Gallery option type that would show attachments in the media window when none had been added yet.
bf1778c34b9a upgrade optiontree
ymh <ymh.work@gmail.com>
parents: 7
diff changeset
   319
* Hotfix - Added the option to save the Gallery as a shortcode by adding `ot-gallery-shortcode` to the elements `class` attribute.
bf1778c34b9a upgrade optiontree
ymh <ymh.work@gmail.com>
parents: 7
diff changeset
   320
* Hotfix - Fixed conditions not being effective in List Items directly after clicking "Add New". Contributors via github @bitcommit.
bf1778c34b9a upgrade optiontree
ymh <ymh.work@gmail.com>
parents: 7
diff changeset
   321
bf1778c34b9a upgrade optiontree
ymh <ymh.work@gmail.com>
parents: 7
diff changeset
   322
= 2.3.0 =
bf1778c34b9a upgrade optiontree
ymh <ymh.work@gmail.com>
parents: 7
diff changeset
   323
* Added the Tab option type.
bf1778c34b9a upgrade optiontree
ymh <ymh.work@gmail.com>
parents: 7
diff changeset
   324
* Added Ace Editor to the CSS option type. Contributors via github @imangm and @valendesigns.
bf1778c34b9a upgrade optiontree
ymh <ymh.work@gmail.com>
parents: 7
diff changeset
   325
* Added support for WordPress 3.8 color schemes.
bf1778c34b9a upgrade optiontree
ymh <ymh.work@gmail.com>
parents: 7
diff changeset
   326
* Added support for RTL languages. Contributors via github @omid-khd and @valendesigns.
bf1778c34b9a upgrade optiontree
ymh <ymh.work@gmail.com>
parents: 7
diff changeset
   327
* Added actions before and after the enqueue styles and scripts.
bf1778c34b9a upgrade optiontree
ymh <ymh.work@gmail.com>
parents: 7
diff changeset
   328
* Added Date Picker option type. Contributors via github @jetonr and @valendesigns.
bf1778c34b9a upgrade optiontree
ymh <ymh.work@gmail.com>
parents: 7
diff changeset
   329
* Added Date Time Picker option type. Contributors via github @jetonr and @valendesigns.
bf1778c34b9a upgrade optiontree
ymh <ymh.work@gmail.com>
parents: 7
diff changeset
   330
* Added filter 'ot_list_item_title_label' to change the label for a List Item's required title field.
bf1778c34b9a upgrade optiontree
ymh <ymh.work@gmail.com>
parents: 7
diff changeset
   331
* Added filter 'ot_list_item_title_desc' to change the description for a List Item's required title field.
bf1778c34b9a upgrade optiontree
ymh <ymh.work@gmail.com>
parents: 7
diff changeset
   332
* Added filter 'ot_options_id' to change the 'option_tree' option ID to a unique value.
bf1778c34b9a upgrade optiontree
ymh <ymh.work@gmail.com>
parents: 7
diff changeset
   333
* Added filter 'ot_settings_id' to change the 'option_tree_settings' option ID to a unique value.
bf1778c34b9a upgrade optiontree
ymh <ymh.work@gmail.com>
parents: 7
diff changeset
   334
* Added filter 'ot_layouts_id' to change the 'option_tree_layouts' option ID to a unique value.
bf1778c34b9a upgrade optiontree
ymh <ymh.work@gmail.com>
parents: 7
diff changeset
   335
* Added filter 'ot_header_logo_link' to change the logo link inside the header of OptionTree.
bf1778c34b9a upgrade optiontree
ymh <ymh.work@gmail.com>
parents: 7
diff changeset
   336
* Added filter 'ot_header_version_text' to change the version text inside the header of OptionTree.
bf1778c34b9a upgrade optiontree
ymh <ymh.work@gmail.com>
parents: 7
diff changeset
   337
* Added action 'ot_header_list' to add additional theme specific list items to the header of OptionTree.
bf1778c34b9a upgrade optiontree
ymh <ymh.work@gmail.com>
parents: 7
diff changeset
   338
* Added filter 'ot_upload_text' to change the "Send to OptionTree" text.
bf1778c34b9a upgrade optiontree
ymh <ymh.work@gmail.com>
parents: 7
diff changeset
   339
* Added the CSS Class field value to the parent `.format-settings` div in addition to the class being added to the element. Each class is now appended with `-wrap`.
bf1778c34b9a upgrade optiontree
ymh <ymh.work@gmail.com>
parents: 7
diff changeset
   340
* Added support for [Composer](https://github.com/composer/composer). Contributors via github @designst.
bf1778c34b9a upgrade optiontree
ymh <ymh.work@gmail.com>
parents: 7
diff changeset
   341
* Added support for adding I18n text domains to the exported `theme-options.php` file.
bf1778c34b9a upgrade optiontree
ymh <ymh.work@gmail.com>
parents: 7
diff changeset
   342
* Fixed a bug that kept the UI from displaying when using the `ot_type_background_size_choices` filter.
bf1778c34b9a upgrade optiontree
ymh <ymh.work@gmail.com>
parents: 7
diff changeset
   343
* Fixed a bug that caused the Gallery option type to save a single space instead of `null`.
bf1778c34b9a upgrade optiontree
ymh <ymh.work@gmail.com>
parents: 7
diff changeset
   344
* Fixed the return value of the Background, Measurement, and Typography option types. They now return `null` if no values are saved to the array.
bf1778c34b9a upgrade optiontree
ymh <ymh.work@gmail.com>
parents: 7
diff changeset
   345
* Fixed a bug that resulted in a PHP warning if the choices array was set to an empty string.
bf1778c34b9a upgrade optiontree
ymh <ymh.work@gmail.com>
parents: 7
diff changeset
   346
* Updated the documentation, including this `readme.txt` and a new demo [OptionTree Theme](https://github.com/valendesigns/option-tree-theme) to parallel OptionTree.
bf1778c34b9a upgrade optiontree
ymh <ymh.work@gmail.com>
parents: 7
diff changeset
   347
* Added filter 'ot_type_radio_image_src' which allows the Radio Image option type source URI to be changed. Contributors via github @bitcommit.
bf1778c34b9a upgrade optiontree
ymh <ymh.work@gmail.com>
parents: 7
diff changeset
   348
bf1778c34b9a upgrade optiontree
ymh <ymh.work@gmail.com>
parents: 7
diff changeset
   349
= 2.2.3 =
bf1778c34b9a upgrade optiontree
ymh <ymh.work@gmail.com>
parents: 7
diff changeset
   350
* Hotfix - Allow empty condition values. For example, `field_id:is()` or `field_id:not()` would now be valid syntax.
bf1778c34b9a upgrade optiontree
ymh <ymh.work@gmail.com>
parents: 7
diff changeset
   351
* Hotfix - Fixed a bug in the `init_upload_fix` JavaScript method.
bf1778c34b9a upgrade optiontree
ymh <ymh.work@gmail.com>
parents: 7
diff changeset
   352
* Hotfix - Fixed a bug in the `url_exists` javaScript method. The code will no longer will check if a URL exists on another domain.
bf1778c34b9a upgrade optiontree
ymh <ymh.work@gmail.com>
parents: 7
diff changeset
   353
bf1778c34b9a upgrade optiontree
ymh <ymh.work@gmail.com>
parents: 7
diff changeset
   354
= 2.2.2 =
bf1778c34b9a upgrade optiontree
ymh <ymh.work@gmail.com>
parents: 7
diff changeset
   355
* Hotfix - Added support for both upper and lower case conditions operator.
bf1778c34b9a upgrade optiontree
ymh <ymh.work@gmail.com>
parents: 7
diff changeset
   356
* Hotfix - Updated the color and font size of inline code.
bf1778c34b9a upgrade optiontree
ymh <ymh.work@gmail.com>
parents: 7
diff changeset
   357
* Hotfix - Fix an issue with IE filter and updated the style of the On/Off option type.
bf1778c34b9a upgrade optiontree
ymh <ymh.work@gmail.com>
parents: 7
diff changeset
   358
* Hotfix - Added opacity to radio images to improve distinction. Contributors via github @jetonr.
bf1778c34b9a upgrade optiontree
ymh <ymh.work@gmail.com>
parents: 7
diff changeset
   359
bf1778c34b9a upgrade optiontree
ymh <ymh.work@gmail.com>
parents: 7
diff changeset
   360
= 2.2.1 =
bf1778c34b9a upgrade optiontree
ymh <ymh.work@gmail.com>
parents: 7
diff changeset
   361
* Hotfix - Fixed a UI bug that caused the layouts input to cover the wp menu.
bf1778c34b9a upgrade optiontree
ymh <ymh.work@gmail.com>
parents: 7
diff changeset
   362
* Hotfix - Moved the screen shots to the WordPress SVN assets directory.
bf1778c34b9a upgrade optiontree
ymh <ymh.work@gmail.com>
parents: 7
diff changeset
   363
bf1778c34b9a upgrade optiontree
ymh <ymh.work@gmail.com>
parents: 7
diff changeset
   364
= 2.2.0 =
bf1778c34b9a upgrade optiontree
ymh <ymh.work@gmail.com>
parents: 7
diff changeset
   365
* Added the Gallery option type.
bf1778c34b9a upgrade optiontree
ymh <ymh.work@gmail.com>
parents: 7
diff changeset
   366
* Added the On/Off option type.
bf1778c34b9a upgrade optiontree
ymh <ymh.work@gmail.com>
parents: 7
diff changeset
   367
* Replaced the old Color Picker with the default WP Color Picker.
bf1778c34b9a upgrade optiontree
ymh <ymh.work@gmail.com>
parents: 7
diff changeset
   368
* Added UI support for WordPress 3.8. Contributors via github @AlxMedia, and @valendesigns.
bf1778c34b9a upgrade optiontree
ymh <ymh.work@gmail.com>
parents: 7
diff changeset
   369
* Added support for conditional toggling of settings fields. Contributors via github @maimairel, @valendesigns, @doitmax, and @imangm.
bf1778c34b9a upgrade optiontree
ymh <ymh.work@gmail.com>
parents: 7
diff changeset
   370
* Replaced the OptionTree image icon with a font version.
bf1778c34b9a upgrade optiontree
ymh <ymh.work@gmail.com>
parents: 7
diff changeset
   371
* Added 'background-size' to the Background option type.
bf1778c34b9a upgrade optiontree
ymh <ymh.work@gmail.com>
parents: 7
diff changeset
   372
* Added fallback text when displaying posts without titles in various option types.
bf1778c34b9a upgrade optiontree
ymh <ymh.work@gmail.com>
parents: 7
diff changeset
   373
* Added filter 'ot_recognized_background_fields' to show/hide fields for background option types.
bf1778c34b9a upgrade optiontree
ymh <ymh.work@gmail.com>
parents: 7
diff changeset
   374
* Added filter 'ot_filter_description' that allows the theme option descriptions to be filtered before being displayed.
bf1778c34b9a upgrade optiontree
ymh <ymh.work@gmail.com>
parents: 7
diff changeset
   375
* Added subfolder compatibility in theme mode. Contributors via github @doitmax, and @valendesigns.
bf1778c34b9a upgrade optiontree
ymh <ymh.work@gmail.com>
parents: 7
diff changeset
   376
* Fixed a bug caused by using 'home_url' when loading dynamic CSS files.
bf1778c34b9a upgrade optiontree
ymh <ymh.work@gmail.com>
parents: 7
diff changeset
   377
* Fixed an issue where you could not save metabox text field values as "0". Contributors via github @sparkdevelopment, and @valendesigns.
bf1778c34b9a upgrade optiontree
ymh <ymh.work@gmail.com>
parents: 7
diff changeset
   378
* Fixed the broken localization directory path in theme mode. Contributors via github @youri--, and @valendesigns.
bf1778c34b9a upgrade optiontree
ymh <ymh.work@gmail.com>
parents: 7
diff changeset
   379
* Fixed missing custom class for the Numeric Slider. Contributors via github @doitmax.
bf1778c34b9a upgrade optiontree
ymh <ymh.work@gmail.com>
parents: 7
diff changeset
   380
* Added filter 'ot_type_category_checkbox_query' which allows you to filter the get_categories() args for Category Checkbox.
bf1778c34b9a upgrade optiontree
ymh <ymh.work@gmail.com>
parents: 7
diff changeset
   381
* Added filter 'ot_type_category_select_query' which allows you to filter the get_categories() args for Category Select.
bf1778c34b9a upgrade optiontree
ymh <ymh.work@gmail.com>
parents: 7
diff changeset
   382
* Added filter 'ot_type_taxonomy_checkbox_query' which allows you to filter the get_categories() args for Taxonomy Checkbox.
bf1778c34b9a upgrade optiontree
ymh <ymh.work@gmail.com>
parents: 7
diff changeset
   383
* Added filter 'ot_type_taxonomy_select_query' which allows you to filter the get_categories() args for Taxonomy Select.
bf1778c34b9a upgrade optiontree
ymh <ymh.work@gmail.com>
parents: 7
diff changeset
   384
* Added the 'ot_echo_option' function. Contributors via github @joshlevinson.
bf1778c34b9a upgrade optiontree
ymh <ymh.work@gmail.com>
parents: 7
diff changeset
   385
* Added filter 'ot_theme_options_contextual_help' which allows you to filter the Contextual Help on the Theme Options page.
bf1778c34b9a upgrade optiontree
ymh <ymh.work@gmail.com>
parents: 7
diff changeset
   386
* Added filter 'ot_theme_options_sections' which allows you to filter the Sections on the Theme Options page. Contributors via github @joshlevinson.
bf1778c34b9a upgrade optiontree
ymh <ymh.work@gmail.com>
parents: 7
diff changeset
   387
* Added filter 'ot_theme_options_settings' which allows you to filter the Settings on the Theme Options page. Contributors via github @joshlevinson.
bf1778c34b9a upgrade optiontree
ymh <ymh.work@gmail.com>
parents: 7
diff changeset
   388
bf1778c34b9a upgrade optiontree
ymh <ymh.work@gmail.com>
parents: 7
diff changeset
   389
= 2.1.4 =
bf1778c34b9a upgrade optiontree
ymh <ymh.work@gmail.com>
parents: 7
diff changeset
   390
* Hotfix - Fixed the Numeric Slider not work inside of a newly added List item.
bf1778c34b9a upgrade optiontree
ymh <ymh.work@gmail.com>
parents: 7
diff changeset
   391
* Hotfix - Fixed the numeric slider fallback value being set to 0, it now becomes the minimum value if no standard is set.
bf1778c34b9a upgrade optiontree
ymh <ymh.work@gmail.com>
parents: 7
diff changeset
   392
* Hotfix - Allow single quotes in std and choice value when exporting theme-options.php. Contributors via github @maimairel.
bf1778c34b9a upgrade optiontree
ymh <ymh.work@gmail.com>
parents: 7
diff changeset
   393
* Hotfix - Additional Themecheck bypass for required functions. Contributors via github @maimairel.
bf1778c34b9a upgrade optiontree
ymh <ymh.work@gmail.com>
parents: 7
diff changeset
   394
* Hotfix - Fixed post meta information being lost when loading revisions. Contributors via github @live-mesh.
bf1778c34b9a upgrade optiontree
ymh <ymh.work@gmail.com>
parents: 7
diff changeset
   395
* Hotfix - Removed template queries in option types. Contributors via github @live-mesh.
bf1778c34b9a upgrade optiontree
ymh <ymh.work@gmail.com>
parents: 7
diff changeset
   396
bf1778c34b9a upgrade optiontree
ymh <ymh.work@gmail.com>
parents: 7
diff changeset
   397
= 2.1.3 =
bf1778c34b9a upgrade optiontree
ymh <ymh.work@gmail.com>
parents: 7
diff changeset
   398
* Hotfix - Loading OptionTree on the 'init' action proved to be wrong, it now loads on 'after_setup_theme'.
bf1778c34b9a upgrade optiontree
ymh <ymh.work@gmail.com>
parents: 7
diff changeset
   399
* Hotfix - Layouts were not being imported properly due to using the wrong path variable.
bf1778c34b9a upgrade optiontree
ymh <ymh.work@gmail.com>
parents: 7
diff changeset
   400
bf1778c34b9a upgrade optiontree
ymh <ymh.work@gmail.com>
parents: 7
diff changeset
   401
= 2.1.2 =
bf1778c34b9a upgrade optiontree
ymh <ymh.work@gmail.com>
parents: 7
diff changeset
   402
* Hotfix - Fixed a JS mistake that caused upload in list items and sliders to not open the media uploader until saved first.
bf1778c34b9a upgrade optiontree
ymh <ymh.work@gmail.com>
parents: 7
diff changeset
   403
* Hotfix - Load OptionTree on the 'init' action, which allows the UI filters to properly function when not in theme mode.
bf1778c34b9a upgrade optiontree
ymh <ymh.work@gmail.com>
parents: 7
diff changeset
   404
bf1778c34b9a upgrade optiontree
ymh <ymh.work@gmail.com>
parents: 7
diff changeset
   405
= 2.1.1 =
bf1778c34b9a upgrade optiontree
ymh <ymh.work@gmail.com>
parents: 7
diff changeset
   406
* Hotfix - The OT_SHOW_SETTINGS_EXPORT constant was incorrectly set to false as the default.
bf1778c34b9a upgrade optiontree
ymh <ymh.work@gmail.com>
parents: 7
diff changeset
   407
bf1778c34b9a upgrade optiontree
ymh <ymh.work@gmail.com>
parents: 7
diff changeset
   408
= 2.1 =
bf1778c34b9a upgrade optiontree
ymh <ymh.work@gmail.com>
parents: 7
diff changeset
   409
* Added support for WordPress 3.6.
bf1778c34b9a upgrade optiontree
ymh <ymh.work@gmail.com>
parents: 7
diff changeset
   410
* UI got a small but needed update, and is now more inline with WordPress.
bf1778c34b9a upgrade optiontree
ymh <ymh.work@gmail.com>
parents: 7
diff changeset
   411
* Added WPML support for the Text, Textarea, and Textarea Simple option types, and within list items; even after drag & drop.
bf1778c34b9a upgrade optiontree
ymh <ymh.work@gmail.com>
parents: 7
diff changeset
   412
* Upload now uses the media uploader introduced in WordPress 3.5. Contributors via github @htvu, @maimairel, and @valendesigns.
bf1778c34b9a upgrade optiontree
ymh <ymh.work@gmail.com>
parents: 7
diff changeset
   413
* Added a horizontal Numeric Slider option type. Contributors via github @maimairel and @valendesigns.
bf1778c34b9a upgrade optiontree
ymh <ymh.work@gmail.com>
parents: 7
diff changeset
   414
* Added a Sidebar Select option type. Contributors via github @maimairel.
bf1778c34b9a upgrade optiontree
ymh <ymh.work@gmail.com>
parents: 7
diff changeset
   415
* Removed additional deprecated assigning of return value in PHP.
bf1778c34b9a upgrade optiontree
ymh <ymh.work@gmail.com>
parents: 7
diff changeset
   416
* Fix missing "Send to OptionTree" button in CPT. Contributors via github @jomaddim.
bf1778c34b9a upgrade optiontree
ymh <ymh.work@gmail.com>
parents: 7
diff changeset
   417
* Fix option types that use $count instead of an array key to select the option value.
bf1778c34b9a upgrade optiontree
ymh <ymh.work@gmail.com>
parents: 7
diff changeset
   418
* Created functions to register the Theme Options & Settings pages, and with better filtering.
bf1778c34b9a upgrade optiontree
ymh <ymh.work@gmail.com>
parents: 7
diff changeset
   419
* Added relative path support for Radio Image choices.
bf1778c34b9a upgrade optiontree
ymh <ymh.work@gmail.com>
parents: 7
diff changeset
   420
* Added dynamic replacement of 'OT_URL' & 'OT_THEME_URL' in the Radio Image source path.
bf1778c34b9a upgrade optiontree
ymh <ymh.work@gmail.com>
parents: 7
diff changeset
   421
* Make '0' possible as a field value. Validate for empty strings instead of empty(). Contributors via github @maimairel.
bf1778c34b9a upgrade optiontree
ymh <ymh.work@gmail.com>
parents: 7
diff changeset
   422
* The 'ot_theme_options_capability' filter is now working for different capabilities like editor.
bf1778c34b9a upgrade optiontree
ymh <ymh.work@gmail.com>
parents: 7
diff changeset
   423
* The 'ot_display_by_type' filter is now being assigned to a value.
bf1778c34b9a upgrade optiontree
ymh <ymh.work@gmail.com>
parents: 7
diff changeset
   424
* Added filter 'ot_show_options_ui' which allows you to hide the Theme Options UI Builder.
bf1778c34b9a upgrade optiontree
ymh <ymh.work@gmail.com>
parents: 7
diff changeset
   425
* Added filter 'ot_show_settings_import' which allows you to hide the Settings Import options on the Import page.
bf1778c34b9a upgrade optiontree
ymh <ymh.work@gmail.com>
parents: 7
diff changeset
   426
* Added filter 'ot_show_settings_export' which allows you to hide the Settings Export options on the Export page.
bf1778c34b9a upgrade optiontree
ymh <ymh.work@gmail.com>
parents: 7
diff changeset
   427
* Added filter 'ot_show_docs' which allows you to hide the Documentation.
bf1778c34b9a upgrade optiontree
ymh <ymh.work@gmail.com>
parents: 7
diff changeset
   428
* Added filter 'ot_use_theme_options' which allows you to hide the OptionTree Theme Option page (not recommended for beginners).
bf1778c34b9a upgrade optiontree
ymh <ymh.work@gmail.com>
parents: 7
diff changeset
   429
* Added filter 'ot_list_item_description' which allows you to change the default list item description text.
bf1778c34b9a upgrade optiontree
ymh <ymh.work@gmail.com>
parents: 7
diff changeset
   430
* Added filter 'ot_type_custom_post_type_checkbox_query' which allows you to filter the get_posts() args for Custom Post Type Checkbox.
bf1778c34b9a upgrade optiontree
ymh <ymh.work@gmail.com>
parents: 7
diff changeset
   431
* Added filter 'ot_type_custom_post_type_select_query' which allows you to filter the get_posts() args for Custom Post Type Select.
bf1778c34b9a upgrade optiontree
ymh <ymh.work@gmail.com>
parents: 7
diff changeset
   432
* Added filter 'ot_type_page_checkbox_query' which allows you to filter the get_posts() args for Page Checkbox.
bf1778c34b9a upgrade optiontree
ymh <ymh.work@gmail.com>
parents: 7
diff changeset
   433
* Added filter 'ot_type_page_select_query' which allows you to filter the get_posts() args for Page Select.
bf1778c34b9a upgrade optiontree
ymh <ymh.work@gmail.com>
parents: 7
diff changeset
   434
* Added filter 'ot_type_post_checkbox_query' which allows you to filter the get_posts() args for Post Checkbox.
bf1778c34b9a upgrade optiontree
ymh <ymh.work@gmail.com>
parents: 7
diff changeset
   435
* Added filter 'ot_type_post_select_query' which allows you to filter the get_posts() args for Post Select.
bf1778c34b9a upgrade optiontree
ymh <ymh.work@gmail.com>
parents: 7
diff changeset
   436
bf1778c34b9a upgrade optiontree
ymh <ymh.work@gmail.com>
parents: 7
diff changeset
   437
= 2.0.16 =
bf1778c34b9a upgrade optiontree
ymh <ymh.work@gmail.com>
parents: 7
diff changeset
   438
* Fixed an urgent JS regression bug that caused the upload option type to break. Code contributed by @anonumus via github.
bf1778c34b9a upgrade optiontree
ymh <ymh.work@gmail.com>
parents: 7
diff changeset
   439
* Added 'font-color' to the typography filter.
bf1778c34b9a upgrade optiontree
ymh <ymh.work@gmail.com>
parents: 7
diff changeset
   440
bf1778c34b9a upgrade optiontree
ymh <ymh.work@gmail.com>
parents: 7
diff changeset
   441
= 2.0.15 =
bf1778c34b9a upgrade optiontree
ymh <ymh.work@gmail.com>
parents: 7
diff changeset
   442
* Added support for Child Theme mode.
bf1778c34b9a upgrade optiontree
ymh <ymh.work@gmail.com>
parents: 7
diff changeset
   443
* Improved handling of standard values when settings are written manually.
bf1778c34b9a upgrade optiontree
ymh <ymh.work@gmail.com>
parents: 7
diff changeset
   444
* Add filter for CSS insertion value.
bf1778c34b9a upgrade optiontree
ymh <ymh.work@gmail.com>
parents: 7
diff changeset
   445
* Added 'ot_before_theme_options_save' action hook.
bf1778c34b9a upgrade optiontree
ymh <ymh.work@gmail.com>
parents: 7
diff changeset
   446
* Fix 'indexOf' JS error when upload is closed without uploading.
bf1778c34b9a upgrade optiontree
ymh <ymh.work@gmail.com>
parents: 7
diff changeset
   447
* Add textarea std value when option type is 'textarea', 'textarea-simple', or 'css'.
bf1778c34b9a upgrade optiontree
ymh <ymh.work@gmail.com>
parents: 7
diff changeset
   448
* Remove load_template and revert back to include_once.
bf1778c34b9a upgrade optiontree
ymh <ymh.work@gmail.com>
parents: 7
diff changeset
   449
* Fixed dynamic.css regression from 2.0.13 that caused the file to not save.
bf1778c34b9a upgrade optiontree
ymh <ymh.work@gmail.com>
parents: 7
diff changeset
   450
bf1778c34b9a upgrade optiontree
ymh <ymh.work@gmail.com>
parents: 7
diff changeset
   451
= 2.0.14 =
bf1778c34b9a upgrade optiontree
ymh <ymh.work@gmail.com>
parents: 7
diff changeset
   452
* Removed deprecated assigning of return value in PHP.
bf1778c34b9a upgrade optiontree
ymh <ymh.work@gmail.com>
parents: 7
diff changeset
   453
* Patch to fix PHP notice regression with the use of load_template in a plugin after Theme Check update.
bf1778c34b9a upgrade optiontree
ymh <ymh.work@gmail.com>
parents: 7
diff changeset
   454
* Fixed missing required arguments in OT_Loader::add_layout.
bf1778c34b9a upgrade optiontree
ymh <ymh.work@gmail.com>
parents: 7
diff changeset
   455
* Removed esc_attr() on font-family check.
bf1778c34b9a upgrade optiontree
ymh <ymh.work@gmail.com>
parents: 7
diff changeset
   456
* Added a 'ot_theme_options_parent_slug' filter in ot-ui-theme-options.php
bf1778c34b9a upgrade optiontree
ymh <ymh.work@gmail.com>
parents: 7
diff changeset
   457
* Fixed WP_Error from the use of wp_get_remote() instead of file_get_contents().
bf1778c34b9a upgrade optiontree
ymh <ymh.work@gmail.com>
parents: 7
diff changeset
   458
bf1778c34b9a upgrade optiontree
ymh <ymh.work@gmail.com>
parents: 7
diff changeset
   459
= 2.0.13 =
bf1778c34b9a upgrade optiontree
ymh <ymh.work@gmail.com>
parents: 7
diff changeset
   460
* Removed almost all of the Theme Check nag messages when in 'ot_theme_mode'.
bf1778c34b9a upgrade optiontree
ymh <ymh.work@gmail.com>
parents: 7
diff changeset
   461
* Fix an issue where Media Upload stopped working on some servers.
bf1778c34b9a upgrade optiontree
ymh <ymh.work@gmail.com>
parents: 7
diff changeset
   462
bf1778c34b9a upgrade optiontree
ymh <ymh.work@gmail.com>
parents: 7
diff changeset
   463
= 2.0.12 =
bf1778c34b9a upgrade optiontree
ymh <ymh.work@gmail.com>
parents: 7
diff changeset
   464
* Added additional filters to the array that builds the Theme Option UI.
bf1778c34b9a upgrade optiontree
ymh <ymh.work@gmail.com>
parents: 7
diff changeset
   465
* Made option-tree post type private.
bf1778c34b9a upgrade optiontree
ymh <ymh.work@gmail.com>
parents: 7
diff changeset
   466
* Revert capabilities back to manage_options in ot-ui-admin.php.
bf1778c34b9a upgrade optiontree
ymh <ymh.work@gmail.com>
parents: 7
diff changeset
   467
* Upload now sends the URL of the selected image size to OptionTree.
bf1778c34b9a upgrade optiontree
ymh <ymh.work@gmail.com>
parents: 7
diff changeset
   468
* Added new range interval filter to font-size, letter-spacing, & line-height.
bf1778c34b9a upgrade optiontree
ymh <ymh.work@gmail.com>
parents: 7
diff changeset
   469
* Allow Typography fields to be filtered out of the UI.
bf1778c34b9a upgrade optiontree
ymh <ymh.work@gmail.com>
parents: 7
diff changeset
   470
bf1778c34b9a upgrade optiontree
ymh <ymh.work@gmail.com>
parents: 7
diff changeset
   471
= 2.0.11 =
bf1778c34b9a upgrade optiontree
ymh <ymh.work@gmail.com>
parents: 7
diff changeset
   472
* Added filters to the array that builds the Theme Option UI.
bf1778c34b9a upgrade optiontree
ymh <ymh.work@gmail.com>
parents: 7
diff changeset
   473
* Added .format-setting-wrap div to allow for complex CSS layouts.
bf1778c34b9a upgrade optiontree
ymh <ymh.work@gmail.com>
parents: 7
diff changeset
   474
* Added better namespacing for the Colorpicker option type.
bf1778c34b9a upgrade optiontree
ymh <ymh.work@gmail.com>
parents: 7
diff changeset
   475
* Fixed theme-options.php export where it was adding an extra comma.
bf1778c34b9a upgrade optiontree
ymh <ymh.work@gmail.com>
parents: 7
diff changeset
   476
bf1778c34b9a upgrade optiontree
ymh <ymh.work@gmail.com>
parents: 7
diff changeset
   477
= 2.0.10 =
bf1778c34b9a upgrade optiontree
ymh <ymh.work@gmail.com>
parents: 7
diff changeset
   478
* Fixed a bug where the Textarea row count wasn't working for List Items.
bf1778c34b9a upgrade optiontree
ymh <ymh.work@gmail.com>
parents: 7
diff changeset
   479
* Added an apply_filter to the exported theme-options.php file.
bf1778c34b9a upgrade optiontree
ymh <ymh.work@gmail.com>
parents: 7
diff changeset
   480
* Added CSS id's to tabs and settings.
bf1778c34b9a upgrade optiontree
ymh <ymh.work@gmail.com>
parents: 7
diff changeset
   481
* Allow "New Layout" section to be hidden on the theme options page via a filter.
bf1778c34b9a upgrade optiontree
ymh <ymh.work@gmail.com>
parents: 7
diff changeset
   482
* Fixed a bug where the Colorpicker was not closing in List Items.
bf1778c34b9a upgrade optiontree
ymh <ymh.work@gmail.com>
parents: 7
diff changeset
   483
* Change capabilities from manage_options to edit_theme_options.
bf1778c34b9a upgrade optiontree
ymh <ymh.work@gmail.com>
parents: 7
diff changeset
   484
* Remove Textblock title in List Items & Metaboxes.
bf1778c34b9a upgrade optiontree
ymh <ymh.work@gmail.com>
parents: 7
diff changeset
   485
* Fixed a List Item bug that incorrectly added ID's based on counting objects - submitted by Spark
bf1778c34b9a upgrade optiontree
ymh <ymh.work@gmail.com>
parents: 7
diff changeset
   486
* Fixed incorrect text domain paths for both plugin and theme mode.
bf1778c34b9a upgrade optiontree
ymh <ymh.work@gmail.com>
parents: 7
diff changeset
   487
* Fixed a bug with UI Sortable not properly calculating the container height.
bf1778c34b9a upgrade optiontree
ymh <ymh.work@gmail.com>
parents: 7
diff changeset
   488
* Fixed Select dropdown selector bug - submitted by Manfred Haltner
bf1778c34b9a upgrade optiontree
ymh <ymh.work@gmail.com>
parents: 7
diff changeset
   489
* Fixed Radio Image remove class bug - submitted by designst
bf1778c34b9a upgrade optiontree
ymh <ymh.work@gmail.com>
parents: 7
diff changeset
   490
* Added new typography fields - submitted by darknailblue
bf1778c34b9a upgrade optiontree
ymh <ymh.work@gmail.com>
parents: 7
diff changeset
   491
* Added dynamic CSS support for new typography fields.
bf1778c34b9a upgrade optiontree
ymh <ymh.work@gmail.com>
parents: 7
diff changeset
   492
* Added new filters to typography fields, including low/high range & unit types.
bf1778c34b9a upgrade optiontree
ymh <ymh.work@gmail.com>
parents: 7
diff changeset
   493
bf1778c34b9a upgrade optiontree
ymh <ymh.work@gmail.com>
parents: 7
diff changeset
   494
= 2.0.9 =
bf1778c34b9a upgrade optiontree
ymh <ymh.work@gmail.com>
parents: 7
diff changeset
   495
* Fixed the issue where the Textarea Simple and CSS option types were mysteriously being ran through wpautop.
bf1778c34b9a upgrade optiontree
ymh <ymh.work@gmail.com>
parents: 7
diff changeset
   496
* Added missing class setting to Textarea, Textarea Simple, & CSS option types.
bf1778c34b9a upgrade optiontree
ymh <ymh.work@gmail.com>
parents: 7
diff changeset
   497
* Fixed theme-options.php exported array where label values were not correct.
bf1778c34b9a upgrade optiontree
ymh <ymh.work@gmail.com>
parents: 7
diff changeset
   498
* Change GET to POST for all AJAX calls to fix a bug where some servers would not allow long strings to be passed in GET variables.
bf1778c34b9a upgrade optiontree
ymh <ymh.work@gmail.com>
parents: 7
diff changeset
   499
* Added the 'ot_after_validate_setting' filter to the validation function.
bf1778c34b9a upgrade optiontree
ymh <ymh.work@gmail.com>
parents: 7
diff changeset
   500
* Added $field_id to the ot_validate_setting() for more precise filtering.
bf1778c34b9a upgrade optiontree
ymh <ymh.work@gmail.com>
parents: 7
diff changeset
   501
* Added the ot_reverse_wpautop() function that you can run input through just incase you need it.
bf1778c34b9a upgrade optiontree
ymh <ymh.work@gmail.com>
parents: 7
diff changeset
   502
* Updated the docs to include information on why WYSIWYG editors are not allowed in meta boxes and that they revert to a Textarea Simple.
bf1778c34b9a upgrade optiontree
ymh <ymh.work@gmail.com>
parents: 7
diff changeset
   503
* Update option-tree.pot file.
bf1778c34b9a upgrade optiontree
ymh <ymh.work@gmail.com>
parents: 7
diff changeset
   504
bf1778c34b9a upgrade optiontree
ymh <ymh.work@gmail.com>
parents: 7
diff changeset
   505
= 2.0.8 =
bf1778c34b9a upgrade optiontree
ymh <ymh.work@gmail.com>
parents: 7
diff changeset
   506
* Add auto import for backwards compatibility of old 1.x files.
bf1778c34b9a upgrade optiontree
ymh <ymh.work@gmail.com>
parents: 7
diff changeset
   507
* Added the ability to export settings into a fully functional theme-options.php.
bf1778c34b9a upgrade optiontree
ymh <ymh.work@gmail.com>
parents: 7
diff changeset
   508
* Fix typo in docs regarding the filter demo code.
bf1778c34b9a upgrade optiontree
ymh <ymh.work@gmail.com>
parents: 7
diff changeset
   509
* Removed slashes in the section and contextual help titles.
bf1778c34b9a upgrade optiontree
ymh <ymh.work@gmail.com>
parents: 7
diff changeset
   510
* Made colorpicker input field alignment more cross browser compatible.
bf1778c34b9a upgrade optiontree
ymh <ymh.work@gmail.com>
parents: 7
diff changeset
   511
bf1778c34b9a upgrade optiontree
ymh <ymh.work@gmail.com>
parents: 7
diff changeset
   512
= 2.0.7 =
bf1778c34b9a upgrade optiontree
ymh <ymh.work@gmail.com>
parents: 7
diff changeset
   513
* Fixed the load order to be compatible with 1.x version themes that think the get_option_tree() function doesn't exist yet.
bf1778c34b9a upgrade optiontree
ymh <ymh.work@gmail.com>
parents: 7
diff changeset
   514
* Tested and compatible with Cudazi themes, but the nag message is still visible.
bf1778c34b9a upgrade optiontree
ymh <ymh.work@gmail.com>
parents: 7
diff changeset
   515
bf1778c34b9a upgrade optiontree
ymh <ymh.work@gmail.com>
parents: 7
diff changeset
   516
= 2.0.6 =
bf1778c34b9a upgrade optiontree
ymh <ymh.work@gmail.com>
parents: 7
diff changeset
   517
* Run the 'option_tree' array through validation when importing data and layouts.
bf1778c34b9a upgrade optiontree
ymh <ymh.work@gmail.com>
parents: 7
diff changeset
   518
* Fix a bug where list items and sliders were not allowing the user to select the input field.
bf1778c34b9a upgrade optiontree
ymh <ymh.work@gmail.com>
parents: 7
diff changeset
   519
* Add a filter that allows you to not load resources for meta boxes if you're not going to use them.
bf1778c34b9a upgrade optiontree
ymh <ymh.work@gmail.com>
parents: 7
diff changeset
   520
* Update option-tree.pot file.
bf1778c34b9a upgrade optiontree
ymh <ymh.work@gmail.com>
parents: 7
diff changeset
   521
bf1778c34b9a upgrade optiontree
ymh <ymh.work@gmail.com>
parents: 7
diff changeset
   522
= 2.0.5 =
bf1778c34b9a upgrade optiontree
ymh <ymh.work@gmail.com>
parents: 7
diff changeset
   523
* Change the way the 'option_tree_settings' array validates. Strip out those damn slashes!
bf1778c34b9a upgrade optiontree
ymh <ymh.work@gmail.com>
parents: 7
diff changeset
   524
bf1778c34b9a upgrade optiontree
ymh <ymh.work@gmail.com>
parents: 7
diff changeset
   525
= 2.0.4 =
bf1778c34b9a upgrade optiontree
ymh <ymh.work@gmail.com>
parents: 7
diff changeset
   526
* Run the 'option_tree' array through validation when upgrading from the 1.0 branch to the 2.0 branch for the first time.
bf1778c34b9a upgrade optiontree
ymh <ymh.work@gmail.com>
parents: 7
diff changeset
   527
* Fix a typo in the slider array where textarea's were not saving the first time due to an incorrect array key.
bf1778c34b9a upgrade optiontree
ymh <ymh.work@gmail.com>
parents: 7
diff changeset
   528
bf1778c34b9a upgrade optiontree
ymh <ymh.work@gmail.com>
parents: 7
diff changeset
   529
= 2.0.3 =
bf1778c34b9a upgrade optiontree
ymh <ymh.work@gmail.com>
parents: 7
diff changeset
   530
* Had an incorrect conditional statement causing an issue where the plugin was attempting to create the 'option-tree' image attachment page, even though it was already created.
bf1778c34b9a upgrade optiontree
ymh <ymh.work@gmail.com>
parents: 7
diff changeset
   531
* The above also fixed a conflict with 'The Events Calendar' plugin.
bf1778c34b9a upgrade optiontree
ymh <ymh.work@gmail.com>
parents: 7
diff changeset
   532
bf1778c34b9a upgrade optiontree
ymh <ymh.work@gmail.com>
parents: 7
diff changeset
   533
= 2.0.2 =
bf1778c34b9a upgrade optiontree
ymh <ymh.work@gmail.com>
parents: 7
diff changeset
   534
* Added I18n support, let the translations begin. The option-tree.pot file is inside the languages directory.
bf1778c34b9a upgrade optiontree
ymh <ymh.work@gmail.com>
parents: 7
diff changeset
   535
* Trim whitespace on imported choices array.
bf1778c34b9a upgrade optiontree
ymh <ymh.work@gmail.com>
parents: 7
diff changeset
   536
* Fixed the CSS insert function not having a value to save.
bf1778c34b9a upgrade optiontree
ymh <ymh.work@gmail.com>
parents: 7
diff changeset
   537
bf1778c34b9a upgrade optiontree
ymh <ymh.work@gmail.com>
parents: 7
diff changeset
   538
= 2.0.1 =
bf1778c34b9a upgrade optiontree
ymh <ymh.work@gmail.com>
parents: 7
diff changeset
   539
* Import from table was not mapping settings correctly. It is now.
bf1778c34b9a upgrade optiontree
ymh <ymh.work@gmail.com>
parents: 7
diff changeset
   540
bf1778c34b9a upgrade optiontree
ymh <ymh.work@gmail.com>
parents: 7
diff changeset
   541
= 2.0 =
bf1778c34b9a upgrade optiontree
ymh <ymh.work@gmail.com>
parents: 7
diff changeset
   542
* Complete rewrite form the ground up.
bf1778c34b9a upgrade optiontree
ymh <ymh.work@gmail.com>
parents: 7
diff changeset
   543
* Better Theme Options UI Builder.
bf1778c34b9a upgrade optiontree
ymh <ymh.work@gmail.com>
parents: 7
diff changeset
   544
* New in-plugin documentation.
bf1778c34b9a upgrade optiontree
ymh <ymh.work@gmail.com>
parents: 7
diff changeset
   545
* Brand new responsive UI.
bf1778c34b9a upgrade optiontree
ymh <ymh.work@gmail.com>
parents: 7
diff changeset
   546
* Add new option types, most notable the List Item which should eventually replace the Slider.
bf1778c34b9a upgrade optiontree
ymh <ymh.work@gmail.com>
parents: 7
diff changeset
   547
* Added the simpler ot_get_option() function to eventually replace get_option_tree().
bf1778c34b9a upgrade optiontree
ymh <ymh.work@gmail.com>
parents: 7
diff changeset
   548
* Added support for Meta Boxes.
bf1778c34b9a upgrade optiontree
ymh <ymh.work@gmail.com>
parents: 7
diff changeset
   549
* Added Theme Mode where you can now include the plugin directly in your theme.
bf1778c34b9a upgrade optiontree
ymh <ymh.work@gmail.com>
parents: 7
diff changeset
   550
* Better validation on saved data.
bf1778c34b9a upgrade optiontree
ymh <ymh.work@gmail.com>
parents: 7
diff changeset
   551
* Simplified the import process.
bf1778c34b9a upgrade optiontree
ymh <ymh.work@gmail.com>
parents: 7
diff changeset
   552
* Added support for contextual help.
bf1778c34b9a upgrade optiontree
ymh <ymh.work@gmail.com>
parents: 7
diff changeset
   553
* Permanently move the Theme Option to the Appearance tab.
bf1778c34b9a upgrade optiontree
ymh <ymh.work@gmail.com>
parents: 7
diff changeset
   554
* Added a ton of filters.
bf1778c34b9a upgrade optiontree
ymh <ymh.work@gmail.com>
parents: 7
diff changeset
   555
* Made huge improvements to the code base and tested rigorously.
bf1778c34b9a upgrade optiontree
ymh <ymh.work@gmail.com>
parents: 7
diff changeset
   556
bf1778c34b9a upgrade optiontree
ymh <ymh.work@gmail.com>
parents: 7
diff changeset
   557
= 1.1.8.1 =
bf1778c34b9a upgrade optiontree
ymh <ymh.work@gmail.com>
parents: 7
diff changeset
   558
* Removed get_option_tree() in the WordPress admin area due to theme conflicts.
bf1778c34b9a upgrade optiontree
ymh <ymh.work@gmail.com>
parents: 7
diff changeset
   559
* Removed demo files in the assets folder at the request of WordPress
bf1778c34b9a upgrade optiontree
ymh <ymh.work@gmail.com>
parents: 7
diff changeset
   560
bf1778c34b9a upgrade optiontree
ymh <ymh.work@gmail.com>
parents: 7
diff changeset
   561
= 1.1.8 =
bf1778c34b9a upgrade optiontree
ymh <ymh.work@gmail.com>
parents: 7
diff changeset
   562
* Fixed scrolling issue on extra tall pages
bf1778c34b9a upgrade optiontree
ymh <ymh.work@gmail.com>
parents: 7
diff changeset
   563
* Added ability to show/hide settings & documentation via the User Profile page.
bf1778c34b9a upgrade optiontree
ymh <ymh.work@gmail.com>
parents: 7
diff changeset
   564
* Added Background option type.
bf1778c34b9a upgrade optiontree
ymh <ymh.work@gmail.com>
parents: 7
diff changeset
   565
* Added Typography option type.
bf1778c34b9a upgrade optiontree
ymh <ymh.work@gmail.com>
parents: 7
diff changeset
   566
* Added CSS option type.
bf1778c34b9a upgrade optiontree
ymh <ymh.work@gmail.com>
parents: 7
diff changeset
   567
* Better looking selects with 1=Yes,2=No where '1' is the value and 'Yes' is the text in the select.
bf1778c34b9a upgrade optiontree
ymh <ymh.work@gmail.com>
parents: 7
diff changeset
   568
* Made the AJAX message CSS more prominent.
bf1778c34b9a upgrade optiontree
ymh <ymh.work@gmail.com>
parents: 7
diff changeset
   569
* functions.load.php will now only load option type functions if viewing an OT admin page.
bf1778c34b9a upgrade optiontree
ymh <ymh.work@gmail.com>
parents: 7
diff changeset
   570
* Deregistered the custom jQuery UI in the 'Cispm Mail Contact' plugin when viewing an OptionTree page.
bf1778c34b9a upgrade optiontree
ymh <ymh.work@gmail.com>
parents: 7
diff changeset
   571
* Can now save layouts from the Theme Options page.
bf1778c34b9a upgrade optiontree
ymh <ymh.work@gmail.com>
parents: 7
diff changeset
   572
* You can now change the slider fields by targeting a specific "Option Key"
bf1778c34b9a upgrade optiontree
ymh <ymh.work@gmail.com>
parents: 7
diff changeset
   573
* Modified upload for situations where you manually enter a relative path
bf1778c34b9a upgrade optiontree
ymh <ymh.work@gmail.com>
parents: 7
diff changeset
   574
* Allow get_option_tree() function to be used in WP admin
bf1778c34b9a upgrade optiontree
ymh <ymh.work@gmail.com>
parents: 7
diff changeset
   575
* Changed permissions to edit_theme_options
bf1778c34b9a upgrade optiontree
ymh <ymh.work@gmail.com>
parents: 7
diff changeset
   576
bf1778c34b9a upgrade optiontree
ymh <ymh.work@gmail.com>
parents: 7
diff changeset
   577
= 1.1.7.1 =
bf1778c34b9a upgrade optiontree
ymh <ymh.work@gmail.com>
parents: 7
diff changeset
   578
* Revert functions.load.php, will fix and update in next version
bf1778c34b9a upgrade optiontree
ymh <ymh.work@gmail.com>
parents: 7
diff changeset
   579
bf1778c34b9a upgrade optiontree
ymh <ymh.work@gmail.com>
parents: 7
diff changeset
   580
= 1.1.7 =
bf1778c34b9a upgrade optiontree
ymh <ymh.work@gmail.com>
parents: 7
diff changeset
   581
* Added layout (theme variation) support with save/delete/activate/import/export capabilities.
bf1778c34b9a upgrade optiontree
ymh <ymh.work@gmail.com>
parents: 7
diff changeset
   582
* Allow layout change on Theme Options page.
bf1778c34b9a upgrade optiontree
ymh <ymh.work@gmail.com>
parents: 7
diff changeset
   583
* Full Multisite compatibility by manually adding xml mime type for import options.
bf1778c34b9a upgrade optiontree
ymh <ymh.work@gmail.com>
parents: 7
diff changeset
   584
* Replaced eregi() with preg_match() for 5.3+ compatibility.
bf1778c34b9a upgrade optiontree
ymh <ymh.work@gmail.com>
parents: 7
diff changeset
   585
* Changed test data in the assets directory for new layout option.
bf1778c34b9a upgrade optiontree
ymh <ymh.work@gmail.com>
parents: 7
diff changeset
   586
* Made it so when the slider & upload image changes it's reflected on blur.
bf1778c34b9a upgrade optiontree
ymh <ymh.work@gmail.com>
parents: 7
diff changeset
   587
* Gave the slider image an upload button.
bf1778c34b9a upgrade optiontree
ymh <ymh.work@gmail.com>
parents: 7
diff changeset
   588
* Added do_action('option_tree_import_data') to option_tree_import_data() function before exit.
bf1778c34b9a upgrade optiontree
ymh <ymh.work@gmail.com>
parents: 7
diff changeset
   589
* Added do_action('option_tree_array_save') to option_tree_array_save() function before exit.
bf1778c34b9a upgrade optiontree
ymh <ymh.work@gmail.com>
parents: 7
diff changeset
   590
* Added do_action('option_tree_save_layout') to option_tree_save_layout() function before exit.
bf1778c34b9a upgrade optiontree
ymh <ymh.work@gmail.com>
parents: 7
diff changeset
   591
* Added do_action('option_tree_delete_layout') to option_tree_delete_layout() function before exit.
bf1778c34b9a upgrade optiontree
ymh <ymh.work@gmail.com>
parents: 7
diff changeset
   592
* Added do_action('option_tree_activate_layout') to option_tree_activate_layout() function before exit.
bf1778c34b9a upgrade optiontree
ymh <ymh.work@gmail.com>
parents: 7
diff changeset
   593
* Added do_action('option_tree_import_layout') to option_tree_import_layout() function before redirect.
bf1778c34b9a upgrade optiontree
ymh <ymh.work@gmail.com>
parents: 7
diff changeset
   594
* Added do_action('option_tree_admin_header') hook before all admin pages.
bf1778c34b9a upgrade optiontree
ymh <ymh.work@gmail.com>
parents: 7
diff changeset
   595
* Fixed bug where users could add a color without a hash.
bf1778c34b9a upgrade optiontree
ymh <ymh.work@gmail.com>
parents: 7
diff changeset
   596
* Only load option type function on Theme Options page
bf1778c34b9a upgrade optiontree
ymh <ymh.work@gmail.com>
parents: 7
diff changeset
   597
* Loading resources with absolute paths, no longer relative.
bf1778c34b9a upgrade optiontree
ymh <ymh.work@gmail.com>
parents: 7
diff changeset
   598
* Fixed a bug with uploader creating extra option-tree draft pages.
bf1778c34b9a upgrade optiontree
ymh <ymh.work@gmail.com>
parents: 7
diff changeset
   599
* Fixed slider toggle bug, now the sliders close when you open another or create new slide.
bf1778c34b9a upgrade optiontree
ymh <ymh.work@gmail.com>
parents: 7
diff changeset
   600
bf1778c34b9a upgrade optiontree
ymh <ymh.work@gmail.com>
parents: 7
diff changeset
   601
= 1.1.6 =
bf1778c34b9a upgrade optiontree
ymh <ymh.work@gmail.com>
parents: 7
diff changeset
   602
* Theme Integration added.
bf1778c34b9a upgrade optiontree
ymh <ymh.work@gmail.com>
parents: 7
diff changeset
   603
* Made the upload XML file openbase_dir compliant.
bf1778c34b9a upgrade optiontree
ymh <ymh.work@gmail.com>
parents: 7
diff changeset
   604
bf1778c34b9a upgrade optiontree
ymh <ymh.work@gmail.com>
parents: 7
diff changeset
   605
= 1.1.5 =
bf1778c34b9a upgrade optiontree
ymh <ymh.work@gmail.com>
parents: 7
diff changeset
   606
* Fixed multiple sliders issue
bf1778c34b9a upgrade optiontree
ymh <ymh.work@gmail.com>
parents: 7
diff changeset
   607
bf1778c34b9a upgrade optiontree
ymh <ymh.work@gmail.com>
parents: 7
diff changeset
   608
= 1.1.4 =
bf1778c34b9a upgrade optiontree
ymh <ymh.work@gmail.com>
parents: 7
diff changeset
   609
* Patch for get_option_tree() $is_array being false and still returning an array
bf1778c34b9a upgrade optiontree
ymh <ymh.work@gmail.com>
parents: 7
diff changeset
   610
bf1778c34b9a upgrade optiontree
ymh <ymh.work@gmail.com>
parents: 7
diff changeset
   611
= 1.1.3 =
bf1778c34b9a upgrade optiontree
ymh <ymh.work@gmail.com>
parents: 7
diff changeset
   612
* Added Slider option type with filter for changing the optional fields
bf1778c34b9a upgrade optiontree
ymh <ymh.work@gmail.com>
parents: 7
diff changeset
   613
* Fixed the text displayed for Measurement option type after options are reset
bf1778c34b9a upgrade optiontree
ymh <ymh.work@gmail.com>
parents: 7
diff changeset
   614
* Added filter to measurement units
bf1778c34b9a upgrade optiontree
ymh <ymh.work@gmail.com>
parents: 7
diff changeset
   615
* Code cleanup in the option_tree_array_save() function
bf1778c34b9a upgrade optiontree
ymh <ymh.work@gmail.com>
parents: 7
diff changeset
   616
* Fixed double quotes on front-end display
bf1778c34b9a upgrade optiontree
ymh <ymh.work@gmail.com>
parents: 7
diff changeset
   617
bf1778c34b9a upgrade optiontree
ymh <ymh.work@gmail.com>
parents: 7
diff changeset
   618
= 1.1.2 =
bf1778c34b9a upgrade optiontree
ymh <ymh.work@gmail.com>
parents: 7
diff changeset
   619
* Fixed double quotes in Textarea option type
bf1778c34b9a upgrade optiontree
ymh <ymh.work@gmail.com>
parents: 7
diff changeset
   620
* Added Measurement option type for CSS values
bf1778c34b9a upgrade optiontree
ymh <ymh.work@gmail.com>
parents: 7
diff changeset
   621
* Fixed Post option type only returning 5 items
bf1778c34b9a upgrade optiontree
ymh <ymh.work@gmail.com>
parents: 7
diff changeset
   622
* Added a scrolling window for checkboxes > 10
bf1778c34b9a upgrade optiontree
ymh <ymh.work@gmail.com>
parents: 7
diff changeset
   623
bf1778c34b9a upgrade optiontree
ymh <ymh.work@gmail.com>
parents: 7
diff changeset
   624
= 1.1.1 =
bf1778c34b9a upgrade optiontree
ymh <ymh.work@gmail.com>
parents: 7
diff changeset
   625
* Fixed the 'remove' icon from showing when nothing's uploaded
bf1778c34b9a upgrade optiontree
ymh <ymh.work@gmail.com>
parents: 7
diff changeset
   626
bf1778c34b9a upgrade optiontree
ymh <ymh.work@gmail.com>
parents: 7
diff changeset
   627
= 1.1 =
bf1778c34b9a upgrade optiontree
ymh <ymh.work@gmail.com>
parents: 7
diff changeset
   628
* Fixed the Undefined index: notices when WP_DEBUG is set to true
bf1778c34b9a upgrade optiontree
ymh <ymh.work@gmail.com>
parents: 7
diff changeset
   629
bf1778c34b9a upgrade optiontree
ymh <ymh.work@gmail.com>
parents: 7
diff changeset
   630
= 1.0.0 =
bf1778c34b9a upgrade optiontree
ymh <ymh.work@gmail.com>
parents: 7
diff changeset
   631
* Initial version
bf1778c34b9a upgrade optiontree
ymh <ymh.work@gmail.com>
parents: 7
diff changeset
   632
bf1778c34b9a upgrade optiontree
ymh <ymh.work@gmail.com>
parents: 7
diff changeset
   633
== Upgrade Notice ==
bf1778c34b9a upgrade optiontree
ymh <ymh.work@gmail.com>
parents: 7
diff changeset
   634
bf1778c34b9a upgrade optiontree
ymh <ymh.work@gmail.com>
parents: 7
diff changeset
   635
= 2.7.0 =
bf1778c34b9a upgrade optiontree
ymh <ymh.work@gmail.com>
parents: 7
diff changeset
   636
All custom setting types must use the `ot_validate_setting_input_safe` filter to sanitize user input data. OptionTree will attempt to sanitize the data, but data loss could happen with custom setting types when saving — so please update them. Additionally, please install OptionTree on a test server, or backup your database, before upgrading your live site. This version contains breaking changes!
bf1778c34b9a upgrade optiontree
ymh <ymh.work@gmail.com>
parents: 7
diff changeset
   637
bf1778c34b9a upgrade optiontree
ymh <ymh.work@gmail.com>
parents: 7
diff changeset
   638
= 2.3.0 =
bf1778c34b9a upgrade optiontree
ymh <ymh.work@gmail.com>
parents: 7
diff changeset
   639
As with each major release, please install OptionTree on a test server before upgrading your live site.
bf1778c34b9a upgrade optiontree
ymh <ymh.work@gmail.com>
parents: 7
diff changeset
   640
bf1778c34b9a upgrade optiontree
ymh <ymh.work@gmail.com>
parents: 7
diff changeset
   641
= 2.1.4 =
bf1778c34b9a upgrade optiontree
ymh <ymh.work@gmail.com>
parents: 7
diff changeset
   642
If you're not the developer of this theme, please ask them to test compatibility with version 2.1 before upgrading. If you are the developer, I urge you to do the same in a controlled environment.
bf1778c34b9a upgrade optiontree
ymh <ymh.work@gmail.com>
parents: 7
diff changeset
   643
bf1778c34b9a upgrade optiontree
ymh <ymh.work@gmail.com>
parents: 7
diff changeset
   644
= 2.0.16 =
bf1778c34b9a upgrade optiontree
ymh <ymh.work@gmail.com>
parents: 7
diff changeset
   645
There was an issue with the upload option type's JavaScript not allowing anything other than images to be sent to the editor. This urgent issue is now fixed and why this version is light on changes.
bf1778c34b9a upgrade optiontree
ymh <ymh.work@gmail.com>
parents: 7
diff changeset
   646
bf1778c34b9a upgrade optiontree
ymh <ymh.work@gmail.com>
parents: 7
diff changeset
   647
= 2.0.12 =
bf1778c34b9a upgrade optiontree
ymh <ymh.work@gmail.com>
parents: 7
diff changeset
   648
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.
bf1778c34b9a upgrade optiontree
ymh <ymh.work@gmail.com>
parents: 7
diff changeset
   649
bf1778c34b9a upgrade optiontree
ymh <ymh.work@gmail.com>
parents: 7
diff changeset
   650
= 1.1.8.1 =
bf1778c34b9a upgrade optiontree
ymh <ymh.work@gmail.com>
parents: 7
diff changeset
   651
Removed get_option_tree() in the WordPress admin area due to theme conflicts.
bf1778c34b9a upgrade optiontree
ymh <ymh.work@gmail.com>
parents: 7
diff changeset
   652
bf1778c34b9a upgrade optiontree
ymh <ymh.work@gmail.com>
parents: 7
diff changeset
   653
= 1.1.8 =
bf1778c34b9a upgrade optiontree
ymh <ymh.work@gmail.com>
parents: 7
diff changeset
   654
Added Typography, Background, & CSS option types. Lots of way to extend them, as well.
bf1778c34b9a upgrade optiontree
ymh <ymh.work@gmail.com>
parents: 7
diff changeset
   655
bf1778c34b9a upgrade optiontree
ymh <ymh.work@gmail.com>
parents: 7
diff changeset
   656
= 1.1.7 =
bf1778c34b9a upgrade optiontree
ymh <ymh.work@gmail.com>
parents: 7
diff changeset
   657
Lots of additions, none critical just fun. Added layouts & upload to slider. As well, started including action hooks for extending and integrating with other plugins.
bf1778c34b9a upgrade optiontree
ymh <ymh.work@gmail.com>
parents: 7
diff changeset
   658
bf1778c34b9a upgrade optiontree
ymh <ymh.work@gmail.com>
parents: 7
diff changeset
   659
= 1.1.6 =
bf1778c34b9a upgrade optiontree
ymh <ymh.work@gmail.com>
parents: 7
diff changeset
   660
Added theme integration for developers. It's now possible to have a default XML file included in your theme to populate the theme options and hide the settings and docs pages. Read more about this in the plugins built in documentation.
bf1778c34b9a upgrade optiontree
ymh <ymh.work@gmail.com>
parents: 7
diff changeset
   661
bf1778c34b9a upgrade optiontree
ymh <ymh.work@gmail.com>
parents: 7
diff changeset
   662
= 1.1.5 =
bf1778c34b9a upgrade optiontree
ymh <ymh.work@gmail.com>
parents: 7
diff changeset
   663
Having multiple sliders caused a naming collision in the JavaScript and is now fixed. Upgrade ASAP to have multiple sliders available in the UI.
bf1778c34b9a upgrade optiontree
ymh <ymh.work@gmail.com>
parents: 7
diff changeset
   664
bf1778c34b9a upgrade optiontree
ymh <ymh.work@gmail.com>
parents: 7
diff changeset
   665
= 1.1.4 =
bf1778c34b9a upgrade optiontree
ymh <ymh.work@gmail.com>
parents: 7
diff changeset
   666
Fixed the returned value of the get_option_tree() function when $is_array is set to false. If you have created any slider or measurement option types please read the updated documentation for examples on how to use them in your theme.