wp/wp-content/plugins/option-tree/readme.txt
author ymh <ymh.work@gmail.com>
Wed, 06 Nov 2013 03:21:17 +0000
changeset 0 d970ebf37754
child 5 5e2f62d02dcd
permissions -rw-r--r--
first import
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
0
d970ebf37754 first import
ymh <ymh.work@gmail.com>
parents:
diff changeset
     1
=== OptionTree ===
d970ebf37754 first import
ymh <ymh.work@gmail.com>
parents:
diff changeset
     2
Contributors: valendesigns
d970ebf37754 first import
ymh <ymh.work@gmail.com>
parents:
diff changeset
     3
Donate link: http://bit.ly/NuXI3T
d970ebf37754 first import
ymh <ymh.work@gmail.com>
parents:
diff changeset
     4
Tags: admin, theme options, meta boxes, options, admin interface, ajax
d970ebf37754 first import
ymh <ymh.work@gmail.com>
parents:
diff changeset
     5
Requires at least: 3.5
d970ebf37754 first import
ymh <ymh.work@gmail.com>
parents:
diff changeset
     6
Tested up to: 3.6
d970ebf37754 first import
ymh <ymh.work@gmail.com>
parents:
diff changeset
     7
Stable tag: 2.1.4
d970ebf37754 first import
ymh <ymh.work@gmail.com>
parents:
diff changeset
     8
License: GPLv3
d970ebf37754 first import
ymh <ymh.work@gmail.com>
parents:
diff changeset
     9
d970ebf37754 first import
ymh <ymh.work@gmail.com>
parents:
diff changeset
    10
Theme Options UI Builder for WordPress. A simple way to create & save Theme Options and Meta Boxes for free or premium themes.
d970ebf37754 first import
ymh <ymh.work@gmail.com>
parents:
diff changeset
    11
d970ebf37754 first import
ymh <ymh.work@gmail.com>
parents:
diff changeset
    12
== Description ==
d970ebf37754 first import
ymh <ymh.work@gmail.com>
parents:
diff changeset
    13
d970ebf37754 first import
ymh <ymh.work@gmail.com>
parents:
diff changeset
    14
Theme Options are what make a WordPress Theme truly custom. OptionTree attempts to bridge the gap between developers, designers and end-users by solving the admin User Interface issues that arise when creating a custom theme. Designers shouldn't have to be limited to what they can create visually because their programming skills aren't as developed as they would like. Also, programmers shouldn't have to recreate the wheel for every new project, so in walks OptionTree.
d970ebf37754 first import
ymh <ymh.work@gmail.com>
parents:
diff changeset
    15
d970ebf37754 first import
ymh <ymh.work@gmail.com>
parents:
diff changeset
    16
With OptionTree you can create as many Theme Options as your project requires and use them how you see fit. When you add a option to the Settings page, it will be available on the Theme Options page for use in your theme. 
d970ebf37754 first import
ymh <ymh.work@gmail.com>
parents:
diff changeset
    17
d970ebf37754 first import
ymh <ymh.work@gmail.com>
parents:
diff changeset
    18
Included is the ability to Import/Export all the theme options and data for packaging with custom themes or local development. With the Import/Export feature you can get a theme set up on a live server in minutes. Theme authors can now create different version of their themes and include them with the download. It makes setting up different theme styles & options easier than ever because a theme user installs the plugin and theme and either adds their own settings or imports your defaults.
d970ebf37754 first import
ymh <ymh.work@gmail.com>
parents:
diff changeset
    19
d970ebf37754 first import
ymh <ymh.work@gmail.com>
parents:
diff changeset
    20
A new feature in OptionTree 2.0 is the ability to include the plugin directly in your themes root directory. Not only does that mean your theme is guaranteed to have the plugin installed you also get the ability to interact directly with OptionTree through settings and meta box arrays. You can now tell OptionTree what settings you want and know that nobody will break your theme by changing settings through the UI Builder. It's just a better plugin now!
d970ebf37754 first import
ymh <ymh.work@gmail.com>
parents:
diff changeset
    21
d970ebf37754 first import
ymh <ymh.work@gmail.com>
parents:
diff changeset
    22
OptionTree is a project sponsored by <a href="http://themeforest.net/?ref=valendesigns">ThemeForest</a>, the largest WordPress theme marketplace on the web, and was originally conceived to help ThemeForest authors quickly power up their themes. But it's here for the benefit of one and all, so option up folks!
d970ebf37754 first import
ymh <ymh.work@gmail.com>
parents:
diff changeset
    23
d970ebf37754 first import
ymh <ymh.work@gmail.com>
parents:
diff changeset
    24
== Installation ==
d970ebf37754 first import
ymh <ymh.work@gmail.com>
parents:
diff changeset
    25
d970ebf37754 first import
ymh <ymh.work@gmail.com>
parents:
diff changeset
    26
1. Upload `option-tree` to the `/wp-content/plugins/` directory
d970ebf37754 first import
ymh <ymh.work@gmail.com>
parents:
diff changeset
    27
1. Activate the plugin through the 'Plugins' menu in WordPress
d970ebf37754 first import
ymh <ymh.work@gmail.com>
parents:
diff changeset
    28
1. Click the `OptionTree->Documentation` link in the WordPress admin sidebar menu for further setup assistance.
d970ebf37754 first import
ymh <ymh.work@gmail.com>
parents:
diff changeset
    29
d970ebf37754 first import
ymh <ymh.work@gmail.com>
parents:
diff changeset
    30
== Frequently Asked Questions ==
d970ebf37754 first import
ymh <ymh.work@gmail.com>
parents:
diff changeset
    31
d970ebf37754 first import
ymh <ymh.work@gmail.com>
parents:
diff changeset
    32
= Is this plugin PHP5 only? =
d970ebf37754 first import
ymh <ymh.work@gmail.com>
parents:
diff changeset
    33
d970ebf37754 first import
ymh <ymh.work@gmail.com>
parents:
diff changeset
    34
