WordPress.org

Make WordPress Core

Opened 6 years ago

Closed 6 years ago

#7894 closed enhancement (fixed)

Add comment_status transition hooks

Reported by: Viper007Bond Owned by:
Milestone: 2.7 Priority: normal
Severity: normal Version: 2.7
Component: General Keywords: has-patch
Focuses: Cc:

Description

Replicated off the format of the post hooks, but for comments.

Eventually WordPress should use these hooks internally probably, but for now it'll do.

A patch for Akismet to use these hooks will be coming along soon.

Attachments (3)

7894.patch (2.9 KB) - added by Viper007Bond 6 years ago.
7894.2.patch (4.0 KB) - added by Viper007Bond 6 years ago.
Doc improvements
akismet.patch (1.6 KB) - added by Viper007Bond 6 years ago.
Have Akismet submit spam -> approved comments as ham

Download all attachments as: .zip

Change History (4)

Viper007Bond6 years ago

Viper007Bond6 years ago

Doc improvements

Viper007Bond6 years ago

Have Akismet submit spam -> approved comments as ham

comment:1 ryan6 years ago

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

(In [9195]) comment_status transition hooks from Viper007Bond. fixes #7894

Note: See TracTickets for help on using tickets.