[wp-trac] [WordPress Trac] #61796: Blank Page When $_GET['postId'] Does Not Exist in /wp-admin/site-editor.php

WordPress Trac noreply at wordpress.org
Mon Jan 20 07:21:55 UTC 2025


#61796: Blank Page When $_GET['postId'] Does Not Exist in /wp-admin/site-editor.php
-------------------------------------------------+-------------------------
 Reporter:  benniledl                            |       Owner:  (none)
     Type:  defect (bug)                         |      Status:  new
 Priority:  normal                               |   Milestone:  6.8
Component:  Editor                               |     Version:  6.6
 Severity:  normal                               |  Resolution:
 Keywords:  has-patch changes-requested needs-   |     Focuses:
  testing                                        |
-------------------------------------------------+-------------------------

Comment (by poena):

 Hi

 This has been resolved upstream in the Gutenberg plugin and should, unless
 something unforseen happens, be part of WordPress 6.8.
 See https://github.com/WordPress/gutenberg/pull/62274

 On WordPress 6.7.1 or 6.8-alpha-59664 with Gutenberg (current trunk)
 active, navigating to
 {{{/wp-admin/site-editor.php?postType=page&postId=999999}}}
 redirects you to
 {{{/wp-admin/site-editor.php?postId=999999&p=%2Fpage}}}

 At the top of the page preview, there is a warning notice saying:
 You attempted to edit an item that doesn't exist. Perhaps it was deleted?

-- 
Ticket URL: <https://core.trac.wordpress.org/ticket/61796#comment:22>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list