Make WordPress Core

Opened 15 years ago

Closed 15 years ago

Last modified 15 years ago

#9342 closed defect (bug) (invalid)

Incorrect comment status after update

Reported by: bobrik's profile bobrik Owned by: azaozz's profile azaozz
Milestone: Priority: normal
Severity: normal Version: 2.7.1
Component: Comments Keywords: dev-feedback needs-patch
Focuses: Cc:


When you change comment status via ajax interface, not via full comment edition form, you will get wrong comment_approved status from comment object.

You may see that if try to use my test plugin. It will put info to http server logs (grep by WRONG word). Try to change comment status via ajax and via full edition and see what happens.

Sorry for my English, it really bad, I know.

Attachments (1)

comment-cache.php (593 bytes) - added by bobrik 15 years ago.
Plugin to testing

Download all attachments as: .zip

Change History (6)

15 years ago

Plugin to testing

#1 @bobrik
15 years ago

  • Milestone changed from Unassigned to 2.7.2
  • Version set to 2.7.1

#2 @Denis-de-Bernardy
15 years ago

  • Component changed from Comments to JavaScript
  • Milestone changed from 2.7.2 to 2.8
  • Owner set to azaozz

#3 @Denis-de-Bernardy
15 years ago

  • Keywords changed from dev-feedback, needs-patch to dev-feedback needs-patch

#4 @hakre
15 years ago

  • Component changed from JavaScript to Comments
  • Priority changed from high to normal
  • Resolution set to invalid
  • Status changed from new to closed

The data of a commentobject in memory must noch match data in the database. This report is just invalid. Infact, hooks are called with various stati to even workaround other miss-calls of comment chagnes, comment changes with not change in comment state etc. pp.. use trac search.

#5 @Denis-de-Bernardy
15 years ago

  • Milestone 2.8 deleted
Note: See TracTickets for help on using tickets.