WordPress.org

Make WordPress Core

Opened 6 years ago

Closed 6 years ago

#5307 closed defect (bug) (fixed)

Partially back out changeset 5273, ticket 5181

Reported by: rubys Owned by: westi
Milestone: 2.5 Priority: high
Severity: major Version: 2.5
Component: General Keywords: has-patch
Focuses: Cc:

Description

2.4-bleeding has been deployed on wordpress.com which exposes a problem with the patch associated with ticket 5181. This ticket partially backs that change out until a proper fix can be made.

The root issue is that the app support and the rest of wp produce feeds differently, and in the process interpret the database differently. The app support will put HTML in $post->post_content, but the rest of wordpress assumes that the post_content contains text which, after passed through various filters, produces html. This is a subtle difference which doesn't show up immediately, but the simple presence of blank lines will cause the two to produce noticeably different results.

For app to function properly, there needs to be a way to "unfilter" (x)html, i.e., a way to reverse engineer what text would produce the equivalent of a given (x)html result after filtering. But to that proper fix will take time, so meanwhile the 2.3 functionality should be restored

Attachments (1)

backout.patch (1.6 KB) - added by rubys 6 years ago.

Download all attachments as: .zip

Change History (3)

rubys6 years ago

comment:1 josephscott6 years ago

  • Cc westi rubys josephscott added; westi rubys removed

comment:2 ryan6 years ago

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

(In [6315]) Back out some changes from #5181. Props rubys. fixes #5307

Note: See TracTickets for help on using tickets.