Make WordPress Core

Opened 3 years ago

Closed 3 years ago

Last modified 3 years ago

#52808 closed enhancement (fixed)

Improve list filtering functions documentation

Reported by: ribaricplusplus's profile ribaricplusplus Owned by: sergeybiryukov's profile 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 3 years ago.

Download all attachments as: .zip

Change History (9)

#1 @SergeyBiryukov
3 years ago

  • Milestone changed from Awaiting Review to 5.8

#2 @desrosj
3 years 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
3 years ago

  • Milestone changed from 5.8 to Future Release

#4 @lukecarbis
3 years ago

  • Milestone changed from Future Release to 5.9

#5 @SergeyBiryukov
3 years ago

  • Milestone changed from 5.9 to 5.8

#6 @SergeyBiryukov
3 years 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
3 years ago

Thanks for merging :)

#8 @SergeyBiryukov
3 years ago

Thanks for the ticket and the patch! :)

Note: See TracTickets for help on using tickets.