Skip to content

Commit

Permalink
5.0.2
Browse files Browse the repository at this point in the history
  • Loading branch information
janhenckens committed Jul 8, 2024
1 parent d693fd7 commit 7df7be6
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/).

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

## 5.0.1 - 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))

## 5.0.0 - 2024-05-22
### 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": "5.0.1",
"version": "5.0.2",
"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 @@ -475,7 +475,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 7df7be6

Please sign in to comment.