User tests: Successful: Unsuccessful:
The com_content category view has code to add the author of the category as an author meta tag. This code does not work and the meta tag is never set for category views. This PR fixes that.
This is the last occurence of usage of the LegacyPropertyManagementTrait
for the CategoryNode
class in our core code and would then allow us to delete that trait from that class in 6.0.
Author Meta Tag
in global configuration of Joomla is enabled.No author meta tag.
A meta tag similar to the following is displayed: <meta name="author" content="John Doe">
Please select:
Documentation link for docs.joomla.org:
No documentation changes for docs.joomla.org needed
Pull Request link for manual.joomla.org:
No documentation changes for manual.joomla.org needed
Status | New | ⇒ | Pending |
Category | ⇒ | Front End com_content |
This currently just fixes the existing code. Since the same code is in the article view, I would first fix it like that. Moving this to the schema would be out of scope for this PR and also not what I would want to decide here.
I have tested this item ✅ successfully on d5dc55d
I have tested this item ✅ successfully on d5dc55d
Tested successfully that the PR does what it says. However, I'm not sure if I really want to have an author tag in a category blog if the author of the articles is different to the author of the category. But as the intention of existing code obviously was to add that meta tag and just the code was wrong, this PR is right, and anything else is out of scope.
Status | Pending | ⇒ | Ready to Commit |
Labels |
Added:
bug
PR-5.3-dev
|
RTC
Agree with @bembelimen we should just remove both lines without a replacement.
Status | Ready to Commit | ⇒ | Pending |
Back to pending due to requested changes.
Labels |
Added:
Updates Requested
|
Ok, done. I removed it entirely.
I have tested this item ✅ successfully on c18d1ee
I have tested this item ✅ successfully on c18d1ee
Test by using custom update server.
Status | Pending | ⇒ | Ready to Commit |
RTC
RTC
Labels |
Added:
RTC
Removed: Updates Requested |
Status | Ready to Commit | ⇒ | Fixed in Code Base |
Closed_Date | 0000-00-00 00:00:00 | ⇒ | 2025-02-27 12:37:48 |
Closed_By | ⇒ | rdeutz |
shouldnt this go in the schema and not the meta now