-
Notifications
You must be signed in to change notification settings - Fork 4.3k
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 "post" from block titles #53492
Conversation
Size Change: +2.26 kB (0%) Total Size: 1.5 MB
ℹ️ View Unchanged
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
On a general note I really like the simplicity this brings.
However in a few cases I'm not sure the name as proposed here is super clear.
I left inline comments for those.
@@ -2,7 +2,7 @@ | |||
"$schema": "https://schemas.wp.org/trunk/block.json", | |||
"apiVersion": 3, | |||
"name": "core/post-date", | |||
"title": "Post Date", |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think just date is confusing as it could just as well be the current date. Maybe this should just be called Published Date
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Hm, maybe so. 🤔
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Calling it "published date" would help separate it from the "modified date" variation.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
It's actually a bit weird for me to see modified date as a variation in the inserter. I'd expect it to be a single date block and for modified to be a property there.
Big fan of this change. I can't today test the PR so I'll let others validate the code and give a green light. But appreciate the simplification 👍 👍 |
I'm a fan of this change: |
7f133e6
to
6bc6a1c
Compare
Yes, exactly. :) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I'm happy to try this one.
Heads up to @femkreations for docs for 6.4! |
What?
Removes the "Post" prefix on block titles.
Examples, changes "Post Featured Image" to "Featured Image". Closes #53459.
Why?
Visual