### 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 https://github.com/user-attachments/assets/9a7c2ae2-35d7-4f7e-8511-cbd77d2e6798 ### 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
Description
The
Viewaction in Post Actions returns an error in the console since Gutenberg 18.7.0This error prevents from opening the post in a new window.
Step-by-step reproduction instructions
/wp-admin/post.php?post=1&action=edit.Actionsdropdown menu.ViewScreenshots, 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