Skip to content

Releases: wpmetabox/meta-box

4.11.2

04 Jul 05:34
Compare
Choose a tag to compare
  • Introducing storage interface, which now can be extended for term/user/settings page under the same codebase. With this improvement, helper functions now works for term/user/settings page (require premium extensions).
  • Fixed cloning wysiwyg field when tinyMCE mode is turned off (only show quick tags).
  • Fixed image_upload & file_upload field doesn't add attachment to post
  • Fixed text_list fields not saving correctly when edit not last field. #1117.
  • Update Persian translation. Credit Morteza Gholami.

4.11.1

04 Jul 05:36
Compare
Choose a tag to compare
  • Added button for "Check/Uncheck all options" in input list field when type is checkbox_list. Props @mrbrazzi.
  • Select multiple images now does not require to press "Shift".
  • Change button field to actual button element. #1108.
  • Fix scripts and styles dependencies.
  • Fix bug for select tree when parent not set
  • Add sanitize post type in case users use CamelCase in post type name. #1109.
  • Increase z-index of datepicker to prevent overlap with top menu bar. #1112.
  • Make compatible with MB Admin Columns and MB Frontend Submission extensions
  • Update Persian translation. Credit Morteza Gholami

4.11

04 Jul 05:37
Compare
Choose a tag to compare
  • Code architecture update:
    • Add object_id property to the meta box object. Used to connect the meta box to the post object. Not heavily used yet.
    • Add RWMB_Meta_Box_Registry and RWMB_Field_Registry to store all registered meta boxes and fields. Used to future access these objects. Use internally only. 3rd-party code should not use it as it's still experimental and can change in the future.
    • Deprecated RWMB_Core::get_meta_boxes() due to the meta box registry above. This function was made for internally use only. 3rd-party code should not rely on it.
    • Add magic method __get to the meta box object to quick access to meta box configuration.
  • UI update:
    • Make the field label bold (similar to WordPress settings page).
    • Increase margin between fields and change color for remove clone button (also reduce minus size)
    • Remove style for checkbox (default is good).
    • Improve styles for checkbox/radio list
    • A little smaller padding for select box. Also remove default size for select[multiple]
    • Add a little space between the map canvas and the "Find Address" button
  • Media fields:
    • Media field update: Hidden field for media fields now no longer disabled. If media field js not loaded properly, code will default to hidden field and process accordingly. #1088.
    • Better and simpler way to handle HTML file upload using media_handle_upload function.
    • Rewrite JS for "file", simpler and modular. Also fix bug when add/remove items that doesn't toggle the Add more link correctly.
    • Improve JS code for media field, using MediaList instead of item views (Backbone JS code).
    • Add support for image sizes in image_advanced and image_upload. Default is thumbnail. Fixes #425.
  • Clone:
    • Add new parameter add_button for the add new clone button text. Better than use filter.
    • Fix position for remove clone button in RTL languages
    • Update margin between clones and set clone placeholder = outer height of the cloned element.
  • Scripts and styles:
    • Check condition for enqueueing scripts & styles only in the admin.
    • Update the time picker library to the latest version (1.6.3) to supports "select" control for time picker. See demo.
    • Better dependencies for date picker CSS, autocomplete field.
  • Other improvements:

4.10.4

04 Jul 05:38
Compare
Choose a tag to compare
  • Improvement: Add support for validate user edit and term edit forms (requires MB Term Meta or MB User Meta extension).
  • Improvement: Add new parameter label_description for fields to display a description below field label (name).
  • Improvement: Add support for edit custom fields in the media modal. Requires post_type set to attachment and media_modal set to true. See demo.
  • Improvement: For WPML users: Add support to hide fields in "Do not translate" mode and disable editing fields in "Copy" mode.
  • Fix: Users can't select same images for 2 different image_advanced fields.
  • Fix: max_status doesn't work.

4.10.3

04 Jul 05:38
Compare
Choose a tag to compare
  • Fix: force_delete causes files to be deleted even when set to false.
  • Fix: max_file_uploads not working.

4.10.2

04 Jul 05:38
Compare
Choose a tag to compare
  • Improvement: Add max_file_size to upload fields (File_Upload, Image_Upload, Plupload_Image).
  • Improvement: Add support for attributes for file input.
  • Improvement: Update Polish translation.
  • Improvement: Add translation support for Key and Value strings (@prop saqibsarwar).
  • Fix: Shorter width of email field vs. other fields (@prop saqibsarwar).
  • Fix: Fix cloneable datetime field with timestamp=true.
  • Fix: Remove margin bottom in select_advanced options.
  • Fix: Showing the correct selected value for select_advanced field when the option value contains '&' character.
  • Fix: Fix default values not working with taxonomy and taxonomy_advanced fields.

4.10.1

04 Jul 05:39
Compare
Choose a tag to compare
  • Fix: Fix image_upload and plupload_image field when select images to upload.

4.10

04 Jul 05:39
Compare
Choose a tag to compare
  • Improvement: Add video field type which allows users to upload or select video from the Media Library. See demo.
  • Improvement: Update Turkish. Prop Emre Tuna tunaemre@windowslive.com.
  • Improvement: Use WP 4.6 date picker localization instead of JS localized file to reduce plugin size.
  • Improvement: Refactor the media fields for better performance. Add change event for item list when add, remove or reset.
  • Fix: taxonomy_advanced field now can be cloned.
  • Fix: Make localize_script works with WP 4.1.

4.9.6

04 Jul 05:42
Compare
Choose a tag to compare
  • Fix: Wrong CSS selector when cloning wysiwyg field
  • Fix: Remove preview for oembed field when cloning
  • Fix: 'std' for taxonomy field now works

4.9.5

04 Jul 05:43
Compare
Choose a tag to compare
  • Fix: Quick fix for wrong field wrapper class which causes color field to render incorrectly