Skip to content

Releases: wpmetabox/meta-box

4.8.1

04 Jul 05:45
Compare
Choose a tag to compare
  • 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

04 Jul 05:45
Compare
Choose a tag to compare
  • 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

04 Jul 05:46
Compare
Choose a tag to compare
  • 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

04 Jul 05:47
Compare
Choose a tag to compare
  • Fix: notice undefined index in date, time fields.

4.7.1

04 Jul 05:47
Compare
Choose a tag to compare
  • Fix: remove default maxlength = 30 for text fields.

4.7

04 Jul 05:48
Compare
Choose a tag to compare
4.7
  • 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

04 Jul 05:48
Compare
Choose a tag to compare
4.6
  • 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

04 Jul 06:37
Compare
Choose a tag to compare
  • 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

04 Jul 06:37
Compare
Choose a tag to compare
  • Fix: Warning for timestamp for datetime field.
  • Fix: z-index for color picker.
  • Fix: Marker title in map

4.5.5

04 Jul 05:48
Compare
Choose a tag to compare
  • Fix: CSS alignment for sort clone icon for field type group (require Meta Box Group extension)
  • Fix: rwmbSelect is not defined