Issue Overview
Update of a post repeatedly fails after inserting a Latest Post Block and the following error in the Editor
wp/wp-content/plugins/gutenberg/blocks/library/latest-posts/index.php on line 55
Steps to Reproduce (for bugs)
- Create new post
- Add Paragraph, Images, Gallery Blocks
- Update -> Success
- Add Latest Post Block
- Update -> fails
- Remove latest post
- Update -> success
Expected Behavior
Update succeeds after adding a latest post block
Current Behavior
Update fails after adding latest post block
Possible Solution
The latest post block seems to regard the currently edited post (where user is currently adding the latest post block) already as a latest post, since it is listet in the latest post preview which might create a loop.
Issue Overview
Update of a post repeatedly fails after inserting a Latest Post Block and the following error in the Editor
wp/wp-content/plugins/gutenberg/blocks/library/latest-posts/index.php on line 55Steps to Reproduce (for bugs)
Expected Behavior
Update succeeds after adding a latest post block
Current Behavior
Update fails after adding latest post block
Possible Solution
The latest post block seems to regard the currently edited post (where user is currently adding the latest post block) already as a latest post, since it is listet in the latest post preview which might create a loop.