Accessing Patterns via the Command Pallete While Writing a Post in Calypso Causes "Refused to display (..) 'X-Frame-Options' to 'sameorigin'" error #92634
If you are editing a post via Calypso using Firefox, attempting to visit Patterns via the Command Palette causes an error.
This is ONLY happening with Firefox. In the case of Chrome, if you try to visit https://wordpress.com/post/example.com , you get redirected to https://example.com/wp-admin/post-new.php?post_type=post&calypsoify=1 and will work correctly
Look up "Patterns" in the Command Palette and click on it
What you expected to happen
It should work
What actually happened
It crashses and shows this error:
The loading of “https://mrfoxfreesite.wordpress.com/wp-admin/site-editor.php?postType=wp_block” in a frame is denied by “X-Frame-Options“ directive set to “sameorigin“.site-editor.php
Quick summary
If you are editing a post via Calypso using Firefox, attempting to visit Patterns via the Command Palette causes an error.
This is ONLY happening with Firefox. In the case of Chrome, if you try to visit
https://wordpress.com/post/example.com
, you get redirected tohttps://example.com/wp-admin/post-new.php?post_type=post&calypsoify=1
and will work correctlyWatch video:
https://github.com/user-attachments/assets/fe96d0f4-7d52-4600-9ce1-ec20aaa7a627
This error seems to be directly related to
Steps to reproduce
What you expected to happen
It should work
What actually happened
It crashses and shows this error:
The loading of “https://mrfoxfreesite.wordpress.com/wp-admin/site-editor.php?postType=wp_block” in a frame is denied by “X-Frame-Options“ directive set to “sameorigin“.site-editor.php
Impact
All
Available workarounds?
Yes, difficult to implement
Platform (Simple and/or Atomic)
Simple, Atomic
Logs or notes
No response