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