wp-calypso icon indicating copy to clipboard operation
wp-calypso copied to clipboard

Accessing "New Page" via the Command Pallete While Writing a Post in Calypso Causes "Refused to display (..) 'X-Frame-Options' to 'sameorigin'" error #92634

Open mrfoxtalbot opened this issue 5 months ago • 2 comments

Quick summary

While working on the Calypso editor, I tried to create a new page but the editor crashed:

https://github.com/user-attachments/assets/33407f03-67c8-4f09-a189-8ca4174cc224

I see this error: Refused to display 'https://gomezsorianoclara.wordpress.com/' in a frame because it set 'X-Frame-Options' to 'sameorigin'.

Interestingly enough, creating a new post works correctly (it redirects to foo.wordpress.com/wp-admin/post-new.php)

Steps to reproduce

  1. Go to https://wordpress.com/post/
  2. Go to the command palette and search for "Page"
  3. Click on "New Page"

What you expected to happen

It should create a new page

What actually happened

It crashed

Impact

All

Available workarounds?

Yes, easy to implement

If the above answer is "Yes...", outline the workaround.

The wp-admin at wp-admin/post-new.php works fine.

Platform (Simple and/or Atomic)

Simple

Logs or notes

This seems directly related to this other bug that was affecting patterns:

  • https://github.com/Automattic/wp-calypso/issues/92634

mrfoxtalbot avatar Aug 28 '24 07:08 mrfoxtalbot