| @@ -1,17 +1,56 @@ | ||
| 1 | 1 | # Changelog |
| 2 | 2 | All notable changes to this project will be documented in this file. |
| 3 | 3 | |
| 4 | 4 | ## Unreleased |
| 5 | -* | |
| 5 | +* | |
| 6 | 6 | |
| 7 | -## [2.10.1 - 2022-02-22](https://github.com/CMB2/CMB2/releases/tag/v2.9.0) | |
| 7 | +## [2.12.0 - 2026-05-30](https://github.com/CMB2/CMB2/releases/tag/v2.12.0) | |
| 8 | 8 | |
| 9 | +### Enhancements | |
| 10 | + | |
| 11 | +* Confirmed compatibility with PHP 8.2 and 8.3, and tested up to WordPress 7.0. | |
| 12 | +* [Development] Migrated end-to-end testing from Cypress to Playwright and replaced Grunt with npm scripts for the asset build pipeline. ([#1550](https://github.com/CMB2/CMB2/pull/1550)). | |
| 13 | +* [Development] Moved the local development and test environment to `@wordpress/env` (wp-env) on pinned ports, running both PHPUnit and Playwright through it. ([#1554](https://github.com/CMB2/CMB2/pull/1554), [#1558](https://github.com/CMB2/CMB2/pull/1558)). | |
| 14 | +* [Development] Replaced Travis CI with GitHub Actions, added a PHPCompatibility check (PHP 7.4+) and a PHPCS/WPCS lint gate, and overhauled `install-wp-tests.sh` for modern WordPress. ([#1555](https://github.com/CMB2/CMB2/pull/1555)). | |
| 15 | + | |
| 9 | 16 | ### Bug Fixes |
| 17 | + | |
| 18 | +* Fixed a PHP 8.1+ deprecation when sanitizing an empty `textarea`-based field (passing `null` to `wp_kses_post()`). Props [@baljindersingh88](https://github.com/baljindersingh88) ([#1537](https://github.com/CMB2/CMB2/pull/1537)). | |
| 19 | +* Fixed row iterator value desync between the data attribute and jQuery data when reordering repeatable group rows. Props [@angryaxi](https://github.com/angryaxi) ([#1518](https://github.com/CMB2/CMB2/pull/1518)). | |
| 20 | +* Fixed a PHP 8.3 `ltrim()` deprecation in the taxonomy field display. | |
| 21 | +* Hardened against PHP 8.2+ dynamic property deprecations by widening `#[AllowDynamicProperties]` to the class roots. | |
| 22 | +* Removed a focus-background rule on `.cmb2-wrap` inputs that caused unexpected input styling. Fixes [#1556](https://github.com/CMB2/CMB2/issues/1556)/[wordpress.org/support/topic/weird-checkbox-behaviour-on-wp-7](https://wordpress.org/support/topic/weird-checkbox-behaviour-on-wp-7/) ([#1557](https://github.com/CMB2/CMB2/pull/1557)). | |
| 23 | + | |
| 24 | +## [2.11.0 - 2024-04-02](https://github.com/CMB2/CMB2/releases/tag/v2.11.0) | |
| 25 | + | |
| 26 | +* Officially moved to PHP 7.4+ support! | |
| 27 | + | |
| 28 | +### Enhancements | |
| 29 | + | |
| 30 | +* Package updates. | |
| 31 | +* Update WordPress Tested up to tag 6.1. Props [@RubenMartins](https://github.com/RubenMartins) ([#1477](https://github.com/CMB2/CMB2/pull/1477)). | |
| 32 | +* Add filters for setting `object_id` and `mb_object_type` and in `do_scripts` - Allows overriding by plugins/libs. (Added to support the new [CMB2 WooCommerce HPOS Orders](https://github.com/CMB2/cmb2-woocommerce-hpos-orders) extension) | |
| 33 | +* Added a `cmb2_init_hooks` hook when hookup is called. | |
| 34 | +* Addressed some security concerns with the unserialization process for the stored serialized `DateTime` field values (`text_datetime_timestamp_timezone` field type only). ([#1510](https://github.com/CMB2/CMB2/pull/1510)) | |
| 35 | +* [Development] Some build script improvements. | |
| 36 | +* [Development] Added some PHPCS/WPCS config. | |
| 37 | +* [Development] Added a phpcompatibility action. Props [@jazzsequence](https://github.com/jazzsequence) ([#1499](https://github.com/CMB2/CMB2/pull/1499), [#1500](https://github.com/CMB2/CMB2/pull/1500)). | |
| 38 | + | |
| 39 | +### Bug Fixes | |
| 40 | + | |
| 41 | +* Fix some line-height issues with dashicon buttons. Fixes [#1443]( | |
| 42 | +* Fix issue where image can be attached to wrong group after removing previous group. ([#1473](https://github.com/CMB2/CMB2/pull/1473)) | |
| 43 | +* Fixes issue where Select/Deselect all does not trigger change JS DOM events. Fixes [#1504](https://github.com/CMB2/CMB2/issues/1504). | |
| 44 | + | |
| 45 | +## [2.10.1 - 2022-02-22](https://github.com/CMB2/CMB2/releases/tag/v2.10.1) | |
| 46 | + | |
| 47 | +### Bug Fixes | |
| 10 | 48 | * Fix issue with date picker formatting. Fixes [#1448](https://github.com/CMB2/CMB2/issues/1448). |
| 11 | 49 | |
| 12 | -## [2.10.0 - 2022-02-15](https://github.com/CMB2/CMB2/releases/tag/v2.9.0) | |
| 13 | 50 | |
| 51 | +## [2.10.0 - 2022-02-15](https://github.com/CMB2/CMB2/releases/tag/v2.10.0) | |
| 52 | + | |
| 14 | 53 | ### Enhancements |
| 15 | 54 | * Sanitize URLs, defaulting to `https`. Props [@paulschreiber](https://github.com/paulschreiber) ([#1413](https://github.com/CMB2/CMB2/pull/1413)). |
| 16 | 55 | * Establish Cypress E2E Testing. Props [@markjaquith](https://github.com/markjaquith) ([#1437](https://github.com/CMB2/CMB2/pull/1437)). |
| 17 | 56 | * Updated the JS `shiftRows` functionality to be simpler, and fix issues with JS initialization. Fixes [#1426](https://github.com/CMB2/CMB2/issues/1426) and [#1431](https://github.com/CMB2/CMB2/issues/1431). |
| @@ -167,10 +206,10 @@ | ||
| 167 | 206 | * Complete the `zh-CN` translation. Props [@uicestone](https://github.com/uicestone) ([#1089](https://github.com/CMB2/CMB2/pull/1089)). |
| 168 | 207 | * Update the `nl_NL` translation. Props [@tammohaannl](https://github.com/tammohaannl) ([#1101](https://github.com/CMB2/CMB2/pull/1101)). |
| 169 | 208 | * Better display for white over transparent images (e.g. logos) by using a checkered background for images. ([#1103](https://github.com/CMB2/CMB2/issues/1103)) |
| 170 | 209 | * Ability to disable the options [autoload parameter](https://codex.wordpress.org/Function_Reference/add_option#Parameters) via filter (`"cmb2_should_autoload_{$options_key}"`) or via a box parameter for `'options-page'` box registrations (`'autoload' => false,`). ([#1093](https://github.com/CMB2/CMB2/issues/1093)) |
| 171 | -* `'textarea_code'` field type now uses CodeMirror that is [used by WordPress](https://make.wordpress.org/core/2017/10/22/code-editing-improvements-in-wordpress-4-9/) ([#1096](https://github.com/CMB2/CMB2/issues/1096)). A field can opt-out to return to the previous behavior by specifying an `'options'` parameter: | |
| 172 | -`'options' => array( 'disable_codemirror' => true )` | |
| 210 | +* `'textarea_code'` field type now uses CodeMirror that is [used by WordPress](https://make.wordpress.org/core/2017/10/22/code-editing-improvements-in-wordpress-4-9/) ([#1096](https://github.com/CMB2/CMB2/issues/1096)). A field can opt-out to return to the previous behavior by specifying an `'options'` parameter: | |
| 211 | +`'options' => array( 'disable_codemirror' => true )` | |
| 173 | 212 | As with the other javascript-enabled fields, the code-editor defaults can be overridden via a `data-codeeditor` attribute. E.g: |
| 174 | 213 | |
| 175 | 214 | ```php |
| 176 | 215 | 'attributes' => array( |
| @@ -179,9 +218,9 @@ | ||
| 179 | 218 | 'mode' => 'css', |
| 180 | 219 | ), |
| 181 | 220 | ) ), |
| 182 | 221 | ), |
| 183 | - ``` | |
| 222 | + ``` | |
| 184 | 223 | * Improve/add comment info banners at top of CMB2 CSS files. |
| 185 | 224 | * Added `resetBoxes`/`resetBox` Javascript methods for resetting CMB2 box forms. |
| 186 | 225 | * Improved styles for fields in the new-term form. |
| 187 | 226 | * New `CMB2_Boxes` methods for filtering instances of `CMB2`, `CMB2_Boxes::get_by( $property, $optional_compare )` and `CMB2_Boxes::filter_by( $property, $to_ignore = null )`. |
| @@ -215,9 +254,9 @@ | ||
| 215 | 254 | ## [2.2.6.1 - 2017-11-24](https://github.com/CMB2/CMB2/releases/tag/v2.2.6.1) |
| 216 | 255 | |
| 217 | 256 | ### Enhancements |
| 218 | 257 | |
| 219 | -* Merge in the [CMB2 RGBa Colorpicker](https://github.com/JayWood/CMB2_RGBa_Picker) field type functionality to the CMB2 colopicker field type. Adds the ability to add an alpha (transparency) slider to the colorpicker by adding the `'alpha'` option [to the field options array](https://github.com/CMB2/CMB2/blob/6fce2e7ba8f41345a23bc2064e30433bdb11c16c/example-functions.php#L263-L265). Thank you to [JayWood](https://github.com/JayWood) for his work on his custom field type. | |
| 258 | +* Merge in the [CMB2 RGBa Colorpicker](https://github.com/JayWood/CMB2_RGBa_Picker) field type functionality to the CMB2 colopicker field type. Adds the ability to add an alpha (transparency) slider to the colorpicker by adding the `'alpha'` option [to the field options array](https://github.com/CMB2/CMB2/blob/6fce2e7ba8f41345a23bc2064e30433bdb11c16c/example-functions.php#L263-L265). Thank you to [JayWood](https://github.com/JayWood) for his work on his custom field type. | |
| 220 | 259 | |
| 221 | 260 | ### Bug Fixes |
| 222 | 261 | |
| 223 | 262 | * Fix issue (introduced in 2.2.6) with complex fields set as repeatable not being able to save additional fields. Fixes [#1054](https://github.com/CMB2/CMB2/issues/1054). |
| @@ -293,9 +332,9 @@ | ||
| 293 | 332 | * Change language throught to reflect CMB2's move to its own organization. |
| 294 | 333 | * Break `CMB2_Field:options()` method apart to allow re-setting options from field params. Related: [reaktivstudios/cmb2-flexible-content/pull/8](https://github.com/reaktivstudios/cmb2-flexible-content/pull/8). |
| 295 | 334 | * New `CMB2:box_types()` method for getting the array of registered `'object_types'` for a box. Ensures the return is an array. |
| 296 | 335 | * Improved inline hooks documentation. |
| 297 | -* Updated several CMB2 methods to return the CMB2 object (for method chaining). Methods include: | |
| 336 | +* Updated several CMB2 methods to return the CMB2 object (for method chaining). Methods include: | |
| 298 | 337 | * `CMB2::show_form()` |
| 299 | 338 | * `CMB2::render_form_open()` |
| 300 | 339 | * `CMB2::render_form_close()` |
| 301 | 340 | * `CMB2::render_group_row()` |
| @@ -341,13 +380,13 @@ | ||
| 341 | 380 | If it is preferred that the fields are output without the metabox, then omit the `'title'` property from the metabox registration array, and instead add ` 'remove_box_wrap' => true,`. |
| 342 | 381 | |
| 343 | 382 | Props [@norcross](https://github.com/norcross) ([#836](https://github.com/CMB2/CMB2/pull/836)). |
| 344 | 383 | * New field parameter, `'render_class'`, allowing you to override the default `'CMB2_Type_Base'` class that is used when rendering the field. This provides interesting object-oriented ways to override default CMB2 behavior by subclassing the default class and overriding methods. The render class can also be overridden with the `"cmb2_render_class_{$fieldtype}"` filter, which is passed the default render class name as well as the `CMB2_Types` object, but this should be used sparingly, and within the context of your project's boxes/fields or you could break other plugins'/themes' CMB2 fields. |
| 345 | -* Improvements to the `file`/`file_list` fields javascript APIs, including using undersore templates. | |
| 384 | +* Improvements to the `file`/`file_list` fields javascript APIs, including using undersore templates. | |
| 346 | 385 | * Small improvements to the styling for the `file_list` field type. |
| 347 | 386 | * New action hook, `cmb2_footer_enqueue`, which occurs after CMB2 enqueues its assets. |
| 348 | 387 | * Example functions clean up. Props [@PavelK27](https://github.com/PavelK27) ([#866](https://github.com/CMB2/CMB2/pull/866)). |
| 349 | -* New `CMB2_Utils` methods, `get_available_image_sizes()` and `get_named_size()`. Props [@Cai333](https://github.com/Cai333). | |
| 388 | +* New `CMB2_Utils` methods, `get_available_image_sizes()` and `get_named_size()`. Props [@Cai333](https://github.com/Cai333). | |
| 350 | 389 | |
| 351 | 390 | ### Bug Fixes |
| 352 | 391 | |
| 353 | 392 | * Fix datepicker month/year dropdown text color. On windows, the option text was showing as white (invisible). Fixes [#770](https://github.com/CMB2/CMB2/issues/770). |
| @@ -387,9 +426,9 @@ | ||
| 387 | 426 | * All CMB2 JS events now also get the CMB2 JS object passed in the list of arguments. |
| 388 | 427 | * CMB2 JS object is now instantiated without stomping existing object, to enable extending. |
| 389 | 428 | * New field parameter for taxonomy fields, `'remove_default'` which allows disabling the default taxonomy metabox. Props [@c3mdigital](https://github.com/c3mdigital) ([#593](https://github.com/CMB2/CMB2/pull/593)). |
| 390 | 429 | * Change `'row_classes'` to just `'classes'`, to mirror the metabox `'classes'` property. Also now accepts a `'classes_cb'` parameter for specifying a callback which returns a string or array. The callback will receive `$field_args` as the first argument, and the CMB2_Field `$field` object as the second argument. (`'row_classes'` will continue to work, but is deprecated) |
| 391 | -* Make wysiwyg editors work in the repeatable groups context. A standard repeatable (non-group) wysiwyg field is not supported (but will possibly be included in a future update). Props [@johnsonpaul1014](https://github.com/johnsonpaul1014) ([#26](https://github.com/CMB2/CMB2/pull/26), [#99](https://github.com/CMB2/CMB2/pull/99), [#260](https://github.com/CMB2/CMB2/pull/260), [#264](https://github.com/CMB2/CMB2/pull/264), [#356](https://github.com/CMB2/CMB2/pull/356), [#431](https://github.com/CMB2/CMB2/pull/431), [#462](https://github.com/CMB2/CMB2/pull/462), [#657](https://github.com/CMB2/CMB2/pull/657), [#693](https://github.com/CMB2/CMB2/pull/693)). | |
| 430 | +* Make wysiwyg editors work in the repeatable groups context. A standard repeatable (non-group) wysiwyg field is not supported (but will possibly be included in a future update). Props [@johnsonpaul1014](https://github.com/johnsonpaul1014) ([#26](https://github.com/CMB2/CMB2/pull/26), [#99](https://github.com/CMB2/CMB2/pull/99), [#260](https://github.com/CMB2/CMB2/pull/260), [#264](https://github.com/CMB2/CMB2/pull/264), [#356](https://github.com/CMB2/CMB2/pull/356), [#431](https://github.com/CMB2/CMB2/pull/431), [#462](https://github.com/CMB2/CMB2/pull/462), [#657](https://github.com/CMB2/CMB2/pull/657), [#693](https://github.com/CMB2/CMB2/pull/693)). | |
| 392 | 431 | * Add an id to the heading tag in the title field. This allows linking to a particular title using the id. |
| 393 | 432 | * Internationalization improvements. Props [ramiy](https://github.com/ramiy) ([#696](https://github.com/CMB2/CMB2/pull/696)). |
| 394 | 433 | * Ensure that saving does not happen during a switch-to-blog session, as data would be saved to the wrong object. [See more](https://wordpress.org/support/topic/bug-in-lastest-version?replies=2). |
| 395 | 434 | * Add `'cmb2_group_wrap_attributes'` filter to modifying the group wrap div's attributes. Filter gets passed an array of attributes and expects the return to be an array. Props [jrfnl](https://github.com/jrfnl) ([#582](https://github.com/CMB2/CMB2/pull/582)). |
| @@ -645,9 +684,9 @@ | ||
| 645 | 684 | |
| 646 | 685 | ## 2.0.0(beta) - 2014-08-16 |
| 647 | 686 | |
| 648 | 687 | 2.0.0 is the official version number for the transition to CMB2, and 2.0.1 is the official version after beta. It is a complete rewrite. Improvements and fixes are listed below. __Note: This release requires WordPress 3.8+__ |
| 649 | - | |
| 688 | + | |
| 650 | 689 | ### Enhancements |
| 651 | 690 | |
| 652 | 691 | * Converted `<table>` markup to more generic `<div>` markup to be more extensible and allow easier styling. |
| 653 | 692 | * Much better handling and display of repeatable groups. |
| @@ -669,9 +708,9 @@ | ||
| 669 | 708 | * Use class button-disabled instead of disabled="disabled" for <a> buttons. Props [sc0ttkclark](https://github.com/sc0ttkclark), ([#66](https://github.com/CMB2/CMB2/pull/66)). |
| 670 | 709 | * [New before/after dynamic form hooks](https://github.com/CMB2/CMB2/wiki/Tips-&-Tricks#using-the-dynamic-beforeafter-form-hooks). |
| 671 | 710 | * Larger unit test coverage. Props to [@pmgarman](https://github.com/pmgarman) for assistance. ([#90](https://github.com/CMB2/CMB2/pull/90) and [#91](https://github.com/CMB2/CMB2/pull/91)) |
| 672 | 711 | * Added helper function to update an option. Props [mAAdhaTTah](https://github.com/mAAdhaTTah), ([#110](https://github.com/CMB2/CMB2/pull/110)). |
| 673 | -* More JS hooks during repeat group shifting. Props [AlchemyUnited](https://github.com/AlchemyUnited), ([#125](https://github.com/CMB2/CMB2/pull/125)). | |
| 712 | +* More JS hooks during repeat group shifting. Props [AlchemyUnited](https://github.com/AlchemyUnited), ([#125](https://github.com/CMB2/CMB2/pull/125)). | |
| 674 | 713 | * [New metabox config option for defaulting to closed](https://github.com/CMB2/CMB2/wiki/Tips-&-Tricks#setting-a-metabox-to-closed-by-default). |
| 675 | 714 | * New hooks, [`cmb2_init`](https://github.com/CMB2/CMB2/wiki/Tips-&-Tricks#using-cmb2-helper-functions-and-cmb2_init) and `cmb2_init_{$cmb_id}`. |
| 676 | 715 | |
| 677 | 716 | ### Bug Fixes |
| @@ -688,15 +727,15 @@ | ||
| 688 | 727 | |
| 689 | 728 | ## 1.3.0 - (never released, merged into CMB2) |
| 690 | 729 | |
| 691 | 730 | ### Enhancements |
| 692 | - | |
| 731 | + | |
| 693 | 732 | * Localize Date, Time, and Color picker defaults so that they can be overridden via the `cmb_localized_data` filter. ([#528](https://github.com/WebDevStudios/Custom-Metaboxes-and-Fields-for-WordPress/issues/528)) |
| 694 | 733 | * Change third parameter for 'cmb_metabox_form' to be an args array. Optional arguments include `echo`, `form_format`, and `save_button`. |
| 695 | 734 | * Add support for `show_option_none` argument for `taxonomy_select` and `taxonomy_radio` field types. Also adds the following filters: `cmb_all_or_nothing_types`, `cmb_taxonomy_select_default_value`, `cmb_taxonomy_select_{$this->_id()}_default_value`, `cmb_taxonomy_radio_{$this->_id()}_default_value`, `cmb_taxonomy_radio_default_value`. Props [@pmgarman](https://github.com/pmgarman), ([#569](https://github.com/WebDevStudios/Custom-Metaboxes-and-Fields-for-WordPress/pull/569)). |
| 696 | 735 | * Make the list items in the `file_list` field type drag & drop sortable. Props [twoelevenjay](https://github.com/twoelevenjay), ([#603](https://github.com/WebDevStudios/Custom-Metaboxes-and-Fields-for-WordPress/pull/603)). |
| 697 | 736 | |
| 698 | -### Bug Fixes | |
| 737 | +### Bug Fixes | |
| 699 | 738 | |
| 700 | 739 | * Fixed typo in closing `</th>` tag. Props [@CivicImages](https://github.com/CivicImages). ([#616](https://github.com/WebDevStudios/Custom-Metaboxes-and-Fields-for-WordPress/issues/616)) |
| 701 | 740 | |
| 702 | 741 | ## 1.2.0 - 2014-05-03 |
| @@ -701,9 +740,9 @@ | ||
| 701 | 740 | |
| 702 | 741 | ## 1.2.0 - 2014-05-03 |
| 703 | 742 | |
| 704 | 743 | ### Enhancements |
| 705 | - | |
| 744 | + | |
| 706 | 745 | * Add support for custom date/time formats. Props [@Scrent](https://github.com/Scrent). ([#506](https://github.com/WebDevStudios/Custom-Metaboxes-and-Fields-for-WordPress/pull/506)) |
| 707 | 746 | * Simplify `wysiwyg` escaping and allow it to be overridden via the `escape_cb` parameter. ([#491](https://github.com/WebDevStudios/Custom-Metaboxes-and-Fields-for-WordPress/pull/491)) |
| 708 | 747 | * Add a 'Select/Deselect all' button for the `multicheck` field type. |
| 709 | 748 | * Add title option for [repeatable groups](https://github.com/CMB2/CMB2/wiki/Field-Types#group). Title field takes an optional replacement hash, "{#}" that will be replaced by the row number. |
| @@ -709,9 +748,9 @@ | ||
| 709 | 748 | * Add title option for [repeatable groups](https://github.com/CMB2/CMB2/wiki/Field-Types#group). Title field takes an optional replacement hash, "{#}" that will be replaced by the row number. |
| 710 | 749 | * New field parameter, `show_on_cb`, allows you to conditionally display a field via a callback. ([#47](https://github.com/WebDevStudios/Custom-Metaboxes-and-Fields-for-WordPress/issues/47)) |
| 711 | 750 | * Unit testing (the beginning). Props [@brichards](https://github.com/brichards) and [@camdensegal](https://github.com/camdensegal). |
| 712 | 751 | |
| 713 | -### Bug Fixes | |
| 752 | +### Bug Fixes | |
| 714 | 753 | |
| 715 | 754 | * Fixed issue where remove file button wouldn't clear the url field. ([#514](https://github.com/WebDevStudios/Custom-Metaboxes-and-Fields-for-WordPress/issues/514)) |
| 716 | 755 | * `wysiwyg` fields now allow underscores. Fixes some wysiwyg display issues in WordPress 3.8. Props [@lswilson](https://github.com/lswilson). ([#491](https://github.com/WebDevStudios/Custom-Metaboxes-and-Fields-for-WordPress/issues/491)) |
| 717 | 756 | * Nonce field should only be added once per page. ([#521](https://github.com/WebDevStudios/Custom-Metaboxes-and-Fields-for-WordPress/issues/521)) |
| @@ -722,9 +761,9 @@ | ||
| 722 | 761 | |
| 723 | 762 | |
| 724 | 763 | ## 1.1.3 - 2014-04-07 |
| 725 | 764 | |
| 726 | -### Bug Fixes | |
| 765 | +### Bug Fixes | |
| 727 | 766 | |
| 728 | 767 | * Update `cmb_get_field_value` function as it was passing the parameters to `cmb_get_field` in the wrong order. |
| 729 | 768 | * Fix repeating fields not working correctly if meta key or prefix contained an integer. ([#503](https://github.com/WebDevStudios/Custom-Metaboxes-and-Fields-for-WordPress/issues/503)) |
| 730 | 769 | |
| @@ -729,9 +768,9 @@ | ||
| 729 | 768 | * Fix repeating fields not working correctly if meta key or prefix contained an integer. ([#503](https://github.com/WebDevStudios/Custom-Metaboxes-and-Fields-for-WordPress/issues/503)) |
| 730 | 769 | |
| 731 | 770 | ## 1.1.2 - 2014-04-05 |
| 732 | 771 | |
| 733 | -### Bug Fixes | |
| 772 | +### Bug Fixes | |
| 734 | 773 | |
| 735 | 774 | * Fix issue with `cmb_Meta_Box_types.php` calling a missing method, `image_id_from_url`. ([#502](https://github.com/WebDevStudios/Custom-Metaboxes-and-Fields-for-WordPress/pull/502)) |
| 736 | 775 | |
| 737 | 776 | |
| @@ -746,9 +785,9 @@ | ||
| 746 | 785 | ### Enhancements |
| 747 | 786 | |
| 748 | 787 | * [Repeatable groups](https://github.com/CMB2/CMB2/wiki/Field-Types#group) |
| 749 | 788 | * Support for more fields to be repeatable, including oEmbed field, and date, time, and color picker fields, etc. |
| 750 | -* Codebase has been revamped to be more modular and object-oriented. | |
| 789 | +* Codebase has been revamped to be more modular and object-oriented. | |
| 751 | 790 | * New filter, `"cmb_{$element}_attributes" ` for modifying an element's attributes. |
| 752 | 791 | * Every field now supports an `attributes` parameter that takes an array of attributes. [Read more](https://github.com/CMB2/CMB2/wiki/Field-Types#attributes). |
| 753 | 792 | * Removed `cmb_std_filter` in favor of `cmb_default_filter`. **THIS IS A BREAKING CHANGE** |
| 754 | 793 | * Better handling of labels in sidebar. They are now placed on top of the input rather than adjacent. |