Meta Box
PluginChangelog 97
Every release, newest first, as the vendor published it in the plugin’s changelog.
5.15.1
Fixed In the repository- Fix multibyte IDs breaking WordPress 7.1 meta box tooltips
- Fix focus handling for hidden validation error elements
5.15.0
Not available yetHighlights:
This version adds support for WooCommerce HPOS that allows you to use Meta Box fields to WooCommerce orders (with WooCommerce's High-Performance Order Storage (HPOS) feature). For more information, see our blog post.
5.14.1
Improved Fixed Security Not available yet- Tighten security for Abilities: users now need the
edit_postcapability (or equivalent) to read custom field values, so sensitive data is only accessible to users who can edit content - Improve the readme with a link to the source code on GitHub, plus documentation for the Google Maps and OpenStreetMap fields, including terms of use and privacy policy links
- Fix minor issues found in the WordPress.org plugin review (PHP syntax in the dashboard, plugin package contents)
5.14.0
Improved Not available yetHighlights:
This release introduces Block Bindings for Meta Box fields, allowing you to bind field values directly to blocks in the WordPress editor. Meta Box fields now appear as a source in the block bindings panel, making it easy to use custom field data inside blocks without shortcodes or PHP.
See our blog post for an overview or the documentation for usage details.
Other changes:
- Update select2 library to fix missing placeholder
5.13.1
Fixed Security Not available yet- Fix missing authorization check in
ajax_delete_filefor enhanced security - Allow HTML in switch on/off and button group labels (e.g., Dashicons)
5.13.0
Fixed Not available yetHighlights:
This release introduces Abilities, enabling you to manage custom post types and taxonomies, as well as create, retrieve, update, and delete posts and terms.
See our blog post for an overview or the documentation for usage details.
Other changes:
- Fix unable to scroll in full screen mode for the
block_editorfield (#1689) - Use
WP_Query'ssearch_columnsinstead of customsearch_by_titlefilter - Fix autocomplete dropdown z-index in map/osm field inside MB Blocks
5.12.1
Improved Fixed Not available yet- Update style to match WordPress 7
- Fix wp_style_add_data issue for OSM field
- Fix: prevent invalid JSON in media field data attributes
- Fix: escape $object->label with esc_html() in input-list walker
5.12.0
New Not available yet- New field type
linkthat allows you to add a link with native WordPress experience (similar to ACF) - Auto add child blocks for allowed blocks for the
block_editorfield
5.11.4
New Not available yet- Add an internal hook for enqueuing custom blocks' assets for
block_editorfield
5.11.3
New Fixed Not available yet- Add
toolbar_positionoption for the block editor field, which accepts valuetop(default) orcontextual. This option is for where to display editing toolbar for blocks. - Fix saving an empty paragraph in the block editor field
- Fix validation error persisting after removing duplicate blocks
- Fix extra empty clone saved when calling
set_post_data()during validation
5.11.2
New Improved Fixed Security Not available yetImprovements for the block editor field:
- Add breadcrumbs
- Fix compatibility with Block Visibility plugin
- Fix not loading 3rd-party blocks
- Improve the CSS
Other changes:
- Fix save time format for the datetime field
- Fix icon field dropdown broken display when SVG contains double quotes
- Fix path traversal in
ajax_delete_filefor security - Fix timestamp should not be set for the time picker field
5.11.1
New Fixed Not available yetImprovements for the block editor field:
- Add block inspector sidebar
- Add structure panel to show the list view of blocks
- Add fullscreen mode
- Add
heightsettings (default is300px) and allow resizing the editor
Fixes for the block editor field:
- Fix cannot upload images for the image block
- Fix blank site editor when using the block editor field
- Fix custom rich text formats not working
- Fix conflicts with
image_advancedandfile_advancedfields
Other changes:
- Fix cannot create new terms with required date/time fields
5.11.0
New Not available yet- Add new field type:
block_editor. See more details on our blog post and documentation.
5.10.19
Fixed Not available yet- Fix the
usestatement with non-compound name has no effect
5.10.18
Fixed Not available yet- Fix deprecation message for
datetimefield
5.10.17
Not available yet- WPML integration: fix error when filtering value for helper functions when no fields are found.
5.10.16
Fixed Not available yet- WPML integration: filter helper functions to get the translated IDs for
postfield - Fix cloning
postfield not clearing the value
5.10.15
New Not available yet- Add
marker_draggableoption formap/osmfields to disable changing the pin on the map.
5.10.14
Improved Not available yet- Update dependencies
5.10.13
Fixed In the repository- Fix
get_current_screen()error for term meta
5.10.12
Fixed Not available yet- Fix Open Street Maps field not showing (sometimes) with conditional logic
- Enqueue assets for the iframed editor, to make all fields are rendered properly in the iframed editor
5.10.11
Fixed Not available yetFix validation for blocks
5.10.10
Fixed Not available yet- Fix datetime field returns null
- Fix single image field not working with Polylang Pro
- Fix reveal password icon not working
5.10.9
New Not available yet- Add button to toggle password (#1630)
- Add gesture handling support for OSM field (#1631)
- Datetime & select2: use user's locale instead of site's locale
5.10.8
Not available yet- Redesign the dashboard
5.10.7
Fixed Not available yet- Fix: max clone with clone empty start
5.10.6
New Fixed Removed Not available yet- Fix validation for dash ids
- Fix datetime fields not showing inline picker inside groups
- Fix
label_descriptionnot working forfieldset_text - Fix field label div still show when no field name but with
label_description - Remove
image_selectfield's JS, styling with CSS only - Add gap for key value inputs
5.10.5
Improved Fixed Not available yet- Make validation for add new terms work
- Improve styling of meta boxes on the sidebar in the block editor
- Improve style of input with prepend and append
- Fix maps/osm fields and geolocation not working with subfields in groups
- Fix select advanced becomes normal select with cloneable setting
- Fix validation
5.10.4
New Fixed In the repository- OSM/Map fields: add support for select field type
- Add
$urltorwmb_oembed_not_available_stringfilter - Small CSS improvements for file input, background & button group
- Fix not returning value for helper functions for images saving in a custom folder and using a custom table
5.10.3
Fixed Not available yet- fix: std after saving
- fix: field set text save empty values
- fix: subfield's id
5.10.2
Fixed In the repository- Fix issue with conditional logic
- Fix error when removing default taxonomy meta box in the front end or with the block editor
- Fix missing .hidden on the front end for
checkbox_tree - Fix required attribute for
select_tree
5.10.1
Fixed Not available yet- Fix issue with
clone_empty_start(validation, now showing data for the 1st clone, brokentext_listfield, etc.)
5.10.0
Fixed Not available yetHighlights:
This version introduces new parameter for field: clone_empty_start that makes cloneable groups not showing inputs at first. When users want to enter data, they'll need to click the "+ Add new" button. This feature updates the UI and makes it cleaner.
See more details on our blog post.
Other changes:
- Replace
sprintfwith string concatenation inRWMB_Field::showto fix issues when$field['before']or$field['after']contains special characters (%). Props Daniel Haim. - Fix mismatch filter params for
rwmb_metawhen no fields are found.
5.9.11
Fixed Security Not available yet- Make validation work for blocks
- Fix JavaScript validation error in site editor
- Set default minute step = 5 for datetime/time pickers
- Security fix for ajax getting posts
5.9.10
Fixed Security Not available yet- Fix modal not updating URL (when add new)
- Security fix for ajax get posts/users
5.9.9
Fixed Not available yet- Fix show hide checkbox tree
- Fix default value not display as selected time
- Fix datetime field not removing value when set inline & timestamp = true
5.9.8
Fixed Not available yet- Fix activation error on ajax request since WordPress 6.5
5.9.7
Not available yet- Revert fix for Meta Box Conditional Logic
5.9.6
New Fixed Security Not available yet- Add progress bar for field
file_upload - Force returned value of sanitize color to string
- Enqueue assets for FSE and widget (with block editor) screens
- Fix jumping layout for Meta Box Conditional Logic
- Fix errors when using cloneable map/osm fields
5.9.5
New Not available yet- Add
save_formatsettings totimefield - Field icon SVG not displaying
5.9.4
Fixed Security Not available yet- Fix security issue when users set object id in the helper functions where they don't have permission to view (such as private posts)
5.9.3
New Fixed Security Not available yetHighlights:
Fix security issue of the output shortcode [rwmb_meta] not escaping. Users can disable escaping (to revert the previous behavior) by adding this snippet:
add_filter( 'rwmb_meta_shortcode_secure', '__return_false' ); // or add_filter( 'rwmb_meta_shortcode_secure_{$field_id}', '__return_false' );
Other changes:
- Fix compatibility with PHP 8.3
- Fix not showing more than 10 saved users or terms
5.9.2
Improved Not available yet- Validation: fix PHP warning when fields has non-consecutive keys
- Icon field: fix custom icon not working
- Update jQuery Validation to 1.20.0. Props Maarten.
- Prepare css to be inlined. Props Maarten.
5.9.1
Fixed Not available yet- Fix preview posts not working in the block editor in WP 6.4.
- Icon field: allow to set relative path/URL for settings
- Icon field: add support for scanning CSS file (
icon_csssetting) and parsing CSS class - Autocomplete field: fix not saving first value if the value is 0 (integer).
5.9.0
New Not available yetHighlights:
Add new icon field type, which supports Font Awesome Free, Font Awesome Pro and custom icon set. Can be used with icon font with CSS file or with SVGs. See the plugin docs for how to use it.
The icon field type will be added to the new version of Meta Box Builder soon, which will allow you to configure its settings with UI.
4.5.2
Improved Fixed Not available yet- Improvement: Add Persian (Farsi) language. Thank Ahmad Azimi.
- Improvement: Update Spanish translation. Thank David Perez.
- Fix: Cloning text fields
- Fix: rwmb_meta works incorrectly for image fields if multiple=false
4.5.1
Improved Fixed Not available yet- Improvement: Add ability to use multiple post types for
postfield - Fix: Duplicated description for
checkboxfield - Fix: Blank gallery for image fields
4.5
Improved Not available yet- Improvement: Separate
esc_metamethod - Improvement: Add ability to use URL to retrieve options for autocomplete field
- Improvement: Add
rwmb_get_fieldandrwmb_the_fieldfunctions to get and display field values in the frontend - Improvement: Add field type
custom_htmlto display any HTML in the meta box - Improvement: Add field type
key_valuewhich allows users to add any number of key-value pairs - Improvement: Use single JS file to display Google Maps in the frontend. No more inline Javascript.
- Improvement: Code refactor
4.4.3
Improved Fixed Not available yet- Fix: Incorrect path to loader image for
plupload_image - Fix: Missing placeholder for
postfield whenfield_type=select - Improvement: No errors showing if invalid value is returned from
rwmb_meta_boxesfilter - Improvement: Add filter for add/remove clone buttons text
- Improvement: Add French translation
4.4.2
Improved Fixed Not available yet- Fix: Values of text_list field not showing correctly
- Fix: Time picker field cannot select hour > 22, time > 58
- Fix: Notice error when showing fields which don't have ID
- Fix: Don't return non-existing files or images via rwmb_meta function
- Fix: CSS alignment for taxonomy tree
- Fix: Placeholder not working for "select" taxonomy
- Improvement: Update timepicker to latest version
- Improvement: Improve output markup for checkbox field
4.4.1
Improved Fixed Not available yet- Fix: wrong text domain
- Fix:
select_advancedfield not cloning - Fix: cloned emails are not saved
- Improvement: Use
post_typesinstead ofpages, accept string for single post type as well. Fallback topagesfor previous versions.
4.4.0
New Improved Not available yet- New: 'autocomplete' field.
- Improvement: field id is now optional (heading, divider)
- Improvement: heading now supports 'description'
- Improvement: update select2 library to version 3.5.2
- Improvement: coding standards
4.3.11
Improved Fixed Not available yet- Bug fix: use field id instead of field_name for wysiwyg field
- Improvement: allow to sort files
- Improvement: use 'meta-box' text domain instead of 'rwmb'
- Improvement: coding standards
4.3.10
Fixed Not available yet- Bug fix: upload & reorder for image fields
- Bug fix: not saving meta caused by page template issue
- Bug fix: filter names for helper and shortcode callback functions
- Bug fix: loads correct locale JS files for jQueryUI date/time picker
4.3.9
Improved Fixed Not available yet- Bug fix:
text-listfield type - Improvement: better coding styles
- Improvement: wysiwyg field is now clonable
- Improvement: launch geolocation autocomplete when address field is cloned
- Improvement: better cloning for radio, checkbox
- Improvement: add more hooks
- Improvement: allow child fields to add their own add/remove clone buttons.
- Improvement: remove 'clone-group'. Too complicated and not user-friendly.
4.3.8
Fixed Not available yet- Bug fix: compatibility with PHP 5.2
4.3.7
Improved Fixed Not available yet- Bug fix: use WP_Query instead of
query_poststo be compatible with WPML - Bug fix:
get_called_classfunction in PHP < 5.3 - Bug fix: clone now works for
sliderfield - Bug fix: fix cloning URL field
- Bug fix: hidden drop area if no max_file_uploads defined
- Improvement: added composer.json
- Improvement: add Chinese language
- Improvement: better check for duplication when save post
- Improvement: new
image_selectfile, which is "radio image", e.g. select a radio value by selecting image - Improvement: new
file_inputfield, which allows to upload files or enter file URL - Improvement: separate core code for meta box and fields
- Improvement: allow to add more map options in helper function
- Improvement: allow to pass more arguments to "get_terms" function when getting meta value with "rwmb_meta"
4.3.6
Improved Fixed Not available yet- Bug fix: fatal error in PHP 5.2 (continue)
- Improvement: allow register meta boxes via filter
4.3.5
Fixed Not available yet- Bug fix: fatal error in PHP 5.2
- Bug fix: save empty values of clonable fields
4.3.4
Improved Fixed Removed Not available yet- Bug fix: not show upload button after delete image when reach max_file_upload. #347
- Bug fix: autocomplete for map which conflicts with tags (terms) autocomplete
- Bug fix: random image order when reorder
- Bug fix: undefined index, notices in WordPress 3.6, notice error for oembed field
- Improvement: add default location for map field (via
stdparam as usual) - Improvement: add
placeholderfor text fields (url, email, etc.) - Improvement: add
multipleparam for helper function to get value of multiple fields - Improvement:
width&heightfor map in helper function now requires units (allow to set %) - Drop support for WordPress 3.3 (wysiwyg) and < 3.5 (for file & image field which uses new json functions)
4.3.3
Improved Fixed Not available yet- Bug fix: cannot clear all terms in taxonomy field
- Bug fix: potential problem with autosave
- Bug fix: cannot save zero string value "0"
- Improvement: add Turkish language
- Improvement: add taxonomy_advanced field, which saves term IDs as comma separated value in custom field
4.3.2
Improved Fixed Not available yet- Bug fix: allow to have more than 1 map on a page
- Bug fix: use HTTPS for Google Maps to work both in HTTP & HTTPS
- Bug fix: allow to clear all terms in taxonomy field
- Bug fix: "std" value for select fields is no longer "placeholder"
- Improvement: add "placeholder" param for select fields
- Improvement: add to helper function ability to show Google Maps in the front end. Check documentation for usage.
- Improvement: add spaces between radio inputs
- Improvement: add more params to "rwmb_meta" filter
- Improvement: using CSS animation for delete image
4.3.1
Fixed Not available yet- Bug fix: fatal error if ASP open tag is allowed in php.ini
4.3
Improved Fixed Not available yet- Bug fix: show full size image after upload if thumbnail is not available
- Bug fix: new added file not shown
- Bug fix: issue with color field disappearing
- Bug fix:
max_file_uploadnow works for normalfile&imageas well - Bug fix: problem with uploading with the advanced fields
- Bug fix: file & image advanced not saving
- Bug fix:
select_advancedcloning issue - Bug fix:
plupload_imageordering - Improvement: add
divider,heading,button,range,oembed,email,postfields - Improvement: translation for file & image fields
- Improvement: add option
default_hiddento hide meta box by default - Improvement: allow to have multiple maps on the same page
- Improvement: file and image advanced now use Underscore.js
- Improvement:
sliderfiled now hasprefixandsuffixfor text labels andjs_optionsfor more JS options - Improvement: WYSIWYS can bypass the
wpautopusingrawparameter - Improvement:
colorfield now supports new color picker in WP 3.5 - Improvement: add
IDto results returned byrwmb_metawhen getting meta value of file & image - Improvement: auto use localized version for date & time fields
- Improvement: add
timestampoption to save the datetime as unix timestamp internally - Improvement: add
autosaveoption for meta box - Improvement: add
force_deleteoption for file and image field - And lots of changes and improvements
4.2.4
Improved Fixed Not available yet- Bug fix: path to Select2 JS and CSS. Link
- Bug fix:
taxonomy.jsloading - Bug fix: saving in quick mode edit
- Improvement: add
beforeandafterattributes to fields that can be used to display custom text - Improvement: add Arabic and Spanish languages
- Improvement: add
rwmb*_before_save_postandrwmb*_before_save_postactions before and after save post - Improvement: add autocomplete for geo location in
mapfield, add fancy animation to drop marker - Improvemnet: add
urlfield
4.2.3
Fixed Not available yet- Bug fix: clone date field. Link
4.2.2
Improved Fixed Not available yet4.2.1
Improved Fixed Not available yet4.2
Improved Fixed Not available yet- Bug fix: save only last element of
selectfield withmultiplevalues. Link - Improvement: add
js_optionsattribute fordate,datetime,timefields to adjust jQuery date/datetime picker options. Seedemo/demo.phpfor usage - Improvement: add
optionsattribute forwysiwyg. You now can pass arguments same as forwp_editorfunction - Improvement: clone feature now works with
checkbox_listandselectwithmultiplevalues - Improvement: add
rwmb-{$field_type}-wrapperclass to field markup - Improvement: Add [rwmb_meta meta_key="..."] shortcode. Attributes are the same as
rwmb_metafunction. - Code refactored
4.1.11
Fixed Not available yet- Bug fix: helper function for getting
taxonomyfield type - Bug fix:
multipleattribute forselectfield type
4.1.10
New Improved Not available yet- Allow helper functions can be used in admin area
- Allow cloned fields to have a uniquely indexed
nameattribute - Add Swedish translation
- Allow hidden field has its own value
- Taxonomy field now supported by
rwmb_metafunction - Improvement in code format and field normalizing
4.1.9
New Fixed Not available yet- Add helper function to retrieve meta values
- Add basic validation (JS based)
- Fix image reorder bug
- Fix
select_treeoption for taxonomy field - Fix not showing loading image for 1st image using plupload
4.1.8
New Not available yet- Add missed JS file for thickbox image
4.1.7
Not available yet- Quick fix for thickbox image
4.1.6
Not available yet- Quick fix for checkbox list and multiple/clonable fields
4.1.5
New Fixed Not available yet- Taxonomy field is now in core
- Add demo for including meta boxes for specific posts based on IDs or page templates
- Meta box ID is now optional
- Add
thickbox_imagefield for uploading image with WP style - Fix
guidfor uploaded images
4.1.4
Fixed Not available yet- Fix taxonomy field
4.1.3
Improved Fixed Not available yet- Support max_file_uploads for plupload_image
- Better enqueue styles & scripts
- Store images in correct order after re-order
- Fix cloning color, date, time, datetime fields
4.1.2
New Improved Fixed Not available yet- Improve taxonomy field
- Add filter to wp_editor
- Add more options for time field
- Improve plupload_image field
- Fix translation, use string for textdomain
4.1.1
New Improved Fixed Not available yet- Fix translation
- Change jQueryUI theme to 'smoothness'
- Add more demos in the
demofolder
4.1
New Fixed Not available yet- Added jQuery UI slider field
- Added new Plupload file uploader
- Added new checkbox list
- Fix empty jQuery UI div seen in FF in admin footer area
- Fix style for 'side' meta box
4.0.2
Fixed Not available yet- Reformat code to make more readable
- Fix bugs of checkbox field and date field
4.0.1
Improved Not available yet- Change format_response() to ajax_response() and use WP_Ajax_Response class to control the ajax response
- Use wp_editor() built-in with WP 3.3 (with fallback)
4.0
Not available yet- strongly refactor code
- create/check better nonce for each meta box
- use local JS/CSS libs instead of remote files for better control if conflict occurs
- separate field functions (enqueue scripts and styles, add actions, show, save) into separated classes
- use filters to let user change HTML of fields
- use filters to validate/change field values instead of validation class
- don't use Ajax on image upload as it's buggy and complicated. Revert to default upload
3.2.2
Improved Fixed Not available yet- fix WYSIWYG field for custom post type without 'editor' support. Thanks Jamie, Eugene and Selin Online. (http =//disq.us/2hzgsk)
- change some helper function to static as they're shared between objects
3.2.1
Fixed Not available yet- fix code for getting script's url in Windows
- make meta box id is optional
3.2
Improved Fixed Removed Not available yet- move js and css codes to separated files (rewrite js code for fields, too)
- allow to add multiple images to image meta field with selection, modified from "Fast Insert Image" plugin
- remove 'style' attibutes for fields as all CSS rules now can be put in the 'meta=box.css' file. All fields now has the class 'rw=$type', and table cells have class 'rwmb=label' and 'rwmb=field'
- allow to use file uploader for images as well, regarding http =//disq.us/1k2lwf
- when delete uploaded images, they're not deleted from the server (in case you insert them from the media, not the uploader). Also remove hook to delete all attachments when delete post. Regarding http =//disq.us/1nppyi
- change hook for adding meta box to 'add_meta_boxes', according Codex. Required WP 3.0+
- fix image uploading when custom post type doesn't support "editor"
- fix show many alerts when delete files, regarding http =//disq.us/1lolgb
- fix js comma missing bug when implement multiple fields with same type
- fix order of uploaded images, thank Onur
- fix deleting new uploaded image
- fix bug when save meta value = zero (0), regarding http =//disq.us/1tg008
- some minor changes such as = add 'id' attribute to fields, show uploaded images as thumbnail, add script to header of post.php and post=new.php only
3.1
New Fixed Not available yet- use thickbox for image uploading, allow user edit title, caption or crop, rotate image (credit to Stewart Duffy, idea from Jaace http =//disq.us/1bu64d)
- allow to reorder uploaded images (credit to Kai)
- save attach ID instead of url (credit to Stewart Duffy)
- escape fields value (credit to Stewart Duffy)
- add 'style' attribute to fields, allow user quick style fields (like height, width, etc.) (credit to Anders Larsson http =//disq.us/1eg4kp)
- wrap ajax callbacks into the class
- fix jquery UI conflict (for time picker, color picker, contextual help)
- fix notice error for checking post type
3.0.1
Improved Fixed Not available yet- save uploaded images and files' urls in meta fields
- fix date picker bug to not show saved value (http =//disq.us/1cg6mx)
- fix check_admin_referer for non=supported post types (http =//goo.gl/B6cah)
- refactor code for showing fields
3.0
New Improved Removed Not available yet- separate functions for checking, displaying and saving each type of field; allow developers easily extend the class
- add 'checkbox_list' (credit to Jan Fabry http =//goo.gl/9sDAx), 'color', 'date', 'time' types. The 'taxonomy' type is added as an example of extending class (credit to Manny Fresh http =//goo.gl/goGfm)
- show uploaded files as well as allow to add/delete attached files
- delete attached files when post is deleted (credit to Kai http =//goo.gl/9gfvd)
- validation function MUST return the value instead of true, false
- change the way of definition 'radio', 'select' field type to make it more simpler, allow multiple selection of select box
- improved some codes, fix code to not show warnings when in debugging mode
2.4.1
Fixed Not available yet- fix bug of not receiving value for select box
2.4
New Improved Not available yet- (image upload features are credit to Kai http =//twitter.com/ungestaltbar)
- change image upload using meta fields to using default WP gallery
- add delete button for images, using ajax
- allow to upload multiple images
- add validation for meta fields
2.3
New Not available yet- add wysiwyg editor type, improve check for upload fields, change context and priority attributes to optional
2.2
New Not available yet- add enctype to post form (fix upload bug), thanks to http =//goo.gl/PWWNf
2.1
New Not available yet- add file upload, image upload support
2.0
Not available yet- oop code, support multiple post types, multiple meta boxes
1.0
Not available yet- procedural code