Make WordPress Core

Opened 17 years ago

Closed 17 years ago

#4887 closed defect (bug) (fixed)

wp-app.php Patch

Reported by: rubys's profile rubys Owned by:
Milestone: 2.3 Priority: normal
Severity: normal Version: 2.3
Component: General Keywords: atompub
Focuses: Cc:

Description

This path was written by Pete Lacey, and QA'ed by Sam Ruby. It does the following:

  1. Removes use_quesrystring code
  2. Fixes the regex for parsing the URI path
  3. Fixes rel="self" links for pages > 1
  4. Makes last page of paginated feed contain only entries not seen on previous page
  5. Implements a content sniffing algorithm for setting type and content for Atom entry title, content, and summary elements

It also factors out the redundant code for creating an entry document and some other code cleanup.

Results of running Tim Bray's APE can be found here:

http://intertwingly.net/stories/2007/09/ape/report.html

Results of running Joe Gregorio's apptestsuite can be found here:

http://intertwingly.net/stories/2007/09/ape/apptestsuite.out

Attachments (1)

wp-app.php.patch (13.7 KB) - added by rubys 17 years ago.
Patch written by Pete Lacey

Download all attachments as: .zip

Change History (2)

@rubys
17 years ago

Patch written by Pete Lacey

#1 @ryan
17 years ago

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

(In [6004]) AtomPub fixes from Pete Lacey. fixes #4887

Note: See TracTickets for help on using tickets.