Skip to content

Commit

Permalink
Fix for 4.0.11
Browse files Browse the repository at this point in the history
  • Loading branch information
janhenckens committed Jul 8, 2024
1 parent 905ed2e commit 1ca0515
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 3 deletions.
6 changes: 5 additions & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,9 +4,13 @@ All notable changes to this project will be documented in this file.

The format is based on [Keep a Changelog](http://keepachangelog.com/) and this project adheres to [Semantic Versioning](http://semver.org/).

## 4.0.11 - 2024-07-07
### Fixed
- Fixed missing behaviour for categories ([#95](https://github.com/studioespresso/craft-seo-fields/issues/95))

## 4.0.10 - 2024-07-07
### Fixed
- Fixed misssing behaviour for categories ([#95](https://github.com/studioespresso/craft-seo-fields/issues/95))
- Fixed missing behaviour for categories ([#95](https://github.com/studioespresso/craft-seo-fields/issues/95))

## 4.0.9 - 2024-04-11
### Fixed
Expand Down
2 changes: 1 addition & 1 deletion composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
"name": "studioespresso/craft-seo-fields",
"description": "Fields for your SEO & OG meta data",
"type": "craft-plugin",
"version": "4.0.10",
"version": "4.0.11",
"keywords": [
"craft",
"cms",
Expand Down
2 changes: 1 addition & 1 deletion src/SeoFields.php
Original file line number Diff line number Diff line change
Expand Up @@ -473,7 +473,7 @@ private function _registerElementBehaviors(): void
$event->behaviors[$this->id] = ElementSeoBehavior::class;
});

Event::on(Category::class, Entry::EVENT_DEFINE_BEHAVIORS, function(DefineBehaviorsEvent $event) {
Event::on(Category::class, Category::EVENT_DEFINE_BEHAVIORS, function(DefineBehaviorsEvent $event) {
$event->behaviors[$this->id] = ElementSeoBehavior::class;
});

Expand Down

0 comments on commit 1ca0515

Please sign in to comment.