Commit Graph

10 Commits

Author SHA1 Message Date
John Blackbourn aa35e473f7 `callback` is not a valid type in PHP, PSR-5, or phpDocumentor. `callable` should be used instead.
Fixes #34032

Built from https://develop.svn.wordpress.org/trunk@34566


git-svn-id: http://core.svn.wordpress.org/trunk@34530 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2015-09-25 23:58:25 +00:00
Andrew Nacin 7320c14dc4 SimplePie: Fix use of DOMElement as array.
props MikeSchinkel.
fixes #25274.

Built from https://develop.svn.wordpress.org/trunk@25342


git-svn-id: http://core.svn.wordpress.org/trunk@25304 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-09-11 04:02:10 +00:00
Andrew Nacin b7b1d9e1ed SimplePie: Merge 5e046a3 from upstream. props rlerdorf, see #24210.
5e046a3e68



git-svn-id: http://core.svn.wordpress.org/trunk@24589 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-07-08 17:10:16 +00:00
Andrew Nacin 55abcb6434 SimplePie: Return nothing and throw an error in SimplePie_Sanitize when DOMDocument is disabled.
Note that when SimplePie is used through the WordPress fetch_feed() function, we use kses rather than SimplePie_Sanitize, which removes the dependency on DOMDocument. This change is only for plugins using SimplePie directly.

props rmccue. fixes #21990.



git-svn-id: http://core.svn.wordpress.org/trunk@22970 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-12-02 16:43:12 +00:00
Jon Cave 340d5815ff Remove svn:executable property from SimplePie and jcrop files
git-svn-id: http://core.svn.wordpress.org/trunk@22797 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-11-21 22:18:48 +00:00
Andrew Nacin 6f44d7c5bd SimplePie: Ensure the DOMNode::getLineNo() method exists. props rmccue. fixes #22425.
git-svn-id: http://core.svn.wordpress.org/trunk@22555 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-11-13 00:49:15 +00:00
Ryan Boren c6bbdd075c Add SimplePie/Exception.php.
Props ocean90
fixes #22321


git-svn-id: http://core.svn.wordpress.org/trunk@22469 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-11-08 19:14:53 +00:00
Ryan Boren 6c9f23bbab Update SimplePie to 1.3.1. Props rmccue, ocean90. fixes #22321
git-svn-id: http://core.svn.wordpress.org/trunk@22366 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-11-05 14:25:25 +00:00
Andrew Nacin 05bbdad540 Fix fatal error in SimplePie. see #22158.
git-svn-id: http://core.svn.wordpress.org/trunk@22169 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-10-10 21:38:10 +00:00
Andrew Nacin 405a995659 Update to SimplePie 1.3. props rmccue.
Uses individual files for each class. We now conditionally load only the pieces
we need, resulting in less memory usage. Also easier to maintain now that it is
not a single 387KB file.

fixes #21183.



git-svn-id: http://core.svn.wordpress.org/trunk@21644 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-08-28 17:24:33 +00:00