Skip to content
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 class= wrapper to already wrapped attributes. Issue #29209 #29214

Merged
merged 1 commit into from
Jun 2, 2021

Conversation

bobbingwide
Copy link
Contributor

Description

I've changed the server side rendering of the core/post-comments-count block, removing the unnecessary "class=" wrapper to the attributes for the <div> tag for the block.

How has this been tested?

I pre-tested tested the fix locally by changing the run time file.

Screenshots

Types of changes

Fixes #29209

Checklist:

  • My code is tested.
  • My code follows the WordPress code style.
  • My code follows the accessibility standards.
  • I've tested my changes with keyboard and screen readers.
  • My code has proper inline documentation.
  • I've included developer documentation if appropriate.
  • I've updated all React Native files affected by any refactorings/renamings in this PR.

@bobbingwide
Copy link
Contributor Author

I attached a screen capture for the block with the fix applied to the original issue #29209

Base automatically changed from master to trunk March 1, 2021 15:45
Copy link
Member

@jorgefilipecosta jorgefilipecosta left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This issue was already fixed in #30056, but I'm merging this PR anyway to also give credit to @bobbingwide given that this PR was opened first :) Thank you for working on this Fix!

@jorgefilipecosta jorgefilipecosta merged commit 1133ce1 into WordPress:trunk Jun 2, 2021
@github-actions github-actions bot added this to the Gutenberg 10.8 milestone Jun 2, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Post comments count - styles not working in front end - bad HTML
2 participants