2.1.0
- New: Icon field (https://github.com/htmlburger/carbon-field-icon)
- New: (#232) Media Gallery field (https://carbonfields.net/docs/fields-media-gallery/?crb_version=2-1-0)
- New: (#185) oEmbed field (https://carbonfields.net/docs/fields-oembed/?crb_version=2-1-0)
- New: Pre-built plugin release zips are now available (https://carbonfields.net/release-archive/)
- New: (#351)
carbon_field_exists( $name, $container_type, $container_id = '' )function which allows you to check if a specific field exists by it's name and container type or container id - New: (#329)
set_attributes( $attributes )method to fields as a shortcut to avoid callingset_attribute()multiple times - New: (#346)
post_ancestor_idpost meta container condition (https://carbonfields.net/docs/containers-condition-types/?crb_version=2-1-0) - New: (#346)
term_parentterm meta container condition - New: (#346)
term_ancestorterm meta container condition - New: (#315)
set_attribute()support to select-based fields (select, gravity forms) - New: Date/Time fields can now be edited manually as well
- New: (#358) Italian translation thanks to @filippozanardo
- Update: Complex fields' "Remove" label moved to the right to avoid accidental clicks
- Update:
post_templatecondition will now deal with empty template values as if they are "default" (this way you only have to deal with "default" or exact template names) - Update: (#316) Improved translation strings
- Update: (#337) Russian translations thanks to @9585999
- Update: (#316) German and Formal Germal translations thanks to @erichk4
- Update: (#321) Finnish translation thanks to @timiwahalahti
- Update: Performance improvements for container conditions
- Fix:
set_value_type( 'url' )causing PHP errors when used on File/Image fields - Fix:
post_templatecondition when the post in question has recently been changed to be the page for posts - Fix: (#346) Error caused by term conditions used in conjunction with the
CUSTOMoperator - Fix: Containers not appearing immediately when adding multiple nav menu items in a single action
- Fix: Image fields in containers causing multiple media browsers to be opened after reordering
- Fix: (#320)
post_typecontainer condition misbehaving when in an OR relationship - Fix: (#307) Various Rich text field issues
- Fix: (#304) Support for fields with hypens in their names
- Fix: The proxy Container::make() method is missing the $id parameter
- Fix: Numerical keys support in select/set field options
- Fix: Selecting multiple files in a file/image field inside a complex
- Fix: Container validation issues
- Fix: Various issues with widgets
Also big thanks to all contributors for this release - @vvasilev-, @jorostoyanov, @timiwahalahti, @campusboy87, @9585999, @soulseekah, @erichk4, @filippozanardo and @bjrhodes!