Yes. OptionTree & WordPress both require PHP5.
d970ebf37754 first import
ymh <ymh.work@gmail.com>
parents:
diff changeset
    35
d970ebf37754 first import
ymh <ymh.work@gmail.com>
parents:
diff changeset
    36
== Screenshots ==
d970ebf37754 first import
ymh <ymh.work@gmail.com>
parents:
diff changeset
    37
d970ebf37754 first import
ymh <ymh.work@gmail.com>
parents:
diff changeset
    38
1. Theme Options
d970ebf37754 first import
ymh <ymh.work@gmail.com>
parents:
diff changeset
    39
2. Settings
d970ebf37754 first import
ymh <ymh.work@gmail.com>
parents:
diff changeset
    40
3. Documentation
d970ebf37754 first import
ymh <ymh.work@gmail.com>
parents:
diff changeset
    41
d970ebf37754 first import
ymh <ymh.work@gmail.com>
parents:
diff changeset
    42
== Changelog ==
d970ebf37754 first import
ymh <ymh.work@gmail.com>
parents:
diff changeset
    43
d970ebf37754 first import
ymh <ymh.work@gmail.com>
parents:
diff changeset
    44
= 2.1.4 =
d970ebf37754 first import
ymh <ymh.work@gmail.com>
parents:
diff changeset
    45
* Hotfix - Fixed the Numeric Slider not work inside of a newly added List item.
d970ebf37754 first import
ymh <ymh.work@gmail.com>
parents:
diff changeset
    46
* Hotfix - Fixed the numeric slider fallback value being set to 0, it now becomes the minimum value if no standard is set.
d970ebf37754 first import
ymh <ymh.work@gmail.com>
parents:
diff changeset
    47
* Hotfix - Allow single quotes in std and choice value when exporting theme-options.php. Contributors via github @maimairel.
d970ebf37754 first import
ymh <ymh.work@gmail.com>
parents:
diff changeset
    48
* Hotfix - Additional Themecheck bypass for required functions. Contributors via github @maimairel.
d970ebf37754 first import
ymh <ymh.work@gmail.com>
parents:
diff changeset
    49
* Hotfix - Fixed post meta information being lost when loading revisions. Contributors via github @live-mesh.
d970ebf37754 first import
ymh <ymh.work@gmail.com>
parents:
diff changeset
    50
* Hotfix - Removed template queries in option types. Contributors via github @live-mesh.
d970ebf37754 first import
ymh <ymh.work@gmail.com>
parents:
diff changeset
    51
d970ebf37754 first import
ymh <ymh.work@gmail.com>
parents:
diff changeset
    52
= 2.1.3 =
d970ebf37754 first import
ymh <ymh.work@gmail.com>
parents:
diff changeset
    53
* Hotfix - Loading OptionTree on the 'init' action proved to be wrong, it now loads on 'after_setup_theme'.
d970ebf37754 first import
ymh <ymh.work@gmail.com>
parents:
diff changeset
    54
* Hotfix - Layouts were not being imported properly due to using the wrong path variable.
d970ebf37754 first import
ymh <ymh.work@gmail.com>
parents:
diff changeset
    55
d970ebf37754 first import
ymh <ymh.work@gmail.com>
parents:
diff changeset
    56
= 2.1.2 =
d970ebf37754 first import
ymh <ymh.work@gmail.com>
parents:
diff changeset
    57
* Hotfix - Fixed a JS mistake that caused upload in list items and sliders to not open the media uploader until saved first.
d970ebf37754 first import
ymh <ymh.work@gmail.com>
parents:
diff changeset
    58
* Hotfix - Load OptionTree on the 'init' action, which allows the UI filters to properly function when not in theme mode.
d970ebf37754 first import
ymh <ymh.work@gmail.com>
parents:
diff changeset
    59
d970ebf37754 first import
ymh <ymh.work@gmail.com>
parents:
diff changeset
    60
= 2.1.1 =
d970ebf37754 first import
ymh <ymh.work@gmail.com>
parents:
diff changeset
    61
* Hotfix - The OT_SHOW_SETTINGS_EXPORT constant was incorrectly set to false as the default.
d970ebf37754 first import
ymh <ymh.work@gmail.com>
parents:
diff changeset
    62
d970ebf37754 first import
ymh <ymh.work@gmail.com>
parents:
diff changeset
    63
= 2.1 =
d970ebf37754 first import
ymh <ymh.work@gmail.com>
parents:
diff changeset
    64
* Added support for WordPress 3.6.
d970ebf37754 first import
ymh <ymh.work@gmail.com>
parents:
diff changeset
    65
* UI got a small but needed update, and is now more inline with WordPress.
d970ebf37754 first import
ymh <ymh.work@gmail.com>
parents:
diff changeset
    66
* Added WPML support for the Text, Textarea, and Textarea Simple option types, and within list items; even after drag & drop.
d970ebf37754 first import
ymh <ymh.work@gmail.com>
parents:
diff changeset
    67
* Upload now uses the media uploader introduced in WordPress 3.5. Contributors via github @htvu, @maimairel, and @valendesigns.
d970ebf37754 first import
ymh <ymh.work@gmail.com>
parents:
diff changeset
    68
* Added a horizontal Numeric Slider option type. Contributors via github @maimairel and @valendesigns.
d970ebf37754 first import
ymh <ymh.work@gmail.com>
parents:
diff changeset
    69
* Added a Sidebar Select option type. Contributors via github @maimairel.
d970ebf37754 first import
ymh <ymh.work@gmail.com>
parents:
diff changeset
    70
* Removed additional deprecated assigning of return value in PHP.
d970ebf37754 first import
ymh <ymh.work@gmail.com>
parents:
diff changeset
    71
* Fix missing "Send to OptionTree" button in CPT. Contributors via github @jomaddim.
d970ebf37754 first import
ymh <ymh.work@gmail.com>
parents:
diff changeset
    72
* Fix option types that use $count instead of an array key to select the option value.
d970ebf37754 first import
ymh <ymh.work@gmail.com>
parents:
diff changeset
    73
