Make WordPress Core

Opened 9 years ago

Closed 8 years ago

Last modified 8 years ago

#43679 closed enhancement (fixed)

Add $this to found_users_query filter

Reported by: spacedmonkey Owned by: SergeyBiryukov
Priority: normal Milestone: 5.1
Component: Users Version: 3.2
Severity: normal Keywords: has-patch
Cc: Focuses:

Description

Add more context to the found_users_query filter, by adding this to the filter.

Attachments (2)

43679.diff​ (823 bytes ) - added by spacedmonkey 9 years ago.
43679.2.diff​ (993 bytes ) - added by spacedmonkey 9 years ago.

Download all attachments as: .zip

Change History (11)

#1 @SergeyBiryukov
9 years ago

  • Milestone Awaiting Review → 5.0

#2 @danieltj
9 years ago

  • Keywords needs-refresh added

The patch needs a refresh to indent the doc-block items properly so they align as per WPCS.

#3 @spacedmonkey
9 years ago

  • Keywords needs-refresh removed

@danieltj Thanks for the feedback. I have updated the patch, to improve the docs.

#4 @SergeyBiryukov
8 years ago

  • Milestone 5.0 → 4.9.9
  • Owner set to SergeyBiryukov
  • Status new → reviewing

#5 @SergeyBiryukov
8 years ago

  • Resolution → fixed
  • Status reviewing → closed

In 43660:

Users: Pass the current WP_User_Query instance to found_users_query filter.

Props spacedmonkey.
Fixes #43679.

#6 @SergeyBiryukov
8 years ago

  • Keywords fixed-major added
  • Resolution fixed
  • Status closed → reopened

Reopening for 4.9.9 consideration.

#7 @pento
8 years ago

  • Keywords fixed-major removed
  • Milestone 4.9.9 → 5.1

Moving to 5.1, comment added in [43660] needs to be updated.

#8 @SergeyBiryukov
8 years ago

  • Resolution → fixed
  • Status reopened → closed

In 44348:

Docs: Update @since tag for the WP_User_Query instance added to found_users_query filter in [43660].

Fixes #43679.

#9 @SergeyBiryukov
8 years ago

In 44410:

Docs: Correct @since tag for users_pre_query filter added in [44373].

Revert unintended change to the @since tag for the WP_User_Query instance added to found_users_query filter in [43660].

See #44169, #43679.

Note: See TracTickets for help on using tickets.