Make WordPress Core

Opened 7 months ago

Closed 6 months ago

#63789 closed defect (bug) (reported-upstream)

"View Post" link while editing synced pattern leads to 404

Reported by: drivingralle's profile Drivingralle Owned by:
Milestone: Priority: normal
Severity: normal Version: 6.8.2
Component: Editor Keywords:
Focuses: administration Cc:

Description

How to reproduce it:

  • Open a new playground
  • Open "Hello World" post in block editor from admin bar or post list in WP-Admin
  • Disable "full screen mode"
  • Insert some block(s) and convert them to a synced pattern
  • (Save post)
  • Enter edit mode for that synced pattern via "Edit original" in tools bar
  • Click "View post" button in admin bar

I was expecting to view the "Hello World" post or that the link inside the admin bar to be hidden as long as I'm editing the synced pattern.

Here a video showing it:
https://cloudup.com/cJS7LS3fSub

Attachments (1)

63789.diff.patch (820 bytes) - added by sachinrajcp123 7 months ago.
# Fix: Hide 'View post' link in admin bar when editing synced patterns (wp_block) to prevent 404s.

Download all attachments as: .zip

Change History (3)

@sachinrajcp123
7 months ago

# Fix: Hide 'View post' link in admin bar when editing synced patterns (wp_block) to prevent 404s.

#1 @sachinrajcp123
7 months ago

# Fix: Hide 'View post' link in admin bar when editing synced patterns (wp_block) to prevent 404s.

#2 @sabernhardt
6 months ago

  • Milestone Awaiting Review deleted
  • Resolution set to reported-upstream
  • Status changed from new to closed

I moved this report to GitHub to address it in the plugin first.
https://github.com/WordPress/gutenberg/issues/71343

If you have anything to add, please comment there.

Note: See TracTickets for help on using tickets.