* Created functions to register the Theme Options & Settings pages, and with better filtering.
d970ebf37754 first import
ymh <ymh.work@gmail.com>
parents:
diff changeset
    74
* Added relative path support for Radio Image choices.
d970ebf37754 first import
ymh <ymh.work@gmail.com>
parents:
diff changeset
    75
* Added dynamic replacement of 'OT_URL' & 'OT_THEME_URL' in the Radio Image source path.
d970ebf37754 first import
ymh <ymh.work@gmail.com>
parents:
diff changeset
    76
* Make '0' possible as a field value. Validate for empty strings instead of empty(). Contributors via github @maimairel.
d970ebf37754 first import
ymh <ymh.work@gmail.com>
parents:
diff changeset
    77
* The 'ot_theme_options_capability' filter is now working for different capabilities like editor.
d970ebf37754 first import
ymh <ymh.work@gmail.com>
parents:
diff changeset
    78
* The 'ot_display_by_type' filter is now being assigned to a value.
d970ebf37754 first import
ymh <ymh.work@gmail.com>
parents:
diff changeset
    79
* Added filter 'ot_show_options_ui' which allows you to hide the Theme Options UI Builder.
d970ebf37754 first import
ymh <ymh.work@gmail.com>
parents:
diff changeset
    80
* Added filter 'ot_show_settings_import' which allows you to hide the Settings Import options on the Import page.
d970ebf37754 first import
ymh <ymh.work@gmail.com>
parents:
diff changeset
    81
* Added filter 'ot_show_settings_export' which allows you to hide the Settings Export options on the Export page.
d970ebf37754 first import
ymh <ymh.work@gmail.com>
parents:
diff changeset
    82
* Added filter 'ot_show_docs' which allows you to hide the Documentation.
d970ebf37754 first import
ymh <ymh.work@gmail.com>
parents:
diff changeset
    83
* Added filter 'ot_use_theme_options' which allows you to hide the OptionTree Theme Option page (not recommended for beginners).
d970ebf37754 first import
ymh <ymh.work@gmail.com>
parents:
diff changeset
    84
* Added filter 'ot_list_item_description' which allows you to change the default list item description text.
d970ebf37754 first import
ymh <ymh.work@gmail.com>
parents:
diff changeset
    85
* Added filter 'ot_type_custom_post_type_checkbox_query' which allows you to filter the get_posts() args for Custom Post Type Checkbox.
d970ebf37754 first import
ymh <ymh.work@gmail.com>
parents:
diff changeset
    86
* Added filter 'ot_type_custom_post_type_select_query' which allows you to filter the get_posts() args for Custom Post Type Select.
d970ebf37754 first import
ymh <ymh.work@gmail.com>
parents:
diff changeset
    87
* Added filter 'ot_type_page_checkbox_query' which allows you to filter the get_posts() args for Page Checkbox.
d970ebf37754 first import
ymh <ymh.work@gmail.com>
parents:
diff changeset
    88
* Added filter 'ot_type_page_select_query' which allows you to filter the get_posts() args for Page Select.
d970ebf37754 first import
ymh <ymh.work@gmail.com>
parents:
diff changeset
    89
* Added filter 'ot_type_post_checkbox_query' which allows you to filter the get_posts() args for Post Checkbox.
d970ebf37754 first import
ymh <ymh.work@gmail.com>
parents:
diff changeset
    90
* Added filter 'ot_type_post_select_query' which allows you to filter the get_posts() args for Post Select.
d970ebf37754 first import
ymh <ymh.work@gmail.com>
parents:
diff changeset
    91
d970ebf37754 first import
ymh <ymh.work@gmail.com>
parents:
diff changeset
    92
= 2.0.16 =
d970ebf37754 first import
ymh <ymh.work@gmail.com>
parents:
diff changeset
    93
* Fixed an urgent JS regression bug that caused the upload option type to break. Code contributed by @anonumus via github.
d970ebf37754 first import
ymh <ymh.work@gmail.com>
parents:
diff changeset
    94
* Added 'font-color' to the typography filter.
d970ebf37754 first import
ymh <ymh.work@gmail.com>
parents:
diff changeset
    95
d970ebf37754 first import
ymh <ymh.work@gmail.com>
parents:
diff changeset
    96
= 2.0.15 =
d970ebf37754 first import
ymh <ymh.work@gmail.com>
parents:
diff changeset
    97
* Added support for Child Theme mode.
d970ebf37754 first import
ymh <ymh.work@gmail.com>
parents:
diff changeset
    98
* Improved handling of standard values when settings are written manually.
d970ebf37754 first import
ymh <ymh.work@gmail.com>
parents:
diff changeset
    99
* Add filter for CSS insertion value.
d970ebf37754 first import
ymh <ymh.work@gmail.com>
parents:
diff changeset
   100
* Added 'ot_before_theme_options_save' action hook.
d970ebf37754 first import
ymh <ymh.work@gmail.com>
parents:
diff changeset
   101
* Fix 'indexOf' JS error when upload is closed without uploading.
d970ebf37754 first import
ymh <ymh.work@gmail.com>
parents:
diff changeset
   102
* Add textarea std value when option type is 'textarea', 'textarea-simple', or 'css'.
d970ebf37754 first import
ymh <ymh.work@gmail.com>
parents:
diff changeset
   103
* Remove load_template and revert back to include_once.
d970ebf37754 first import
ymh <ymh.work@gmail.com>
parents:
diff changeset
   104
* Fixed dynamic.css regression from 2.0.13 that caused the file to not save.
d970ebf37754 first import
ymh <ymh.work@gmail.com>
parents:
diff changeset
   105
d970ebf37754 first import
ymh <ymh.work@gmail.com>
parents:
diff changeset
   106
= 2.0.14 =
d970ebf37754 first import
ymh <ymh.work@gmail.com>
parents:
diff changeset
   107
* Removed deprecated assigning of return value in PHP.
d970ebf37754 first import
ymh <ymh.work@gmail.com>
parents:
diff changeset
   108
