Make WordPress Core

Opened 9 years ago

Closed 8 years ago

#3525 closed defect (bug) (fixed)

Allow plugins to preprocess fetched pingback source

Reported by: tenpura Owned by:
Milestone: 2.5 Priority: normal
Severity: normal Version: 2.1
Component: XML-RPC Keywords: has-patch i18n
Focuses: Cc:


The current code is not perfectly ready for multibyte incoming pingbacks, is it?

The hook allows us the followings (and more).

  • Sources written in encodings incompatible to preg functions like JIS can be preconverted.
  • We can implement multibyte safe text trim logic instead of the current one.
  • Input data encoding conversion will be more reliable cause we can check meta tags to detect encodings.

Attachments (1)

pre_remote_source.patch (500 bytes) - added by tenpura 9 years ago.
Patch for trunk

Download all attachments as: .zip

Change History (6)

9 years ago

Patch for trunk

#1 @tenpura
9 years ago

  • Type changed from enhancement to defect

#2 @ryan
9 years ago

  • Milestone changed from 2.1 to 2.2

#3 @foolswisdom
9 years ago

  • Milestone changed from 2.2 to 2.3

#4 @Nazgul
8 years ago

  • Milestone changed from 2.3 to 2.4

#5 @westi
8 years ago

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

(In [7296]) Allow plugins to filter the fetched pingback source data. Fixes #3525 props tenpura.

Note: See TracTickets for help on using tickets.