-
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
Add comment-form and comment-list to default html5 theme support #37536
Conversation
…e with comment layout caused by this change
Size Change: +6 B (0%) Total Size: 1.13 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.
Thanks for adding this one in @glendaviesnz! This is testing nicely for me in blocks based themes (TwentyTwentyTwo and TT1-Blocks) and also tested to make sure there's no issues in a few classic themes (TwentyTwenty, TwentyNineteen, Maywood).
LGTM!
@hellofromtonya If this looks ok to you, do we just merge and add the backport tag to get the CSS change into 5.9? |
Thanks for ping @glendaviesnz. The changes look good. Let me pull it down and see how TT2 renders. If all is good, then I'll approve in a couple of minutes. |
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.
Tested on Core's current trunk
. Removing the margin-left
shifts the comments back into alignment. Ready for merge 👍 and backport
@glendaviesnz The PHP change resyncs with Core. The CSS change shifts the comments back into alignment. The package update will need to happen to backport the CSS to Core. |
…e with comment layout caused by this change (#37536) Co-authored-by: Glen Davies <[email protected]>
Description
Adds comment-form and comment-list to default html5 theme support for compatibility with core 5.9 and fixes comment layout issue caused by this change.
Fixes: #37464
How has this been tested?
Ran 5.9 beta 3 without Gutenberg plugin and checked comment markup
Ran Gutenberg plugin on 5.8 with this PR applied and checked that comment markup matched 5.9 beta 3, and that comment layout was correct
Screenshots
Before:
After:
Without the CSS change in this PR the comment avatar alignment is incorrect:
so check that these are in alignment with parent post width.