* Patch to fix PHP notice regression with the use of load_template in a plugin after Theme Check update.
d970ebf37754 first import
ymh <ymh.work@gmail.com>
parents:
diff changeset
   109
* Fixed missing required arguments in OT_Loader::add_layout.
d970ebf37754 first import
ymh <ymh.work@gmail.com>
parents:
diff changeset
   110
* Removed esc_attr() on font-family check.
d970ebf37754 first import
ymh <ymh.work@gmail.com>
parents:
diff changeset
   111
* Added a 'ot_theme_options_parent_slug' filter in ot-ui-theme-options.php
d970ebf37754 first import
ymh <ymh.work@gmail.com>
parents:
diff changeset
   112
* Fixed WP_Error from the use of wp_get_remote() instead of file_get_contents().
d970ebf37754 first import
ymh <ymh.work@gmail.com>
parents:
diff changeset
   113
d970ebf37754 first import
ymh <ymh.work@gmail.com>
parents:
diff changeset
   114
= 2.0.13 =
d970ebf37754 first import
ymh <ymh.work@gmail.com>
parents:
diff changeset
   115
* Removed almost all of the Theme Check nag messages when in 'ot_theme_mode'.
d970ebf37754 first import
ymh <ymh.work@gmail.com>
parents:
diff changeset
   116
* Fix an issue where Media Upload stopped working on some servers.
d970ebf37754 first import
ymh <ymh.work@gmail.com>
parents:
diff changeset
   117
d970ebf37754 first import
ymh <ymh.work@gmail.com>
parents:
diff changeset
   118
= 2.0.12 =
d970ebf37754 first import
ymh <ymh.work@gmail.com>
parents:
diff changeset
   119
* Added additional filters to the array that builds the Theme Option UI.
d970ebf37754 first import
ymh <ymh.work@gmail.com>
parents:
diff changeset
   120
* Made option-tree post type private.
d970ebf37754 first import
ymh <ymh.work@gmail.com>
parents:
diff changeset
   121
* Revert capabilities back to manage_options in ot-ui-admin.php.
d970ebf37754 first import
ymh <ymh.work@gmail.com>
parents:
diff changeset
   122
* Upload now sends the URL of the selected image size to OptionTree.
d970ebf37754 first import
ymh <ymh.work@gmail.com>
parents:
diff changeset
   123
* Added new range interval filter to font-size, letter-spacing, & line-height.
d970ebf37754 first import
ymh <ymh.work@gmail.com>
parents:
diff changeset
   124
* Allow Typography fields to be filtered out of the UI.
d970ebf37754 first import
ymh <ymh.work@gmail.com>
parents:
diff changeset
   125
d970ebf37754 first import
ymh <ymh.work@gmail.com>
parents:
diff changeset
   126
= 2.0.11 =
d970ebf37754 first import
ymh <ymh.work@gmail.com>
parents:
diff changeset
   127
* Added filters to the array that builds the Theme Option UI.
d970ebf37754 first import
ymh <ymh.work@gmail.com>
parents:
diff changeset
   128
* Added .format-setting-wrap div to allow for complex CSS layouts.
d970ebf37754 first import
ymh <ymh.work@gmail.com>
parents:
diff changeset
   129
* Added better namespacing for the Colorpicker option type.
d970ebf37754 first import
ymh <ymh.work@gmail.com>
parents:
diff changeset
   130
* Fixed theme-options.php export where it was adding an extra comma.
d970ebf37754 first import
ymh <ymh.work@gmail.com>
parents:
diff changeset
   131
d970ebf37754 first import
ymh <ymh.work@gmail.com>
parents:
diff changeset
   132
= 2.0.10 =
d970ebf37754 first import
ymh <ymh.work@gmail.com>
parents:
diff changeset
   133
* Fixed a bug where the Textarea row count wasn't working for List Items.
d970ebf37754 first import
ymh <ymh.work@gmail.com>
parents:
diff changeset
   134
* Added an apply_filter to the exported theme-options.php file.
d970ebf37754 first import
ymh <ymh.work@gmail.com>
parents:
diff changeset
   135
* Added CSS id's to tabs and settings.
d970ebf37754 first import
ymh <ymh.work@gmail.com>
parents:
diff changeset
   136
* Allow "New Layout" section to be hidden on the theme options page via a filter.
d970ebf37754 first import
ymh <ymh.work@gmail.com>
parents:
diff changeset
   137
* Fixed a bug where the Colorpicker was not closing in List Items.
d970ebf37754 first import
ymh <ymh.work@gmail.com>
parents:
diff changeset
   138
* Change capabilities from manage_options to edit_theme_options.
d970ebf37754 first import
ymh <ymh.work@gmail.com>
parents:
diff changeset
   139
* Remove Textblock title in List Items & Metaboxes.
d970ebf37754 first import
ymh <ymh.work@gmail.com>
parents:
diff changeset
   140
* Fixed a List Item bug that incorrectly added ID's based on counting objects - submitted by Spark
d970ebf37754 first import
ymh <ymh.work@gmail.com>
parents:
diff changeset
   141
* Fixed incorrect text domain paths for both plugin and theme mode.
d970ebf37754 first import
ymh <ymh.work@gmail.com>
parents:
diff changeset
   142
* Fixed a bug with UI Sortable not properly calculating the container height.
d970ebf37754 first import
ymh <ymh.work@gmail.com>
parents:
diff changeset
   143
* Fixed Select dropdown selector bug - submitted by Manfred Haltner
d970ebf37754 first import
ymh <ymh.work@gmail.com>
parents:
diff changeset
   144
* Fixed Radio Image remove class bug - submitted by designst
d970ebf37754 first import
ymh <ymh.work@gmail.com>
parents:
diff changeset
   145
* Added new typography fields - submitted by darknailblue
d970ebf37754 first import
ymh <ymh.work@gmail.com>
parents:
diff changeset
   146
