Skip to content

Commit

Permalink
Reserve 'behavior' and 'behaviors' field handles
Browse files Browse the repository at this point in the history
Resolves #4184
  • Loading branch information
brandonkelly committed Apr 26, 2019
1 parent 7feb320 commit ae64588
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 0 deletions.
1 change: 1 addition & 0 deletions CHANGELOG-v3.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@
### Changed
- Craft now registers its project config event handlers before loading plugins. ([#3943](https://github.com/craftcms/cms/issues/3943))
- The Control Panel now uses jQuery 3.4.0. ([#4183](https://github.com/craftcms/cms/issues/4183))
- `behavior` and `behaviors` are now reserved field handles. ([#4184](https://github.com/craftcms/cms/issues/4184))

### Fixed
- Fixed an error where rebuilding the project config would not typecast the `propagateEntries` and `enableVersioning` section settings correctly. ([#3695](https://github.com/craftcms/cms/issues/3695))
Expand Down
2 changes: 2 additions & 0 deletions src/base/Field.php
Original file line number Diff line number Diff line change
Expand Up @@ -192,6 +192,8 @@ public function rules()
'archived',
'attributeLabel',
'attributes',
'behavior',
'behaviors',
'children',
'contentTable',
'dateCreated',
Expand Down

0 comments on commit ae64588

Please sign in to comment.