WordPress.org

Make WordPress Core

Opened 8 years ago

Closed 7 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:

Description

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 8 years ago.
Patch for trunk

Download all attachments as: .zip

Change History (6)

@tenpura8 years ago

Patch for trunk

comment:1 @tenpura8 years ago

  • Type changed from enhancement to defect

comment:2 @ryan8 years ago

  • Milestone changed from 2.1 to 2.2

comment:3 @foolswisdom8 years ago

  • Milestone changed from 2.2 to 2.3

comment:4 @Nazgul7 years ago

  • Milestone changed from 2.3 to 2.4

comment:5 @westi7 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.