Skip to content

Page List block: fix space before href attribute#36505

Merged
talldan merged 1 commit intoWordPress:trunkfrom
sabernhardt:patch-1
Nov 16, 2021
Merged

Page List block: fix space before href attribute#36505
talldan merged 1 commit intoWordPress:trunkfrom
sabernhardt:patch-1

Conversation

@sabernhardt
Copy link
Copy Markdown
Contributor

The end quote for the class attribute was touching href, and Firefox highlighted the markup as invalid.

Note: the typo is already in WordPress 5.9 trunk, so this would need fixing in both places.

@talldan talldan added [Block] Page List Affects the Page List Block [Type] Bug An existing feature does not function as intended Backport to WP Beta/RC labels Nov 16, 2021
Copy link
Copy Markdown
Contributor

@talldan talldan left a comment

Choose a reason for hiding this comment

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

LGTM, thanks for fixing!

I think the block PHP files are copied over to core when backporting, so not sure if this requires a separate change, or whether it will automatically propagate over in the next beta release. cc @noisysocks

@talldan talldan merged commit e1d8364 into WordPress:trunk Nov 16, 2021
@github-actions github-actions bot added this to the Gutenberg 12.0 milestone Nov 16, 2021
@noisysocks
Copy link
Copy Markdown
Member

It will happen automatically as it's part of the block PHP.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

[Block] Page List Affects the Page List Block [Type] Bug An existing feature does not function as intended

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants