WordPress.org

Make WordPress Core

Opened 6 years ago

Closed 6 years ago

#11317 closed enhancement (fixed)

New Pingback User Agent Filter

Reported by: mtdewvirus Owned by: ryan
Milestone: 2.9 Priority: normal
Severity: normal Version: 2.9
Component: Pings/Trackbacks Keywords: has-patch pingback
Focuses: Cc:

Description

Add a filter so the user agent can be filtered when sending pingbacks.

Attachments (1)

pingback-useragent-filter.diff (574 bytes) - added by mtdewvirus 6 years ago.

Download all attachments as: .zip

Change History (5)

comment:1 @scribu6 years ago

  • Keywords changed from has-patch,pingback to has-patch pingback

comment:2 follow-up: @Denis-de-Bernardy6 years ago

you should actually be able to change this using the hooks in the http API

comment:3 in reply to: ↑ 2 @Viper007Bond6 years ago

Replying to Denis-de-Bernardy:

you should actually be able to change this using the hooks in the http API

But you wouldn't have access to the variables that are supplied to this filter, would you? HTTP API filters probably allow for global changing, but not conditional changing.

comment:4 @westi6 years ago

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

(In [12321]) Allow plugins to filter the UserAgent used for PingBack requests. Fixes #11317 props mtdewvirus.

Note: See TracTickets for help on using tickets.