Releases: wpmetabox/meta-box
Releases · wpmetabox/meta-box
4.13.1
4.13.0
Added
- Added new contexts for meta box:
form_top
,after_title
,after_editor
,before_permalink
. - Added settings
'style' => 'seamless'
to meta boxes which removes the wrapper for meta boxes, makes fields displayed seamlessly. - Added new field type
switch
with iOS / square styles. See demo. - Added new field type
background
that lets you define all background attributes easier. See demo. - Added new field type
button_group
that lets you define group of buttons, similar to a toolbar. See demo. - Added new field type
single_image
that lets you select only a single image. See demo. - Added Italian translation. Props @flocca.
Fixed
- Fixed post parent value is not selected after saving (
post
field).
4.12.6
Added
- Added welcome page. Displayed only once when first install the plugin. Won't display if included via TGM or directly in themes/plugins.
- Added "sidebar" field type. See here.
- Added "format" option for shortcode and
rwmb_the_value
for datetime field.
Fixed
- Fixed compatibility with old versions of WPML.
- Fixed image field not saving values after updating posts.
- Fixed validation message overlapping text for radio field.
4.12.5
Fixed
- Fixed "Select All/None" doesn't work with post field (checkbox_list type).
- Fixed color picker field for WordPress 4.9.
- Fixed map field doesn't work inside groups.
- Fixed media fields don't reset value when cloning the container groups.
Changed
- File field now uses hidden input to handle field values. Remove ajax action for reordering files and simply file action for deleting files. Also make it works with post thumbnail removal in the frontend.
4.12.4
Fixed
- Fixed taxonomy advanced select tree doesn't work.
- Fixed error when value of taxonomy field is empty.
- Fixed helper functions don't work with taxonomy_advanced field
- Increased priority for registering meta boxes to 20 to support custom port types registered using the default priority.
- Fixed condition so that the fields based on posts/taxonomies are correctly translated.
4.12.3
Added
- Reset media status when reset media field.
- Added support for clone default value. Requires 'clone_default' => true.
Changed
- Optimized JS performance when cloning.
- Updated French translation
Fixed
- Brought date picker in front of admin bar.
- Fixed margin of media list when no images are selected.
- Fixed trigger reselect image popup when reorder images.
- Fixed autosave not working.
4.12.2
Added
- Added new
media:reset
event for media fields to clear the selection.
Changed
- Improve meta box registry that can handle various types of meta boxes. Used for term meta, user meta, settings pages.
- Improve the way set current object id for meta box and add fields to the registry.
4.12.1
4.12
Added
- Completed the storage abstraction. All the actions add/get/update/delete post meta now use the storage methods. Make it easy to extend for other extensions for term/user meta and settings pages.
- Added
autofocus
,autocomplete
HTML5 attribute to inputs. - Added
alpha_channel
tocolor
field. Set it totrue
to allow picking colors with opacity. - Click on the image will open a popup for re-select image. Works for
image_advanced
andimage_upload
(plupload_image
) fields.
Changed
- Auto display oembed media when pasting the URL, without click "Preview" button (and it's removed).
- Better styles for media fields. Use the loading icon from WordPress.
Fixed
- Fix cloning an editor inside a group in WordPress 4.8. Caused by updated version of TinyMCE using Promise.
- Modals created by media fields now exclude already selected media. This was a previous feature, but it had caused problems with uploading.
- Fixed Google map doesn't use custom style