Make WordPress Core

Opened 5 years ago

Closed 5 years ago

#33304 closed defect (bug) (fixed)

Documentation of 'wp_get_current_commenter' filter is wrong

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


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 5 years ago.
33304.diff (1013 bytes) - added by wonderboymusic 5 years ago.

Download all attachments as: .zip

Change History (7)

5 years ago

#1 @SergeyBiryukov
5 years ago

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

#2 @SergeyBiryukov
5 years ago

  • Keywords has-patch 4.4-early added

#3 @DrewAPicture
5 years ago

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

#4 @wonderboymusic
5 years ago

  • Milestone changed from Future Release to 4.4

5 years ago

#5 @wonderboymusic
5 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.