Make WordPress Core

Opened 9 years ago

Closed 9 years ago

#33304 closed defect (bug) (fixed)

Documentation of 'wp_get_current_commenter' filter is wrong

Reported by: dimadin's profile dimadin Owned by: drewapicture's profile DrewAPicture
Milestone: 4.4 Priority: normal
Severity: normal Version:
Component: Comments Keywords: has-patch 4.4-early
Focuses: docs Cc:

Description

Documentation for this filter wrongly says that there are three parameters while there is only one, an array with them.

I used documentation for wp_insert_comment() as a base in my patch.

Introduced in [26491].

Attachments (2)

33304.patch (976 bytes) - added by dimadin 9 years ago.
33304.diff (1013 bytes) - added by wonderboymusic 9 years ago.

Download all attachments as: .zip

Change History (7)

@dimadin
9 years ago

#1 @SergeyBiryukov
9 years ago

  • Component changed from General to Comments
  • Milestone changed from Awaiting Review to Future Release

#2 @SergeyBiryukov
9 years ago

  • Keywords has-patch 4.4-early added

#3 @DrewAPicture
9 years ago

  • Owner set to DrewAPicture
  • Status changed from new to reviewing

#4 @wonderboymusic
9 years ago

  • Milestone changed from Future Release to 4.4

@wonderboymusic
9 years ago

#5 @wonderboymusic
9 years ago

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

In 33811:

Fix the doc block syntax for the 'wp_get_current_commenter' filter.

Props dimadin.
Fixes #33304.

Note: See TracTickets for help on using tickets.