Skip to content

Commit

Permalink
Merge branch 'release/5.0.0-beta.4' into v5
Browse files Browse the repository at this point in the history
  • Loading branch information
khalwat committed Feb 13, 2024
2 parents 6370f10 + e2277d7 commit 055e63a
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 4 deletions.
4 changes: 4 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,9 @@
# SEOmatic Changelog

## 5.0.0-beta.4 - 2024.02.13
### Fixed
* Fixed a regression where the `robots` tag would be set to `none` for CP requests, which is incorrect, because GraphQL and meta container endpoints are CP requests ([#1414](https://github.com/nystudio107/craft-seomatic/issues/1414))

## 5.0.0-beta.3 - 2024.02.09
### Added
* Add `phpstan` and `ecs` code linting
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": "nystudio107/craft-seomatic",
"description": "SEOmatic facilitates modern SEO best practices & implementation for Craft CMS 5. It is a turnkey SEO system that is comprehensive, powerful, and flexible.",
"type": "craft-plugin",
"version": "5.0.0-beta.3",
"version": "5.0.0-beta.4",
"keywords": [
"craft",
"cms",
Expand Down
3 changes: 0 additions & 3 deletions src/models/metatag/RobotsTag.php
Original file line number Diff line number Diff line change
Expand Up @@ -91,9 +91,6 @@ public function prepForRender(&$data): bool
if ($response->statusCode >= 400) {
$data['content'] = 'none';
}
if ($request->getIsCpRequest()) {
$data['content'] = 'none';
}
try {
if ($request->getToken() !== null) {
$data['content'] = 'none';
Expand Down

0 comments on commit 055e63a

Please sign in to comment.