Tracker *Defect Feature Request
Subject *
Description *The SP function "merge_items" located at line 3010 in SP111 sorts items by calling the function "sort_items" statically, preventing "sort_items" from being overridden for a custom sort by extending the SP class. To fix this, you need to replace "SimplePie" with "&$this" on line 3039 in SP111: 3039 usort($items, array('SimplePie', 'sort_items')); should be: 3039 usort($items, array(&$this, 'sort_items')); Also in the "get_items" function on line 2909 in SP111 the function "merge_items" is also called statically so its not possible to override that either by extending the SP class. It must be modified in the same way to allow it to be overridden. 2913 return SimplePie::merge_items($this->multifeed_objects, $start, $end, $this->item_limit); should be: 2913 return $this->merge_items($this->multifeed_objects, $start, $end, $this->item_limit);
Status *Unconfirmed
Priority *Low Medium High Regression Release Critical
Assigned to Geoffrey Sneddon Michael Shipley Ryan McCue Ryan Parman Steve Minutillo
Category Autodiscovery Cache Compatibility Test Data Access Data Input Date Parsing Enclosures Error Handling HTML HTTP IRI Handling Miscellaneous Parser Sanitizer
Target version 1.0 1.0.1 1.1 1.1.1 1.1.2 1.1.3 1.2 1.2.1 1.3
Start
Due date
Estimated time Hours
% Done0 % 10 % 20 % 30 % 40 % 50 % 60 % 70 % 80 % 90 % 100 %
Affected Version *1.1.2 1.1.3 1.1 branch trunk 1.2
PHP Version *
mbstring enabled
iconv enabled
cURL enabled
zlib enabled
Files Optional description Add another file (Maximum size: 5 MB)