[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
Tue Aug 13 15:03:16 UTC 2024


#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:  Awaiting Review
Component:  Editor        |     Version:  6.6
 Severity:  normal        |  Resolution:
 Keywords:                |     Focuses:
--------------------------+------------------------------

Comment (by mi5t4n):

 Hello,
 {{{
 WP 6.6.1
 Theme: Twenty Twenty-Three
 }}}
 If we navigate to non-existtent postID on the site editor `/wp-admin/site-
 editor.php?postType=page&postId=99999`, the page preview page is stuck on
 loading, and a 404 not found is thrown on the Network Tab of the developer
 console.

 While on,

 {{{
 WP 6.5
 Theme: Twenty Twenty-Three
 }}}

 It does not get stuck and the URL `/wp-admin/site-
 editor.php?path=%2Fpage&canvas=view` is configured and shown if we travel
 to `/wp-admin/site-editor.php?postType=page&postId=999999`, non-existent
 postId.

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


More information about the wp-trac mailing list