[wp-trac] [WordPress Trac] #65128: Warning on the post page.

WordPress Trac noreply at wordpress.org
Sat Apr 25 22:40:45 UTC 2026


#65128: Warning on the post page.
-----------------------------------------+------------------------------
 Reporter:  gautammkgarg                 |       Owner:  (none)
     Type:  defect (bug)                 |      Status:  new
 Priority:  normal                       |   Milestone:  Awaiting Review
Component:  Administration               |     Version:  trunk
 Severity:  normal                       |  Resolution:
 Keywords:  has-patch reporter-feedback  |     Focuses:
-----------------------------------------+------------------------------
Changes (by sabernhardt):

 * keywords:  has-patch => has-patch reporter-feedback


Comment:

 How did you access `/wp-admin/post.php`?
 1. If you followed a link, where was it?
 2. Does the URL have a query string after `post.php`?
 3. What can you accomplish on the admin page if `get_post()` returns
 `null`?
 4. Do you have any plugins active, and what is the theme?

 I tried changing a post link to a nonexistent ID (`wp-
 admin/post.php?post=55555&action=edit`), and I got an error:
 > "You attempted to edit an item that does not exist. Perhaps it was
 deleted?"

 When I tried accessing `/wp-admin/post.php` without any query string, it
 redirected me to `/wp-admin/edit.php`.

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


More information about the wp-trac mailing list