* Added dynamic CSS support for new typography fields.
d970ebf37754 first import
ymh <ymh.work@gmail.com>
parents:
diff changeset
   147
* Added new filters to typography fields, including low/high range & unit types.
d970ebf37754 first import
ymh <ymh.work@gmail.com>
parents:
diff changeset
   148
d970ebf37754 first import
ymh <ymh.work@gmail.com>
parents:
diff changeset
   149
= 2.0.9 =
d970ebf37754 first import
ymh <ymh.work@gmail.com>
parents:
diff changeset
   150
* Fixed the issue where the Textarea Simple and CSS option types were mysteriously being ran through wpautop.
d970ebf37754 first import
ymh <ymh.work@gmail.com>
parents:
diff changeset
   151
* Added missing class setting to Textarea, Textarea Simple, & CSS option types.
d970ebf37754 first import
ymh <ymh.work@gmail.com>
parents:
diff changeset
   152
* Fixed theme-options.php exported array where label values were not correct.
d970ebf37754 first import
ymh <ymh.work@gmail.com>
parents:
diff changeset
   153
* 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.
d970ebf37754 first import
ymh <ymh.work@gmail.com>
parents:
diff changeset
   154
* Added the 'ot_after_validate_setting' filter to the validation function.
d970ebf37754 first import
ymh <ymh.work@gmail.com>
parents:
diff changeset
   155
* Added $field_id to the ot_validate_setting() for more precise filtering.
d970ebf37754 first import
ymh <ymh.work@gmail.com>
parents:
diff changeset
   156
* Added the ot_reverse_wpautop() function that you can run input through just incase you need it.
d970ebf37754 first import
ymh <ymh.work@gmail.com>
parents:
diff changeset
   157
* Updated the docs to include information on why WYSIWYG editors are not allowed in meta boxes and that they revert to a Textarea Simple.
d970ebf37754 first import
ymh <ymh.work@gmail.com>
parents:
diff changeset
   158
* Update option-tree.pot file.
d970ebf37754 first import
ymh <ymh.work@gmail.com>
parents:
diff changeset
   159
d970ebf37754 first import
ymh <ymh.work@gmail.com>
parents:
diff changeset
   160
= 2.0.8 =
d970ebf37754 first import
ymh <ymh.work@gmail.com>
parents:
diff changeset
   161
* Add auto import for backwards compatibility of old 1.x files.
d970ebf37754 first import
ymh <ymh.work@gmail.com>
parents:
diff changeset
   162
* Added the ability to export settings into a fully functional theme-options.php.
d970ebf37754 first import
ymh <ymh.work@gmail.com>
parents:
diff changeset
   163
* Fix typo in docs regarding the filter demo code.
d970ebf37754 first import
ymh <ymh.work@gmail.com>
parents:
diff changeset
   164
* Removed slashes in the section and contextual help titles.
d970ebf37754 first import
ymh <ymh.work@gmail.com>
parents:
diff changeset
   165
* Made colorpicker input field alignment more cross browser compatible.
d970ebf37754 first import
ymh <ymh.work@gmail.com>
parents:
diff changeset
   166
d970ebf37754 first import
ymh <ymh.work@gmail.com>
parents:
diff changeset
   167
= 2.0.7 =
d970ebf37754 first import
ymh <ymh.work@gmail.com>
parents:
diff changeset
   168
* Fixed the load order to be compatible with 1.x version themes that think the get_option_tree() function doesn't exist yet.
d970ebf37754 first import
ymh <ymh.work@gmail.com>
parents:
diff changeset
   169
* Tested and compatible with Cudazi themes, but the nag message is still visible.
d970ebf37754 first import
ymh <ymh.work@gmail.com>
parents:
diff changeset
   170
d970ebf37754 first import
ymh <ymh.work@gmail.com>
parents:
diff changeset
   171
= 2.0.6 =
d970ebf37754 first import
ymh <ymh.work@gmail.com>
parents:
diff changeset
   172
* Run the 'option_tree' array through validation when importing data and layouts.
d970ebf37754 first import
ymh <ymh.work@gmail.com>
parents:
diff changeset
   173
* Fix a bug where list items and sliders were not allowing the user to select the input field.
d970ebf37754 first import
ymh <ymh.work@gmail.com>
parents:
diff changeset
   174
* Add a filter that allows you to not load resources for meta boxes if you're not going to use them.
d970ebf37754 first import
ymh <ymh.work@gmail.com>
parents:
diff changeset
   175
* Update option-tree.pot file.
d970ebf37754 first import
ymh <ymh.work@gmail.com>
parents:
diff changeset
   176
d970ebf37754 first import
ymh <ymh.work@gmail.com>
parents:
diff changeset
   177
= 2.0.5 =
d970ebf37754 first import
ymh <ymh.work@gmail.com>
parents:
diff changeset
   178
* Change the way the 'option_tree_settings' array validates. Strip out those damn slashes!
d970ebf37754 first import
ymh <ymh.work@gmail.com>
parents:
diff changeset
   179
d970ebf37754 first import
ymh <ymh.work@gmail.com>
parents:
diff changeset
   180
= 2.0.4 =
d970ebf37754 first import
ymh <ymh.work@gmail.com>
parents:
diff changeset
   181
* Run the 'option_tree' array through validation when upgrading from the 1.0 branch to the 2.0 branch for the first time.
d970ebf37754 first import
ymh <ymh.work@gmail.com>
parents:
diff changeset
   182
* Fix a typo in the slider array where textarea's were not saving the first time due to an incorrect array key.
d970ebf37754 first import
ymh <ymh.work@gmail.com>
parents:
diff changeset
   183
d970ebf37754 first import
ymh <ymh.work@gmail.com>
parents:
diff changeset
   184
= 2.0.3 =
d970ebf37754 first import
ymh <ymh.work@gmail.com>
parents:
diff changeset
   185
* 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.
d970ebf37754 first import
ymh <ymh.work@gmail.com>
parents:
diff changeset
   186
