WordPress.org

Make WordPress Core

#23940 closed defect (bug) (fixed)

Avoid direct query in wp_ajax_replyto_comment()

Reported by: nacin Owned by: nacin
Milestone: 3.6 Priority: normal
Severity: normal Version:
Component: General Keywords:
Focuses: Cc:

Description

We can simply use get_post() here.

Change History (1)

comment:1 nacin13 months ago

  • Owner set to nacin
  • Resolution set to fixed
  • Status changed from new to closed

In 23907:

Use get_post() in lieu of direct query in wp_ajax_replyto_comment(). fixes #23940.

Note: See TracTickets for help on using tickets.