-
Notifications
You must be signed in to change notification settings - Fork 32
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Remove repeated-metas.php and move class-meta-renderer.php #2849
Conversation
📝 WalkthroughWalkthroughThe changes involve significant modifications to the Changes
Assessment against linked issues
📜 Recent review detailsConfiguration used: .coderabbit.yaml 📒 Files selected for processing (2)
💤 Files with no reviewable changes (1)
🧰 Additional context used📓 Path-based instructions (1)
🔇 Additional comments (4)
Thank you for using CodeRabbit. We offer it for free to the OSS community and would appreciate your support in helping us grow. If you find it useful, would you consider giving us a shout-out on your favorite social media? 🪧 TipsChatThere are 3 ways to chat with CodeRabbit:
Note: Be mindful of the bot's finite context window. It's strongly recommended to break down tasks such as reading entire modules into smaller chunks. For a focused discussion, use review comments to chat about specific files and their changes, instead of using the PR comments. CodeRabbit Commands (Invoked using PR comments)
Other keywords and placeholders
Documentation and Community
|
Description
This PR removes
/views/repeated-metas.php
and puts the relevant code inclass-metadata-renderer.php
, which has been moved from/src/U/I
to/src/Metadata/
. This is semantically more correct, since the class doesn't render any UI, but injects (renders) the metadata in posts.Some adjustments were also introduced to improve code clarity, and address some PHPStan warnings. We've also removed the
'author'
key from$parsely_metas
, since it was weird and seemed like forgotten code.Motivation and context
How has this been tested?
'author'
key, changes were tested manually, including testing with the Co-Authors Plus plugin in order to verify that theparsely-author
meta behaved as expected (single and multi-author support in metas).Summary by CodeRabbit
New Features
<meta>
tags.Bug Fixes
null
values.Refactor