* The above also fixed a conflict with 'The Events Calendar' plugin.
d970ebf37754 first import
ymh <ymh.work@gmail.com>
parents:
diff changeset
   187
d970ebf37754 first import
ymh <ymh.work@gmail.com>
parents:
diff changeset
   188
= 2.0.2 =
d970ebf37754 first import
ymh <ymh.work@gmail.com>
parents:
diff changeset
   189
* Added I18n support, let the translations begin. The option-tree.pot file is inside the languages directory.
d970ebf37754 first import
ymh <ymh.work@gmail.com>
parents:
diff changeset
   190
* Trim whitespace on imported choices array.
d970ebf37754 first import
ymh <ymh.work@gmail.com>
parents:
diff changeset
   191
* Fixed the CSS insert function not having a value to save.
d970ebf37754 first import
ymh <ymh.work@gmail.com>
parents:
diff changeset
   192
d970ebf37754 first import
ymh <ymh.work@gmail.com>
parents:
diff changeset
   193
= 2.0.1 =
d970ebf37754 first import
ymh <ymh.work@gmail.com>
parents:
diff changeset
   194
* Import from table was not mapping settings correctly. It is now.
d970ebf37754 first import
ymh <ymh.work@gmail.com>
parents:
diff changeset
   195
d970ebf37754 first import
ymh <ymh.work@gmail.com>
parents:
diff changeset
   196
= 2.0 =
d970ebf37754 first import
ymh <ymh.work@gmail.com>
parents:
diff changeset
   197
* Complete rewrite form the ground up.
d970ebf37754 first import
ymh <ymh.work@gmail.com>
parents:
diff changeset
   198
* Better Theme Options UI Builder.
d970ebf37754 first import
ymh <ymh.work@gmail.com>
parents:
diff changeset
   199
* New in-plugin documentation.
d970ebf37754 first import
ymh <ymh.work@gmail.com>
parents:
diff changeset
   200
* Brand new responsive UI.
d970ebf37754 first import
ymh <ymh.work@gmail.com>
parents:
diff changeset
   201
* Add new option types, most notable the List Item which should eventually replace the Slider.
d970ebf37754 first import
ymh <ymh.work@gmail.com>
parents:
diff changeset
   202
* Added the simpler ot_get_option() function to eventually replace get_option_tree().
d970ebf37754 first import
ymh <ymh.work@gmail.com>
parents:
diff changeset
   203
* Added support for Meta Boxes.
d970ebf37754 first import
ymh <ymh.work@gmail.com>
parents:
diff changeset
   204
* Added Theme Mode where you can now include the plugin directly in your theme.
d970ebf37754 first import
ymh <ymh.work@gmail.com>
parents:
diff changeset
   205
* Better validation on saved data.
d970ebf37754 first import
ymh <ymh.work@gmail.com>
parents:
diff changeset
   206
* Simplified the import process.
d970ebf37754 first import
ymh <ymh.work@gmail.com>
parents:
diff changeset
   207
* Added support for contextual help.
d970ebf37754 first import
ymh <ymh.work@gmail.com>
parents:
diff changeset
   208
* Permanently move the Theme Option to the Appearance tab.
d970ebf37754 first import
ymh <ymh.work@gmail.com>
parents:
diff changeset
   209
* Added a ton of filters.
d970ebf37754 first import
ymh <ymh.work@gmail.com>
parents:
diff changeset
   210
* Made huge improvements to the code base and tested rigorously.
d970ebf37754 first import
ymh <ymh.work@gmail.com>
parents:
diff changeset
   211
d970ebf37754 first import
ymh <ymh.work@gmail.com>
parents:
diff changeset
   212
= 1.1.8.1 =
d970ebf37754 first import
ymh <ymh.work@gmail.com>
parents:
diff changeset
   213
* Removed get_option_tree() in the WordPress admin area due to theme conflicts.
d970ebf37754 first import
ymh <ymh.work@gmail.com>
parents:
diff changeset
   214
* Removed demo files in the assets folder at the request of WordPress
d970ebf37754 first import
ymh <ymh.work@gmail.com>
parents:
diff changeset
   215
d970ebf37754 first import
ymh <ymh.work@gmail.com>
parents:
diff changeset
   216
= 1.1.8 =
d970ebf37754 first import
ymh <ymh.work@gmail.com>
parents:
diff changeset
   217
* Fixed scrolling issue on extra tall pages
d970ebf37754 first import
ymh <ymh.work@gmail.com>
parents:
diff changeset
   218
* Added ability to show/hide settings & documentation via the User Profile page.
d970ebf37754 first import
ymh <ymh.work@gmail.com>
parents:
diff changeset
   219
* Added Background option type.
d970ebf37754 first import
ymh <ymh.work@gmail.com>
parents:
diff changeset
   220
* Added Typography option type.
d970ebf37754 first import
ymh <ymh.work@gmail.com>
parents:
diff changeset
   221
* Added CSS option type.
d970ebf37754 first import
ymh <ymh.work@gmail.com>
parents:
diff changeset
   222
* Better looking selects with 1=Yes,2=No where '1' is the value and 'Yes' is the text in the select.
d970ebf37754 first import
ymh <ymh.work@gmail.com>
parents:
diff changeset
   223
* Made the AJAX message CSS more prominent.
d970ebf37754 first import
ymh <ymh.work@gmail.com>
parents:
diff changeset
   224
* functions.load.php will now only load option type functions if viewing an OT admin page.
d970ebf37754 first import
ymh <ymh.work@gmail.com>
parents:
diff changeset
   225
* Deregistered the custom jQuery UI in the 'Cispm Mail Contact' plugin when viewing an OptionTree page.
d970ebf37754 first import
ymh <ymh.work@gmail.com>
parents:
diff changeset
   226
* Can now save layouts from the Theme Options page.
d970ebf37754 first import
ymh <ymh.work@gmail.com>
parents:
diff changeset
   227
* You can now change the slider fields by targeting a specific "Option Key"
d970ebf37754 first import
ymh <ymh.work@gmail.com>
parents:
diff changeset
   228
