Version
Release Date
Change Log
5.6.14
2022-12-13
2022-12-13 =
Improve style for date picker
Update jQueryUI to 1.13.2
Fix inline date field not localized
Fix visibility for object field's query() method, which is called in MB Views and Meta Box Builder
Fix $meta is not countable in object field's query method
Remove return type for is_save() to be compatible with old version of MB Term Meta
Start to use PSR-4 and Composer
5.6.13
2022-12-08
2022-12-08 =
Fix name for adding form enctype to match with MB Term Meta extension
Fix return type for RWMB_Helpers_Array::map()
Fix required param type for RWMB_Helpers_Field::get_class()
5.6.12
2022-12-06
2022-12-06 =
Fix error getting license key
5.6.11
2022-12-06
2022-12-06 =
Fix compatibility with other extensions
5.6.10
2022-12-06
2022-12-06 =
Fix padding for images in custom blocks
Fix sidebar::query not compatible with object_choice::query
Fix compatibility with custom models in MB Custom Table. Closes #1466.
Modernize code: use short array, add type hints, remove comments
5.6.9
2022-12-05
2022-12-05 =
Improve accessibility for form controls, especially when using on the front end
Use all admin themes for switch and button group
Add filter 'rwmb_validation_message_string' for validation message
Display field label description even if no label
Fix not displaying the language according to user preference
Fix not setting post parent for the uploaded images on the front end for image_upload
fields
Fix warning when using file_info
helper function
Modernize code for PHP 7
5.6.8
2022-11-11
2022-11-11 =
Fix PHP8 warning in image field file info
Fix wrong comment for translation
Bump PHP version requirement to 7.0
5.6.7
2022-09-16
2022-09-16 =
Fix file_upload not working with required validation
Fix wrong text domain
Fix button group option to display horizontally not save in the builder
5.6.6
2022-08-05
2022-08-05 =
Fix meta box not showing for settings page under Media
Fix upload to the custom folder does not display the image
Fix field taxonomy not creating new term if required
5.6.5
2022-07-14
2022-07-14 =
Fix select advanced don't escape HTML characters
5.6.4
2022-05-05
2022-05-05 =
Fix when field taxonomy return WP_Error
Fix field image_upload not working with tab
Fix wysiwyg not working for attachment in the media modal
Improve license check
5.6.3
2022-04-18
2022-04-18 =
Improve Google Maps search, allowing to search by place names
Fix incorrect the label ID for subfield in groups
Fix validation not working when a cloneable group collapse
Improve license key check
5.6.2
2022-04-01
2022-04-01 =
Fix map not showing in block preview
Fix deleting images in cloneable groups
Fix PHP notice for file_upload field
Expose the uploader for file_upload/image_upload so developers can work on that. For example: disable the submit button when uploading files.
5.6.1
2022-03-08
2022-03-08 =
Fix compatibility for PHP < 7.3
5.6.0
2022-03-01
2022-03-01 =
Field background
and file_input
: support showing image thumbnail
Add link
param in helper functions for taxonomy
, post
, user
fields to show view
, edit
link or plain text (false
)
Add support for float values for range field
Add minlength
as a common props for fields
Remove FILTER_SANITIZE_STRING to compatible with PHP 8
Fix PHP notice when run rwmb_the_value() for taxonomy field with no values
5.5.1
2021-12-15
2021-12-15 =
Fix warning for post field caused by the search by post title
5.5.0
2021-12-14
2021-12-14 =
Add min_clone
parameter to set the minimum number of clones. Props @baden03.
Post field: find by title only
Meta Box Builder compatibility: parse choice options in real-time
Prevent inputs overflow the container
5.4.8
2021-10-20
2021-10-20 =
Respect cols
attribute of textarea
field to set the width of the input (without cols
, textarea is 100% width)
Fix padding for seamless style in Gutenberg
Fix divider not showing in Gutenberg
Remove unnesseccary escape meta value
5.4.7
2021-09-16
2021-09-16 =
Fix deleting files and images inside groups.
Fix maxlength and pattern not working if not set inside attributes
Fix not switching tabs for wysiwyg editors
Fix unit for checkbox width
Fix remove clone button on top of inputs
Fix style for checked checkboxes on desktops
Hide hidden field with custom class, not .hidden
5.4.6
2021-07-08
2021-07-08 =
Remove debug code
5.4.5
2021-07-08
2021-07-08 =
Fix styling issue for heading field and side meta boxes
5.4.4
2021-07-06
2021-07-06 =
Improve usability for time picker on mobile by adding +/- buttons
Make all input, select, textarea 100% width
Export clone functions to the global "rwmb"
5.4.3
2021-06-30
2021-06-30 =
Fix trailing comma in function call for PHP < 7.3
5.4.2
2021-06-29
2021-06-29 =
Improve style for media fields to reuse style/HTML markup.
Make input, select, input group, select2, textarea full width on the side context.
Improve style for button group when buttons don't have same width.
Set better default options for date time pickers.
Allow to output HTML in input prepend/append (ex. icon).
Add filter rwmb_dismiss_dashboard_widget
to dismiss dashboard widget.
5.4.1
2021-06-01
2021-06-01 =
Improve style for prepend, append text
Improve style for select2 on mobiles
Make select_tree extend select_advanced and respect select_advanced options
5.4.0
2021-05-08
2021-05-08 =
Shortcode: add render_shortcodes
attribute (default true) to allow render inner shortcodes.
File fields: allow to change uploaded file name when uploading to custom folder via unique_filename_callback
setting
Dashboard: add more video tutorials
Image fields: fix actions (edit, delete) not visible on mobile
Choice fields: fix not saving value if they contain quotes
Datetime fields: fix not saving timestamp via REST API
5.3.10
2021-04-24
2021-04-24 =
Disable autocomplete for date/datetime fields
Input list field: Fix label not working if contains HTML
Fix multiple OSM on the same page
Add auto update for solutions
Fix various bugs for the wysiwyg editor field (mostly in blocks) and allows to pass tinyMCE/quicktags settings to the editor
5.3.9
2021-03-10
2021-03-10 =
Fix taxonomy_advanced doesn't load options in attachment with media_modal set to true.
Fix rwmb_{$field_id}_choice_label
not working for checkbox_list field type
Fix clone_default not working for switch if set std
5.3.8
2021-01-29
2021-01-28 =
Fix value not available when loaded in map
and osm
fields.
5.3.7
2021-01-11
2021-01-11 =
Fix editor not editable in Gutenberg
Fix content in the visual tab of editors not saving
Make required validation work for color, map, osm, switch, text-list fields
Add dismiss action for dashboard news
5.3.6
2020-12-29
2020-12-29 =
Fix validation not working for image-select, image and wysiwyg fields
Fix clone_default not working for switch
Fix saving select field value when defining each option as an array
Fix wysiwyg not editable in WP 5.6
5.3.5
2020-11-30
2020-11-30 =
Update color picker library to v3.0.0 and fix color picker with opacity not working in the Customizer (used with MB Settings Page).
Cache update requests
Show (No title) in object fields if they don't have title
5.3.4
2020-09-23
2020-09-23 =
Add default title
Update autoloader
Bypass the validation when previewing in Gutenberg
Add MB Views to the updater
Update color picker script to latest version 2.1.4
Fix missing labels for color field (wp 5.5.1)
Fix preview is not generated
Fix seamless style in WordPress 5.5
Fix style for file_input field (description is inline with input field)
5.3.3
2020-07-21
2020-07-21 =
Hide Go Pro link for premium users
Update intro and image for the Online Generator in the welcome page
5.3.2
2020-07-03
2020-07-03 =
Fix validation not working for media fields
Add "add_to" option for media fields to allow adding new images to the beginning/end of the list
Improve style for input & select on the sidebar
Improve style for mobiles
5.3.1
2020-06-03
2020-06-03 =
Fix validation not working for multiple forms (front end)
Fix PHP warning: Creating default object from empty value
Fix cloning, sorting wysiwyg field when users disable visual editor
Change color of switch based on admin color scheme
5.3.0
2020-05-11
2020-05-11 =
Add rwmb_set_meta
function to set meta value.
Add Gutenberg compatibility for validation.
Fix wrong label output for switch when it's off.
5.2.10
2020-04-17
2020-04-17 =
Hotfix for getting meta value for checkbox list.
5.2.9
2020-04-17
2020-04-17 =
Fix cloning default value not working for some fields.
5.2.8
2020-04-06
Added
Add option open info window in Google Maps when loaded
Add alpha_channel
& update style to background field
Add support for custom Ajax parameters for object fields.
Fixed
Fix validation rules still applied for hidden fields
Fix image_upload
field select files not working on iPhone
Fix fatal error with Frontend Submission & Elementor
Fix 'zoom' parameter not working for OSM field on the front end
Changed
Remove languages folder. Load languages from translate.wordpress.org only
5.2.7
2020-02-07
5.2.6
2020-02-03
Fixed
Fix wrong tag when deploying
5.2.5
2020-02-03
5.2.4
2019-12-11
Added
Add hook rwmb_field_registered
after a field is registered.
Add (*) to required fields
Changed
Remove required attribute for license input box.
Don't redirect when bulk activate with other plugins.
Fixed
Fix style for select
, select_advanced
fields in WordPress 5.3.
Fix getting object fields for settings pages
5.2.3
2019-11-01
Changed
Set clone=false if max_clone=1
Shows only images in the selection popup for image field
Hide license key
Fixed
Fixed parsed terms in taxonomy advanced for MB Blocks
Don't show date picker for readonly fields
Fix warning when output empty background field value
Fix empty meta value when save_field=false
5.2.2
2019-10-09
Fixed
Fix sanitizing empty post field
Fix post thumbnail not saving in MB Frontend Submission
Fix undefined index for image_select
field when using helper functions with no value.
Fix JQMIGRATE: 'ready' event is deprecated
Changed
Add styling for date picker, autocomplete, select2 to show in the Customizer (for MB Settings Page)
5.2.1
2019-09-26
Fixed
Fix object fields show only selected items when field type is not select advanced
Fix background field not saving position, attachment & size
Fix undefined variable in media modal
Fix non-unique input name for a non-cloneable file in a cloneable group
5.2.0
2019-09-18
Added
Add ajax support for object fields.
Add custom CSS class for meta box wrapper div.
Changed
Improve file upload, making it works in groups.
Optimize performance for cloning wysiwyg field.
Bypass updates for embed extensions via TGMPA.
Fixed
Fix PHP warning when using clone with date formatting.
Fix file upload input not visible when clone a file field with uploaded files
5.1.2
2019-08-29
Fixed
5.1.1
2019-08-23
Fixed
Fix sanitizing number always return 0 if it's blank
Fix sanitizing URL
Changed
Set default field 'type' to 'text', make it optional and help you write less code
File/image fields: do not show add new file link if max_file_uploads
5.1.0
2019-08-19
Fixed
Fatal error with RWMB_About::redirect()
Ensure change event fires when editors change
Fix rwmb_{$field_id}_choice_label
not working for cloneable fields
Fix missing dependency (underscore) for datepicker JS
Fix unindex notice for key_value field
Fix alignment for video field
Changed
Update notification sytem
Improve sanitization for fields. See documentation for details.
5.0.1
2019-07-25
Fixed
Fix license notification always show
5.0.0
2019-07-24
4.18.4
2019-07-06
4.18.3
2019-07-01
4.18.2
2019-06-02
4.18.1
2019-05-21
4.18.0
2019-05-07
4.17.3
2019-04-09
Fixed
Fixed image_upload, file_upload field not working.
See full changelog here.
=
4.17.2
2019-04-02
4.17.1
2019-04-01
Fixed
Fixed JavaScript error for slider
field when creating a new post.
Fixed images of the image_advanced
cleared when changing image the post content in Gutenberg.
Changed
text_list
: Do not save if all inputs has no value.
See full changelog here.
=
4.17.0
2019-03-18
Added
Added range
support for slider
field for storing 2 values.
Added attribute
to [rwmb_meta]
shortcode to get only one attribute from the value (such as URL of the image or term slug).
Added prepend
and append
attributes for inputs like Bootstrap's input group.
Changed
Refactored the code.
Changed shortcode attributes to use id
(instead of meta_key
), object_id
(instead of post_id
).
Fixed
Fixed empty date field with save_format causes error.
Fixed wrong position of the asterisk when the field is required and has label description.
Fixed indirect modification of meta_box->$fields
.
Fixed required
attribute not working for file
, image
fields.
Fixed warning in the about page.
Fixed box-sizing issue for settings page.
See full changelog here.
=
4.16.3
2019-02-02
4.16.2
2019-02-01
4.16.1
2019-01-30
4.16.0
2019-01-30
4.15.9
2018-12-12
4.15.8
2018-12-10
4.15.7
2018-11-09
4.15.6
2018-10-26
4.14.10
2018-10-11
4.15.5
2018-09-08
4.15.4
2018-08-24
4.15.3
2018-08-24
4.15.2
2018-08-08
4.15.1
2018-07-23
4.15.0
2018-07-20
4.14.11
2018-06-08
4.19.10
2018-06-05
4.14.9
2018-05-17
4.14.8
2018-05-16
4.14.7
2018-05-14
4.14.6
2018-05-12
4.14.5
2018-04-05
4.14.4
2018-04-05
4.14.2
2018-03-27
4.14.1
2018-03-24
4.14.0
2018-03-05
4.13.4
2018-02-28
4.13.3
2018-02-07
4.13.2
2018-01-31
4.13.1
2018-01-08
4.13.0
2017-12-28
4.12.6
2017-12-04
4.12.5
2017-11-17
4.12.4
2017-10-18
4.12.1
2017-07-05
2017-07-05 =
#### Fixed
Helper function doesn't work. #1144.
4.11.2
2017-05-27
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.
4.11.1
2017-05-16
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.
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
Increase z-index of datepicker to prevent overlap with top menu bar
Make compatible with MB Admin Columns and MB Frontend Submission extensions
Update Persian translation. Credit Morteza Gholami
4.11
2017-04-03
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. Issue #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
4.10.4
2017-02-22
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
2017-02-13
Fix: force_delete
causes files to be deleted even when set to false
.
Fix: max_file_uploads
not working.
4.10.2
2017-02-11
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
2017-01-16
4.10
2017-01-09
4.9.8
2016-10-24
4.9.7
2016-10-24
Improvement: Re-add change event on media fields to make Conditional Logic extension works with media fields.
Improvement: Add rwmb_choice_label
, rwmv_{$field_type}_choice_label
and rwmb_{field_id}_choice_label
filters for post, user, taxonomy fields, allowing users to customize the labels of choice fields.
Improvement: Change coding styles to follow WordPress Coding Standards.
Various improvements to reduce duplicated code.
Fix: Map field now works in the frontend.
Fix: std
now works for taxonomy fields.
4.9.6
2016-10-04
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
2016-10-01
Fix: Quick fix for wrong field wrapper class which causes color field to render incorrectly
4.9.4
2016-09-30
Fix: Quick fix for cloning bug
4.9.3
2016-09-28
Fix: Quick fix saving datetime field
4.9.2
2016-09-14
Fix: Quick fix validation
4.9.1
2016-09-10
Fix: Quick fix for rwmb_meta()
to be better backward compatible
4.9
2016-09-08
Improvement: Update Chinese language. Add Chinese Taiwan.
Improvement: Add support for Google Maps API key. Default API key is added, however users should replace it with their own key.
Improvement: Add additional methods for jQuery validation module which makes it understand HTML5 "pattern" attribute.
Improvement: Fully WPML compatibility (supported by WPML team)
Improvement: Add placeholders for key_value
field
Fix: Toggle remove clone buttons for nested groups.
Fix: Error on date field, not save
Fix: Add fix for date/datetime when both inline and timestamp used
Fix: Set default language for date/time picker.
Fix: rwmb_meta for images returns incorrect width/height
Fix: PHP warning when uploading files in Settings Pages extension.
Fix: Blank space in the footer when using plupload_image.
Fix: Cloning wysiwyg when deleting the 1st clone
4.8.7
2016-06-03
Improvement: Refactor the code to reduce the complexity in the fields' inheritance
Improvement: All HTML 5 input types (week, month, etc.) are supported
Improvement: Optimize the_value function, use recursive call to reduce nested loop. Sub-fields need to define format_single_value only.
Improvement: Use 1 single localization file for jQuery date picker for simplicity
Improvement: Add support for custom marker for map field (param marker_icon
) in rwmb_meta function
Improvement: Add limit
option for media fields in rwmb_meta
function when retrieving meta value.
Improvement: Add rwmb_option_label
filter for choice fields (user, post, taxonomy) so users can choose which object field is used as label
Improvement: Use WP_User_Query
for user field which supports more options for querying
Improvement: Optimize code for oembed, also use esc_html__ for better security
Improvement: Compatibility with Meta Box Geolocation
Fix: Fix first option is auto selected in select_advanced field.
Fix: Fix clone issue for color in Meta Box Group extension.
Fix: Fix clone issue for image advanced in Meta Box Group extension.
Fix: Fix not parsing $args to array in helper functions.
4.8.6
2016-05-20
Improvement: Edit link on media items now opens edit modal
Improvement: Refresh map when sorting meta boxes.
Improvement: Wrap checkbox's description into a to make it clickable to activate/deactivate the checkbox.
Improvement: Remove Spanish language (ES) as it's already translated on translate.wordpress.org
Improvement: Add support for saving zoom in map
Improvement: Prevent output localized strings twice.
Improvement: Add fallback for autoload in PHP 5.2 in case it's disabled.
Improvement: No need to json_encode for custom attributes. User can pass an array to custom attribute
Improvement: Add style for select2
library to match WordPress admin style
Improvement: Adds min width to select. @prop ahmadawais
Improvement: Added max_status
option for media type fields. true
to show status, false
to hide
Improvement: Add attachment meta data to file info
Fix: Validation for non-Meta Box fields
Fix: advanced_image field after reload page F5 in Firefox
Fix: Cannot read property 'getFullYear' of null
Fix: Empty date converting to 0
Fix: Add missing class for image_select field which prevents setting input's name when cloning.
Fix: Fix bug with blank maps on the front end
Fix: Fix bug with cloning media fields
Fix: Remove empty values in clones and reset index.
Fix: Reset of cloned select fields
Fix: select_advanced with multiple=true adds empty selected option
Fix: No empty option for simple select field
Fix: Empty datetime field with timestamp => true returns January 1, 1970
Fix: For color picker when using with Columns extension
Fix: Fix bug with taxonomy advanced returns all taxonomy items for posts with no meta saved
Fix: Fix bug with taxonomy advanced not saving value when field isn't multiple
Fix: Make radio inline again
Fix: Wrong meta value when using helper function outside the loop
Fix: Validation now works for hidden elements in tabs
4.8.5
2016-04-20
Improvement: Add localization for Select2 library
Improvement: Range preview output added
Improvement: Add Persian translation and nag fix
Fix: Map has no refresh in collapsed meta boxes
Fix: Fix incorrect URL if the plugin is symlinked.
Fix: Added fix for saved order in object-choice
4.8.4
2016-03-26
Improvement: Refactor code for plupload_image. Introduces file_upload and image_upload field which acts the same as plupload_image but for files and images.
Improvement: Do not show "Embed is not available" if fields don't have any value
Improvement: Refactor date/time related fields. 'timestamp' now works for date field as well.
Improvement: Add 'inline' mode for date/datetime fields.
Improvement: Add option 'select_all_none' for select/select2 with default
4.8.3
2016-03-04
Improvement: WYSIWYG field now can be cloned. Sorting clone hasn't worked yet.
Fix: 'std' value not working if there is 'divider' or 'heading' field withough 'id'
Fix: helper function not working in AJAX or admin.
Fix: getting plugin's path on Windows system.
Fix: warning get_value of taxonomy field
Fix: guarantee file ids are in an array
4.8.2
2016-02-26
Fix: re-add code for backward compatibility for helper function
Fix: undefined 'class' attribute for button
Improvement: speedup the helper function
4.8.1
2016-02-18
Fix: select multiple value with post, user and taxonomy
Fix: bug in oembed field
Fix: fix JS/CSS compatibility with WooCommerce
Fix: do not force field ID to lowercase, which can potentially breaks existing fields or fields with ID of CAPS characters.
4.8.0
2016-02-17
Improvement: rewrite the way the plugin loads file, which allows developers to include the plugin into themes/plugins simply by include the main file. The new loading mechanism also uses autoloading feature which prevents loading files twice and saves memory.
Improvement: rewrite user
, post
, taxonomy
fields using the same codebase as they're native WordPress objects and sharing similar options. Also changes the syntax of query parameters for these fields (old syntax still works). Please see docs for details.
Improvement: add srcset
in the returned value of helper function for image fields
Improvement: better sanitize value for url
field
Improvement: prevent issues with dashes in field types
Improvement: remove redundant value in checkbox
Improvement: update CSS for date, time fields
Improvement: select2 now updated to 4.0.1
Improvement: optimize code for file_advanced
and image_advanced
fields which now submit array of values when saving instead of single CSV value
Improvement: add collapse
option to checkbox_list
and checkbox_tree
in user
, taxonomy
, post
fields which prevents plugin save parent values.
Improvement: secure password field so it is no longer saved in plain text. To check if a password matches the hash, please use wp_check_password
.
Improvement: change the output of color
field in the helper function. Now it shows the color instead of hex value.
Improvement: add color:change
and color:clear
JavaScript event for detecting changes in color
field.
Improvement: refactor code for better structure and security
Fix: rewrite the JavaScript for cloning which causes bugs for date field.
Fix: fix missing attributes if value is '0' or 0.
Fix: add missing class
attribute for fields
Fix: do not auto populate color field with '#'
Fix: wrong callback for fix page template
4.7.3
2016-02-02
Improvement: add change
event for file_advanced
and image_advanced
fields.
Improvement: add support for boolean attributes.
Improvement: add support for boolean attributes.
Improvement: add Russian language.
Improvement: changed wp_get_post_terms
to get_the_terms
to use WordPress cache.
Improvement: refactored code to make textarea, select use attributes.
Improvement: fieldset_text
now cloneable. Also removed rows
option for this field.
Improvement: refactored has_been_saved()
function.
4.7.2
2015-11-20
Fix: notice undefined index in date, time fields.
4.7.1
2015-11-19
Fix: remove default `maxlength
4.7
2015-11-18
Improvement: add attributes
for all input fields (text, number, email, ...) so users can add any custom attributes for them. Also added default attributes required
, disabled
, readonly
, maxlength
and pattern
for those fields as well. These attributes will be merged into the attributes
.
Improvement: add js_options
for color field which allows users to define custom color palettes and other attributes for color picker. See the options in Iris page.
Fix: fix for file and image uploaded via file_advanced
and image_advanced
not showing up.
4.6
2015-10-26
Improvement: the plugin translation is now handled in translate.wordpress.org. While the plugin keeps old translation as backward compatibility, it's recommended to translate everything in translate.wordpress.org. Language packs will be automatically updated by WordPress.
Improvement: rewrite code for file_advanced
and image_advanced
, which share the same code base. These fields are now clonable and not autosave (you have to save post to save files)! Props @funkatronic.
Improvement: restyle clone icon, sort clone icon and add clone button for better UI. The new UI now is compatible with color
and date
fields
Improvement: separate validation module into 1 class, for better code structure
Improvement: add pattern
attribute for url
field
Improvement: improve code quality
Fix: missing "checked" when clone radio
Fix: language file name for Dutch
Fix: oembed not render preview if provider is added via wp_embed_register_handler
4.5.7
2015-10-23
Fix: Always set std as value for hidden field
Fix: rwmb_meta
now can display rich content from oembed
field
Fix: Wrong format for datetime
field
Fix: Check and reset clone index when add/remove/sort clones
Improvement: Optionally display ID attribute for heading and divider
Improvement: Adding new style to date field to match WordPress style
Improvement: Change saving hooks to specific post types to prevent saving images to wrong post
4.5.6
2015-08-01
Fix: Warning for timestamp for datetime field.
Fix: z-index for color picker.
Fix: Marker title in map
4.5.5
2015-06-16
Fix: CSS alignment for sort clone icon for field type group
(require Meta Box Group extension)
Fix: rwmbSelect is not defined
4.5.4
2015-06-13
Improvement: Add "Select All|None" for select
, select_advanced
, post
fields
Improvement: Add max_clone
parameter which limits number of clones
Improvement: Add sort_clone
parameter which allows users to sort (drag and drop) cloned inputs
Improvement: Add Polish language. Thank Michael
Fix: Prevent warning when post type doesn't exist (post
field)
4.5.3
2015-05-18
Improvement: Use wp_json_encode
instead of json_encode
. Thank Sam Ford.
Fix: Escape value for cloneable fields
Fix: Notice for missing parameters for rwmb_meta
field for map
4.4.3
2015-05-07
Fix: Incorrect path to loader image for plupload_image
Fix: Missing placeholder for post
field when field_type
4.5.2
2015-05-07
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
2015-04-30
Improvement: Add ability to use multiple post types for post
field
Fix: Duplicated description for checkbox
field
Fix: Blank gallery for image fields
4.5
2015-04-27
Improvement: Separate esc_meta
method
Improvement: Add ability to use URL to retrieve options for autocomplete field
Improvement: Add rwmb_get_field
and rwmb_the_field
functions to get and display field values in the frontend
Improvement: Add field type custom_html
to display any HTML in the meta box
Improvement: Add field type key_value
which 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.1
2014-12-14
Fix: wrong text domain
Fix: select_advanced
field not cloning
Fix: cloned emails are not saved
Improvement: Use post_types
instead of pages
, accept string for single post type as well. Fallback to pages
for previous versions.
4.4.0
2014-12-07
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
2014-10-29
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
2014-10-26
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
2014-07-13
Bug fix: text-list
field 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
2014-01-19
Bug fix: compatibility with PHP 5.2
4.3.7
2014-01-13
Bug fix: use WP_Query instead of query_posts
to be compatible with WPML
Bug fix: get_called_class
function in PHP < 5.3
Bug fix: clone now works for slider
field
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_select
file, which is "radio image", e.g. select a radio value by selecting image
Improvement: new file_input
field, 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
2013-10-20
Bug fix: fatal error in PHP 5.2 (continue)
Improvement: allow register meta boxes via filter
4.3.5
2013-10-18
Bug fix: fatal error in PHP 5.2
Bug fix: save empty values of clonable fields
4.3.4
2013-10-18
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 std
param as usual)
Improvement: add placeholder
for text fields (url, email, etc.)
Improvement: add multiple
param for helper function to get value of multiple fields
Improvement: width
& height
for 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
2013-07-23
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
2013-07-12
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
2013-06-14
Bug fix: fatal error if ASP open tag is allowed in php.ini
4.3
2013-06-13
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_upload
now works for normal file
& image
as well
Bug fix: problem with uploading with the advanced fields
Bug fix: file & image advanced not saving
Bug fix: select_advanced
cloning issue
Bug fix: plupload_image
ordering
Improvement: add divider
, heading
, button
, range
, oembed
, email
, post
fields
Improvement: translation for file & image fields
Improvement: add option default_hidden
to 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: slider
filed now has prefix
and suffix
for text labels and js_options
for more JS options
Improvement: WYSIWYS can bypass the wpautop
using raw
parameter
Improvement: color
field now supports new color picker in WP 3.5
Improvement: add ID
to results returned by rwmb_meta
when getting meta value of file & image
Improvement: auto use localized version for date & time fields
Improvement: add timestamp
option to save the datetime as unix timestamp internally
Improvement: add autosave
option for meta box
Improvement: add force_delete
option for file and image field
And lots of changes and improvements
4.2.4
2013-01-29
Bug fix: path to Select2 JS and CSS. Link
Bug fix: taxonomy.js
loading
Bug fix: saving in quick mode edit
Improvement: add before
and after
attributes to fields that can be used to display custom text
Improvement: add Arabic and Spanish languages
Improvement: add rwmb*_before_save_post
and rwmb*_before_save_post
actions before and after save post
Improvement: add autocomplete for geo location in map
field, add fancy animation to drop marker
Improvemnet: add url
field
4.2.3
2012-11-28
Bug fix: clone date field. Link
4.2.2
2012-11-01
Bug fix: time
field doesn't work. Link
Bug fix: wrong JS call for datetime
. Link
Improvement: file and images now not deleted from library, unless use force_delete
option
Improvement: add select_advanced
field, which uses select2 for better UX. Thanks @funkedgeek
4.2.1
2012-10-29
Bug fix: not save wysiwyg field in full screen mode. Link
Bug fix: default value for select/checkbox_list. Link
Bug fix: duplicated append test to date
picker
Bug fix: incorrect enqueue styles, issue #166
Improvement: initial new field type map
4.2
2012-10-13
Bug fix: save only last element of select
field with multiple
values. Link
Improvement: add js_options
attribute for date
, datetime
, time
fields to adjust jQuery date/datetime picker options. See demo/demo.php
for usage
Improvement: add options
attribute for wysiwyg
. You now can pass arguments same as for wp_editor
function
Improvement: clone feature now works with checkbox_list
and select
with multiple
values
Improvement: add rwmb-{$field_type}-wrapper
class to field markup
Improvement: Add [rwmb_meta meta_key="..."] shortcode. Attributes are the same as rwmb_meta
function.
Code refactored
4.1.11
2012-10-02
Bug fix: helper function for getting taxonomy
field type
Bug fix: multiple
attribute for select
field type
4.1.10
2012-09-06
Allow helper functions can be used in admin area
Allow cloned fields to have a uniquely indexed name
attribute
Add Swedish translation
Allow hidden field has its own value
Taxonomy field now supported by rwmb_meta
function
Improvement in code format and field normalizing