[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 Oct 7 09:18:47 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:  6.6.3
Component:  Editor                               |     Version:  6.6
 Severity:  normal                               |  Resolution:
 Keywords:  has-patch changes-requested needs-   |     Focuses:
  testing                                        |
-------------------------------------------------+-------------------------

Comment (by sayedulsayem):

 I have tested and implemented @peterwilsoncc suggestion. It works. I also
 tweaked some conditions to make it more secure like I matched post type
 with post ID. I am including the patch in this ticket. Thanks

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


More information about the wp-trac mailing list