* Modified upload for situations where you manually enter a relative path
d970ebf37754 first import
ymh <ymh.work@gmail.com>
parents:
diff changeset
   229
* Allow get_option_tree() function to be used in WP admin
d970ebf37754 first import
ymh <ymh.work@gmail.com>
parents:
diff changeset
   230
* Changed permissions to edit_theme_options
d970ebf37754 first import
ymh <ymh.work@gmail.com>
parents:
diff changeset
   231
d970ebf37754 first import
ymh <ymh.work@gmail.com>
parents:
diff changeset
   232
= 1.1.7.1 =
d970ebf37754 first import
ymh <ymh.work@gmail.com>
parents:
diff changeset
   233
* Revert functions.load.php, will fix and update in next version
d970ebf37754 first import
ymh <ymh.work@gmail.com>
parents:
diff changeset
   234
d970ebf37754 first import
ymh <ymh.work@gmail.com>
parents:
diff changeset
   235
= 1.1.7 =
d970ebf37754 first import
ymh <ymh.work@gmail.com>
parents:
diff changeset
   236
* Added layout (theme variation) support with save/delete/activate/import/export capabilities. Contributions form Brian of flauntbooks.com
d970ebf37754 first import
ymh <ymh.work@gmail.com>
parents:
diff changeset
   237
* Allow layout change on Theme Options page.
d970ebf37754 first import
ymh <ymh.work@gmail.com>
parents:
diff changeset
   238
* Full Multisite compatibility by manually adding xml mime type for import options.
d970ebf37754 first import
ymh <ymh.work@gmail.com>
parents:
diff changeset
   239
* Replaced eregi() with preg_match() for 5.3+ compatibility.
d970ebf37754 first import
ymh <ymh.work@gmail.com>
parents:
diff changeset
   240
* Changed test data in the assets directory for new layout option.
d970ebf37754 first import
ymh <ymh.work@gmail.com>
parents:
diff changeset
   241
* Made it so when the slider & upload image changes it's reflected on blur.
d970ebf37754 first import
ymh <ymh.work@gmail.com>
parents:
diff changeset
   242
* Gave the slider image an upload button.
d970ebf37754 first import
ymh <ymh.work@gmail.com>
parents:
diff changeset
   243
* Added do_action('option_tree_import_data') to option_tree_import_data() function before exit.
d970ebf37754 first import
ymh <ymh.work@gmail.com>
parents:
diff changeset
   244
* Added do_action('option_tree_array_save') to option_tree_array_save() function before exit.
d970ebf37754 first import
ymh <ymh.work@gmail.com>
parents:
diff changeset
   245
* Added do_action('option_tree_save_layout') to option_tree_save_layout() function before exit.
d970ebf37754 first import
ymh <ymh.work@gmail.com>
parents:
diff changeset
   246
* Added do_action('option_tree_delete_layout') to option_tree_delete_layout() function before exit.
d970ebf37754 first import
ymh <ymh.work@gmail.com>
parents:
diff changeset
   247
* Added do_action('option_tree_activate_layout') to option_tree_activate_layout() function before exit.
d970ebf37754 first import
ymh <ymh.work@gmail.com>
parents:
diff changeset
   248
* Added do_action('option_tree_import_layout') to option_tree_import_layout() function before redirect.
d970ebf37754 first import
ymh <ymh.work@gmail.com>
parents:
diff changeset
   249
* Added do_action('option_tree_admin_header') hook before all admin pages.
d970ebf37754 first import
ymh <ymh.work@gmail.com>
parents:
diff changeset
   250
* Fixed bug where users could add a color without a hash.
d970ebf37754 first import
ymh <ymh.work@gmail.com>
parents:
diff changeset
   251
* Only load option type function on Theme Options page
d970ebf37754 first import
ymh <ymh.work@gmail.com>
parents:
diff changeset
   252
* Loading resources with absolute paths, no longer relative.
d970ebf37754 first import
ymh <ymh.work@gmail.com>
parents:
diff changeset
   253
* Fixed a bug with uploader creating extra option-tree draft pages.
d970ebf37754 first import
ymh <ymh.work@gmail.com>
parents:
diff changeset
   254
* Fixed slider toggle bug, now the sliders close when you open another or create new slide.
d970ebf37754 first import
ymh <ymh.work@gmail.com>
parents:
diff changeset
   255
d970ebf37754 first import
ymh <ymh.work@gmail.com>
parents:
diff changeset
   256
= 1.1.6 =
d970ebf37754 first import
ymh <ymh.work@gmail.com>
parents:
diff changeset
   257
* Theme Integration added.
d970ebf37754 first import
ymh <ymh.work@gmail.com>
parents:
diff changeset
   258
* Made the upload XML file openbase_dir compliant.
d970ebf37754 first import
ymh <ymh.work@gmail.com>
parents:
diff changeset
   259
d970ebf37754 first import
ymh <ymh.work@gmail.com>
parents:
diff changeset
   260
= 1.1.5 =
d970ebf37754 first import
ymh <ymh.work@gmail.com>
parents:
diff changeset
   261
* Fixed multiple sliders issue
d970ebf37754 first import
ymh <ymh.work@gmail.com>
parents:
diff changeset
   262
d970ebf37754 first import
ymh <ymh.work@gmail.com>
parents:
diff changeset
   263
= 1.1.4 =
d970ebf37754 first import
ymh <ymh.work@gmail.com>
parents:
diff changeset
   264
* Patch for get_option_tree() $is_array being false and still returning an array
d970ebf37754 first import
ymh <ymh.work@gmail.com>
parents:
diff changeset
   265
d970ebf37754 first import
ymh <ymh.work@gmail.com>
parents:
diff changeset
   266
= 1.1.3 =
d970ebf37754 first import
ymh <ymh.work@gmail.com>
parents:
diff changeset
   267
* Added Slider option type with filter for changing the optional fields
d970ebf37754 first import
ymh <ymh.work@gmail.com>
parents:
diff changeset
   268
