[wp-trac] [WordPress Trac] #58014: Invalid Post ID when updating a comment in editing

WordPress Trac noreply at wordpress.org
Wed Mar 29 21:44:25 UTC 2023


#58014: Invalid Post ID when updating a comment in editing
--------------------------+------------------------------
 Reporter:  wplmillet     |       Owner:  (none)
     Type:  defect (bug)  |      Status:  new
 Priority:  normal        |   Milestone:  Awaiting Review
Component:  Comments      |     Version:  trunk
 Severity:  normal        |  Resolution:
 Keywords:                |     Focuses:
--------------------------+------------------------------
Description changed by costdev:

Old description:

> == Bug Report
> === Description
> Invalid Post ID when i update a comment
> === Environment
> - WordPress: 6.2
> - PHP: 7.4.1
> - Server: Apache/2.4.43 (Unix)
> - Database: mysqli (Server: 8.0.16 / Client: mysqlnd 7.4.1)
> - Browser: Chrome 111.0.0.0 (Linux)
> - Theme: Twenty Twenty-Three 1.1
> - Language : FR
> - MU-Plugins: None activated
> - Plugins:
>   * WordPress Beta Tester 3.3.7
> Content of the post : - the comment made in front-end on a lorem post
> created by hand no feature image.
> Content of the comment: "A test is when you are made to make little
> drawings to see if you are not crazy."
> I just try to add the word : "Really" at the end of the comment
>
> === Steps to Reproduce
> 1. Go to comments and choose a comment
> 2. Click ont Edit
> 3. Add a word
> 4. Click Update
> x.  Bug occurs.
> I have the error message : **Invalid Post ID**
> Checking the content after the error. The content has not changed.
> === Expected Results
> 1.   What should happen.
> The post must be updated and the word add
>
> === Actual Results
> 1.   What actually happened.

New description:

 == Bug Report
 === Description
 Invalid Post ID when i update a comment

 Content of the post:
  the comment made in front-end on a lorem post created by hand no feature
 image.

 Content of the comment:
  A test is when you are made to make little drawings to see if you are not
 crazy.

 I just try to add the word: "Really" at the end of the comment

 === Environment
 - WordPress: 6.2
 - PHP: 7.4.1
 - Server: Apache/2.4.43 (Unix)
 - Database: mysqli (Server: 8.0.16 / Client: mysqlnd 7.4.1)
 - Browser: Chrome 111.0.0.0 (Linux)
 - Theme: Twenty Twenty-Three 1.1
 - Language : FR
 - MU-Plugins: None activated
 - Plugins:
   * WordPress Beta Tester 3.3.7

 === Steps to Reproduce
 1. Go to `Posts > Add New` and create a new post.
 2. On the frontend, add a comment.
 3. Click `Edit`.
 4. Add a word.
 5. Click `Update`.
 x. 🐞 Bug occurs.

 === Expected Results
 1. ✅ The post must be updated and the word added.

 === Actual Results
 1. ❌ I have the error message : **Invalid Post ID**
 2. ❌ Checking the content after the error. The content has not changed.

--

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


More information about the wp-trac mailing list