WordPress.org

Make WordPress Core

Opened 11 years ago

Closed 11 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 11 years ago.

Download all attachments as: .zip

Change History (5)

#1 @scribu
11 years ago

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

#2 follow-up: @Denis-de-Bernardy
11 years ago

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

#3 in reply to: ↑ 2 @Viper007Bond
11 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.

#4 @westi
11 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.