* Fixed the text displayed for Measurement option type after options are reset
d970ebf37754 first import
ymh <ymh.work@gmail.com>
parents:
diff changeset
   269
* Added filter to measurement units
d970ebf37754 first import
ymh <ymh.work@gmail.com>
parents:
diff changeset
   270
* Code cleanup in the option_tree_array_save() function
d970ebf37754 first import
ymh <ymh.work@gmail.com>
parents:
diff changeset
   271
* Fixed double quotes on front-end display
d970ebf37754 first import
ymh <ymh.work@gmail.com>
parents:
diff changeset
   272
d970ebf37754 first import
ymh <ymh.work@gmail.com>
parents:
diff changeset
   273
= 1.1.2 =
d970ebf37754 first import
ymh <ymh.work@gmail.com>
parents:
diff changeset
   274
* Fixed double quotes in Textarea option type
d970ebf37754 first import
ymh <ymh.work@gmail.com>
parents:
diff changeset
   275
* Added Measurement option type for CSS values
d970ebf37754 first import
ymh <ymh.work@gmail.com>
parents:
diff changeset
   276
* Fixed Post option type only returning 5 items
d970ebf37754 first import
ymh <ymh.work@gmail.com>
parents:
diff changeset
   277
* Added a scrolling window for checkboxes > 10
d970ebf37754 first import
ymh <ymh.work@gmail.com>
parents:
diff changeset
   278
d970ebf37754 first import
ymh <ymh.work@gmail.com>
parents:
diff changeset
   279
= 1.1.1 =
d970ebf37754 first import
ymh <ymh.work@gmail.com>
parents:
diff changeset
   280
* Fixed the 'remove' icon from showing when nothing's uploaded
d970ebf37754 first import
ymh <ymh.work@gmail.com>
parents:
diff changeset
   281
d970ebf37754 first import
ymh <ymh.work@gmail.com>
parents:
diff changeset
   282
= 1.1 =
d970ebf37754 first import
ymh <ymh.work@gmail.com>
parents:
diff changeset
   283
* Fixed the Undefined index: notices when WP_DEBUG is set to true
d970ebf37754 first import
ymh <ymh.work@gmail.com>
parents:
diff changeset
   284
d970ebf37754 first import
ymh <ymh.work@gmail.com>
parents:
diff changeset
   285
= 1.0.0 =
d970ebf37754 first import
ymh <ymh.work@gmail.com>
parents:
diff changeset
   286
* Initial version
d970ebf37754 first import
ymh <ymh.work@gmail.com>
parents:
diff changeset
   287
d970ebf37754 first import
ymh <ymh.work@gmail.com>
parents:
diff changeset
   288
== Upgrade Notice ==
d970ebf37754 first import
ymh <ymh.work@gmail.com>
parents:
diff changeset
   289
d970ebf37754 first import
ymh <ymh.work@gmail.com>
parents:
diff changeset
   290
= 2.1.4 =
d970ebf37754 first import
ymh <ymh.work@gmail.com>
parents:
diff changeset
   291
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.
d970ebf37754 first import
ymh <ymh.work@gmail.com>
parents:
diff changeset
   292
d970ebf37754 first import
ymh <ymh.work@gmail.com>
parents:
diff changeset
   293
= 2.0.16 =
d970ebf37754 first import
ymh <ymh.work@gmail.com>
parents:
diff changeset
   294
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.
d970ebf37754 first import
ymh <ymh.work@gmail.com>
parents:
diff changeset
   295
d970ebf37754 first import
ymh <ymh.work@gmail.com>
parents:
diff changeset
   296
= 2.0.12 =
d970ebf37754 first import
ymh <ymh.work@gmail.com>
parents:
diff changeset
   297
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.
d970ebf37754 first import
ymh <ymh.work@gmail.com>
parents:
diff changeset
   298
d970ebf37754 first import
ymh <ymh.work@gmail.com>
parents:
diff changeset
   299
= 1.1.8.1 =
d970ebf37754 first import
ymh <ymh.work@gmail.com>
parents:
diff changeset
   300
Removed get_option_tree() in the WordPress admin area due to theme conflicts.
d970ebf37754 first import
ymh <ymh.work@gmail.com>
parents:
diff changeset
   301
d970ebf37754 first import
ymh <ymh.work@gmail.com>
parents:
diff changeset
   302
= 1.1.8 =
d970ebf37754 first import
ymh <ymh.work@gmail.com>
parents:
diff changeset
   303
Added Typography, Background, & CSS option types. Lots of way to extend them, as well.
d970ebf37754 first import
ymh <ymh.work@gmail.com>
parents:
diff changeset
   304
d970ebf37754 first import
ymh <ymh.work@gmail.com>
parents:
diff changeset
   305
= 1.1.7 =
d970ebf37754 first import
ymh <ymh.work@gmail.com>
parents:
diff changeset
   306
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.
d970ebf37754 first import
ymh <ymh.work@gmail.com>
parents:
diff changeset
   307
d970ebf37754 first import
ymh <ymh.work@gmail.com>
parents:
diff changeset
   308
= 1.1.6 =
d970ebf37754 first import
ymh <ymh.work@gmail.com>
parents:
diff changeset
   309
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.
d970ebf37754 first import
ymh <ymh.work@gmail.com>
parents:
diff changeset
   310
d970ebf37754 first import
ymh <ymh.work@gmail.com>
parents:
diff changeset
   311
= 1.1.5 =
d970ebf37754 first import
ymh <ymh.work@gmail.com>
parents:
diff changeset
   312
Having multiple sliders caused a naming collision in the JavaScript and is now fixed. Upgrade ASAP to have multiple sliders available in the UI.
d970ebf37754 first import
ymh <ymh.work@gmail.com>
parents:
diff changeset
   313
d970ebf37754 first import
ymh <ymh.work@gmail.com>
parents:
diff changeset
   314
= 1.1.4 =
d970ebf37754 first import
ymh <ymh.work@gmail.com>
parents:
diff changeset
   315
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.