Skip to content

PostAction View Post returns an error #63457

@sejas

Description

@sejas

Description

The View action in Post Actions returns an error in the console since Gutenberg 18.7.0
This error prevents from opening the post in a new window.

Step-by-step reproduction instructions

  1. Go to edit a post. For example /wp-admin/post.php?post=1&action=edit.
  2. Open the console in Chrome Dev Tools
  3. Click in the three dots to open the Actions dropdown menu.
  4. Click in View
  5. Observe the error in the console
  6. Observe the browser didn't open any new window with the post frontend

Screenshots, screen recording, code snippet

post-action-view-error.mp4

Environment info

Gutenberg v18.7.1

Please confirm that you have searched existing issues in the repo.

Yes

Please confirm that you have tested with all plugins deactivated except Gutenberg.

Yes

Metadata

Metadata

Assignees

Labels

[Status] In ProgressTracking issues with work in progress[Type] BugAn existing feature does not function as intended

Type

No type
No fields configured for issues without a type.

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions