Skip to content

Conversation

@jorgefilipecosta
Copy link
Member

Description

This PR fixes an issue where the latest post block crashed during a post update.

With this change we don't have a crash in the block.

How has this been tested?

I created a new post with the title "Post title" and added the latest posts block to it.
I published the post and reloaded it in the editor.
I updated the post title and saved the post (I verified the latest post block did not crash, on master it crashes).

@jorgefilipecosta jorgefilipecosta added [Type] Bug An existing feature does not function as intended [Block] Latest Posts Affects the Latest Posts Block Backport to WP 6.9 Beta/RC Pull request that needs to be backported to the WordPress major release that's currently in beta labels Feb 18, 2020
@jorgefilipecosta jorgefilipecosta merged commit c65d876 into master Feb 21, 2020
@jorgefilipecosta jorgefilipecosta deleted the fix/crash-when-updating-a-post-with-latest-post-block branch February 21, 2020 19:07
@github-actions github-actions bot added this to the Gutenberg 7.6 milestone Feb 21, 2020
@jorgefilipecosta jorgefilipecosta removed the Backport to WP 6.9 Beta/RC Pull request that needs to be backported to the WordPress major release that's currently in beta label Feb 25, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

[Block] Latest Posts Affects the Latest Posts Block [Type] Bug An existing feature does not function as intended

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants