WordPress.org

Make WordPress Core

Opened 4 months ago

Closed 4 months ago

#53508 closed defect (bug) (fixed)

Query Loop is editable until you edit a post inside it

Reported by: Clorith Owned by:
Milestone: 5.8 Priority: normal
Severity: normal Version: 5.8
Component: Editor Keywords:
Focuses: Cc:

Description

When inserting a Query Loop, the ability to edit posts inside of it was removed in [51101] due to a confusing user experience relating to this.

If turns out the Query Loop block still lets you edit post content, but only once. If after adding a Query Loop block, you either reload the editor page, or if the user makes an edit to the post content inside the loop and saves it, the content is locked from future editing.

This means that a user can make edits to the posts shown in the loop right after adding the block.

Steps to reproduce:

  • Create a new page
  • Insert "Query Loop" block
  • Click inside title of the displayed post (for example "Hello world!" being the example post shipped with WordPress)
  • The "Update" button in the editor now lets you update the page you are in, and your third party block.

Change History (5)

This ticket was mentioned in Slack in #core-editor by desrosj. View the logs.


4 months ago

#2 @desrosj
4 months ago

  • Component changed from General to Editor

This ticket was mentioned in Slack in #core-editor by desrosj. View the logs.


4 months ago

#4 @youknowriad
4 months ago

I think this is now fixed after https://core.trac.wordpress.org/changeset/51250
I'd appreciate testing to confirm.

#5 @desrosj
4 months ago

  • Resolution set to fixed
  • Status changed from new to closed

I've given this some more testing, and it seem like this is fixed! In case someone is looking in the future, this was resolved in Gutenberg-33037 and merged in [51250], as @youknowriad noted above.

Going to close this ticket out. @Clorith if you're not seeing the issue resolved, please do reopen!

Note: See TracTickets for help on using tickets.