Skip to content
This repository has been archived by the owner on Dec 17, 2018. It is now read-only.

v1.0.1

Compare
Choose a tag to compare
@jtsternberg jtsternberg released this 24 Jan 17:14
· 209 commits to master since this release

Bug Fixes

  • Fixed wysiwyg editor button padding. props @corvannoorloos
  • A few php < 5.3 errors were addressed.
  • Fields with quotation marks no longer break the input/textarea fields.
  • metaboxes for Attachment pages now save correctly. Thanks @nciske for reporting.
  • Occasionally fields wouldn't save because of the admin show_on filter.
  • Smaller images loaded to the file field type will no longer be blown up larger than their dimensions.

Enhancements

  • Now works with option pages and site settings. (view example in wiki)
  • two filters to override the setting and getting of options, cmb_override_option_get_$option_key and cmb_override_option_save_$option_key respectively. Handy for using plugins like WP Large Options (also here).
  • Improved styling on taxonomy (tease) and options pages and for new 3.8 admin UI.
  • New sanitization class to sanitize data when saved.
  • New callback field parameter, sanitization_cb, for performing your own sanitization.
  • new cmb_Meta_Box_types::esc() method that handles escaping data for display.
  • New callback field parameter, escape_cb, for performing your own data escaping, as well as a new filter, 'cmb_types_esc_'. $field['type'].