Make WordPress Core

Opened 8 years ago

Closed 8 years ago

Last modified 8 years ago

#35377 closed enhancement (fixed)

Add author_url to WP_Comment_Query

Reported by: dshanske's profile dshanske Owned by: boonebgorges's profile boonebgorges
Milestone: 4.5 Priority: normal
Severity: normal Version:
Component: Comments Keywords: has-patch has-unit-tests
Focuses: Cc:


Add argument to query author_url to WP_Comment_Query. I reread the code multiple times. This is not an option.

I have a different proposal to streamline the pingback_ping code, and it searches for duplicate pingbacks before accepting a new one. Using WP_Comment_Query would be superior to the direct database call currently performed.

Attachments (1)

35377.diff (3.3 KB) - added by swissspidy 8 years ago.

Download all attachments as: .zip

Change History (7)

8 years ago

#1 @swissspidy
8 years ago

  • Keywords has-patch has-unit-tests added

Is 35377.diff already enough? If you want matches using LIKE you can use the search param.

#2 @dshanske
8 years ago

That's exactly it.

#3 @boonebgorges
8 years ago

  • Milestone changed from Awaiting Review to 4.5

#4 @boonebgorges
8 years ago

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

In 36224:

Introduce 'author_url' param to WP_Comment_Query.

Props swissspidy.
Fixes #35377.

#5 @boonebgorges
8 years ago

In 36279:

Use assertEqualSets() in comment_author test.

The previous assertion was too specific, resulting in race conditions.

See #35377.

#6 @DrewAPicture
8 years ago

In 36834:

Docs: Standardize the changelog entry for the new $author_url argument, introduced in [36224].

See #35377. See #35986.

Note: See TracTickets for help on using tickets.