Make WordPress Core

Opened 6 months ago

Closed 4 months ago

Last modified 4 months ago

#52808 closed enhancement (fixed)

Improve list filtering functions documentation

Reported by: ribaricplusplus Owned by: SergeyBiryukov
Milestone: 5.8 Priority: normal
Severity: minor Version:
Component: General Keywords: has-patch
Focuses: docs Cc:


Creating this ticket as a "pull request" for some minor documentation improvements for wp_filter_object_list and wp_list_filter to make it more obvious what they do without reading code.

Attachments (1)

52808.diff (2.2 KB) - added by ribaricplusplus 6 months ago.

Download all attachments as: .zip

Change History (9)

#1 @SergeyBiryukov
6 months ago

  • Milestone changed from Awaiting Review to 5.8

#2 @desrosj
4 months ago

Hi @ribaricplusplus,

Thanks for this patch! My apologies that this one has not received a review yet. Today is feature freeze for WordPress 5.8. I'm going to leave this in the milestone because it only touches inline documentation. Changes to documentation can be made up until the RC phase of the cycle. If this doesn't receive attention in the next week, we'll punt it to 5.9 and address it in the next release.

#3 @lukecarbis
4 months ago

  • Milestone changed from 5.8 to Future Release

#4 @lukecarbis
4 months ago

  • Milestone changed from Future Release to 5.9

#5 @SergeyBiryukov
4 months ago

  • Milestone changed from 5.9 to 5.8

#6 @SergeyBiryukov
4 months ago

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

In 51044:

Docs: Improve documentation for wp_list_filter() and wp_filter_object_list().

This should make the purpose and behavior of these functions more obvious without reading the code.

Props ribaricplusplus.
Fixes #52808.

#7 @ribaricplusplus
4 months ago

Thanks for merging :)

#8 @SergeyBiryukov
4 months ago

Thanks for the ticket and the patch! :)

Note: See TracTickets for help on using tickets.