Commit Graph

46 Commits

Author SHA1 Message Date
Andrew Nacin dfcf4b5eae Better validation of the URL used in core HTTP requests.
git-svn-id: https://develop.svn.wordpress.org/trunk@24480 602fd350-edb4-49c9-b593-d223f7449a82
2013-06-21 06:07:47 +00:00
Helen Hou-Sandi 1303e7377a its <=> it's in documentation, along with a rogue the, The, and looses. props trepmal. fixes #22665.
git-svn-id: https://develop.svn.wordpress.org/trunk@23191 602fd350-edb4-49c9-b593-d223f7449a82
2012-12-20 15:55:32 +00:00
Ryan Boren 2b186b0c45 Lose EOF ?>. Clean up EOF newlines. fixes #12307
git-svn-id: https://develop.svn.wordpress.org/trunk@19712 602fd350-edb4-49c9-b593-d223f7449a82
2012-01-08 17:01:11 +00:00
Ryan Boren 5e76729992 One newline is enough.
git-svn-id: https://develop.svn.wordpress.org/trunk@19684 602fd350-edb4-49c9-b593-d223f7449a82
2012-01-05 20:10:39 +00:00
Ryan Boren cb374258bb Remove extraneuos newlines
git-svn-id: https://develop.svn.wordpress.org/trunk@19623 602fd350-edb4-49c9-b593-d223f7449a82
2011-12-21 18:42:11 +00:00
Andrew Nacin 02e8db225f Use wp_remote_retrieve_* helper functions instead of the raw HTTP response array. props aaroncampbell, fixes #17416.
git-svn-id: https://develop.svn.wordpress.org/trunk@17928 602fd350-edb4-49c9-b593-d223f7449a82
2011-05-14 19:45:07 +00:00
Andrew Nacin 18edc09e6a More @since. props SergeyBiryukov, fixes #15445.
git-svn-id: https://develop.svn.wordpress.org/trunk@17071 602fd350-edb4-49c9-b593-d223f7449a82
2010-12-20 09:25:21 +00:00
Andrew Nacin e07a1d59c6 Use esc_html. Ancient, deprecated functions, but a valid fix nonetheless. fixes #14199.
git-svn-id: https://develop.svn.wordpress.org/trunk@16031 602fd350-edb4-49c9-b593-d223f7449a82
2010-10-28 06:30:59 +00:00
Dion Hulse bc64064f82 Fix WP_HTTP -> Snoopy Compat layer for Magpie RSS. Fixes #12045
git-svn-id: https://develop.svn.wordpress.org/trunk@13848 602fd350-edb4-49c9-b593-d223f7449a82
2010-03-28 00:33:25 +00:00
Mark Jaquith 8bca8131a6 More pedantry. "Setup" is not a verb. http://notaverb.com/setup
git-svn-id: https://develop.svn.wordpress.org/trunk@13725 602fd350-edb4-49c9-b593-d223f7449a82
2010-03-17 04:39:50 +00:00
Dion Hulse 4011b3d4a8 Remove unused references to global $wpdb
git-svn-id: https://develop.svn.wordpress.org/trunk@13240 602fd350-edb4-49c9-b593-d223f7449a82
2010-02-20 00:50:29 +00:00
Ryan Boren 56c9c4c527 Deprecate magpie. Props nacin. fixes #11982
git-svn-id: https://develop.svn.wordpress.org/trunk@12822 602fd350-edb4-49c9-b593-d223f7449a82
2010-01-25 18:37:05 +00:00
Mark Jaquith ba1c3bdd5b Deprecate sanitize_url() and clean_url() in favor of esc_url_raw() and esc_url()
git-svn-id: https://develop.svn.wordpress.org/trunk@11383 602fd350-edb4-49c9-b593-d223f7449a82
2009-05-18 16:00:33 +00:00
Mark Jaquith c638e8d8de _a(), _ea(), _xa(), attr() are now esc_attr__(), esc_attr_e(), esc_attr_x(), esc_attr() -- still short, but less cryptic. see #9650
git-svn-id: https://develop.svn.wordpress.org/trunk@11204 602fd350-edb4-49c9-b593-d223f7449a82
2009-05-05 19:43:53 +00:00
Ryan Boren fe7c34b6fd s/attribute_escape/attr/. see #9650
git-svn-id: https://develop.svn.wordpress.org/trunk@11109 602fd350-edb4-49c9-b593-d223f7449a82
2009-04-28 05:58:45 +00:00
Ryan Boren ae16b19350 Fix PHP error in magpie. Props jsixpack. fixes #9225
git-svn-id: https://develop.svn.wordpress.org/trunk@11016 602fd350-edb4-49c9-b593-d223f7449a82
2009-04-20 19:37:29 +00:00
Ryan Boren 999851f2cb Add expiration for transients
git-svn-id: https://develop.svn.wordpress.org/trunk@10603 602fd350-edb4-49c9-b593-d223f7449a82
2009-02-20 02:23:11 +00:00
Ryan Boren cb96fac899 Cookie support for HTTP API. Props beaulebens. fixes #9049 #9037 #8727
git-svn-id: https://develop.svn.wordpress.org/trunk@10512 602fd350-edb4-49c9-b593-d223f7449a82
2009-02-05 21:59:37 +00:00
Ryan Boren c34a272b1e Revert 10507. Had extra bits in. see #8702
git-svn-id: https://develop.svn.wordpress.org/trunk@10508 602fd350-edb4-49c9-b593-d223f7449a82
2009-02-05 20:47:30 +00:00
Ryan Boren c0ece11af5 HTTP API updates and fixes. Props sivel. see #8702
git-svn-id: https://develop.svn.wordpress.org/trunk@10507 602fd350-edb4-49c9-b593-d223f7449a82
2009-02-05 20:46:39 +00:00
Ryan Boren baaaa352ba Strip trailing whitespace
git-svn-id: https://develop.svn.wordpress.org/trunk@10150 602fd350-edb4-49c9-b593-d223f7449a82
2008-12-09 18:03:31 +00:00
Ryan Boren 3a7e85c5ec Notice fixes. Props DD32. see #7509
git-svn-id: https://develop.svn.wordpress.org/trunk@9714 602fd350-edb4-49c9-b593-d223f7449a82
2008-11-15 17:56:44 +00:00
Ryan Boren 2dc15c5a81 Notice fixes from DD32. see #7509
git-svn-id: https://develop.svn.wordpress.org/trunk@9699 602fd350-edb4-49c9-b593-d223f7449a82
2008-11-14 23:01:16 +00:00
Ryan Boren 439f03f597 Fix notice. fixes #8082
git-svn-id: https://develop.svn.wordpress.org/trunk@9554 602fd350-edb4-49c9-b593-d223f7449a82
2008-11-06 20:24:29 +00:00
Ryan Boren 74db484ec4 Port Magpie from Snoopy to WP HTTP Request API. fixes #8082
git-svn-id: https://develop.svn.wordpress.org/trunk@9553 602fd350-edb4-49c9-b593-d223f7449a82
2008-11-06 19:06:43 +00:00
Ryan Boren b406bec607 phpdoc corrections from jacobsantos. see #7918
git-svn-id: https://develop.svn.wordpress.org/trunk@9243 602fd350-edb4-49c9-b593-d223f7449a82
2008-10-18 20:46:30 +00:00
Peter Westwood 047ec90dee phpDoc corrections for wp-includes. See #7550 props jacobsantos.
git-svn-id: https://develop.svn.wordpress.org/trunk@8782 602fd350-edb4-49c9-b593-d223f7449a82
2008-08-30 21:23:43 +00:00
Mark Jaquith 3cab99fbd2 Cast to array when using foreach(). Props santosj (and thanks for your perseverance!). fixes #2784
git-svn-id: https://develop.svn.wordpress.org/trunk@8572 602fd350-edb4-49c9-b593-d223f7449a82
2008-08-06 20:31:54 +00:00
Peter Westwood c8c3da8f81 Allow a plugin to change the filter the magpie user agent string. Fixes #7085 props JohnLamansky.
git-svn-id: https://develop.svn.wordpress.org/trunk@8503 602fd350-edb4-49c9-b593-d223f7449a82
2008-07-30 07:04:57 +00:00
Ryan Boren 6cc11cbf1e Allow wp-content to exist outside of webroot. Props sambauers. see #6938
git-svn-id: https://develop.svn.wordpress.org/trunk@7999 602fd350-edb4-49c9-b593-d223f7449a82
2008-05-27 17:55:24 +00:00
Ryan Boren f5564e74c8 phpdoc tuneup from darkdragon. see #5611
git-svn-id: https://develop.svn.wordpress.org/trunk@6585 602fd350-edb4-49c9-b593-d223f7449a82
2008-01-09 17:48:00 +00:00
Mark Jaquith 00a44f580a prepare(), insert(), update() for wp-includes/ taxonomy.php, rss.php, registration.php
git-svn-id: https://develop.svn.wordpress.org/trunk@6241 602fd350-edb4-49c9-b593-d223f7449a82
2007-10-13 03:51:11 +00:00
Ryan Boren 7a43c01e08 Remove trailing whitespace
git-svn-id: https://develop.svn.wordpress.org/trunk@6026 602fd350-edb4-49c9-b593-d223f7449a82
2007-09-03 23:32:58 +00:00
Ryan Boren e9391140a7 Strip lines that contain only whitespace down to newlines.
git-svn-id: https://develop.svn.wordpress.org/trunk@6025 602fd350-edb4-49c9-b593-d223f7449a82
2007-09-03 23:19:20 +00:00
Mark Jaquith c441bc3d96 globalize wp_version so Magpie can use it. props Nazgul, hakre. fixes #3996
git-svn-id: https://develop.svn.wordpress.org/trunk@5859 602fd350-edb4-49c9-b593-d223f7449a82
2007-08-10 08:07:53 +00:00
Mark Jaquith e86bf7e19f function_exists() wrapper around fetch_rss() to allow for plugin replacement. Props Otto42. see #4547
git-svn-id: https://develop.svn.wordpress.org/trunk@5845 602fd350-edb4-49c9-b593-d223f7449a82
2007-08-03 01:39:36 +00:00
Mark Jaquith 408ad189aa Make it possible for a plugin to replace the feed-parsing engine. see: #4547
git-svn-id: https://develop.svn.wordpress.org/trunk@5776 602fd350-edb4-49c9-b593-d223f7449a82
2007-07-03 18:10:20 +00:00
rob1n 60794fc8e2 wp_rss() updates. fixes #3834
git-svn-id: https://develop.svn.wordpress.org/trunk@5698 602fd350-edb4-49c9-b593-d223f7449a82
2007-06-13 17:23:38 +00:00
rob1n b724739d74 Housekeeping -- a misspelling.
git-svn-id: https://develop.svn.wordpress.org/trunk@5312 602fd350-edb4-49c9-b593-d223f7449a82
2007-04-25 03:14:11 +00:00
Ryan Boren e125d88b54 Fix parse_w3cdtf. Props mortenf. fixes #3896
git-svn-id: https://develop.svn.wordpress.org/trunk@4997 602fd350-edb4-49c9-b593-d223f7449a82
2007-03-07 17:04:03 +00:00
Ryan Boren e72325a22a Fix typos in get_rss(). Props zuzara. fixes #3527
git-svn-id: https://develop.svn.wordpress.org/trunk@4718 602fd350-edb4-49c9-b593-d223f7449a82
2007-01-11 03:21:35 +00:00
Ryan Boren e44ea1ff93 Remove trailing spaces and convert spaces to tabs. Props Nazgul. fixes #986
git-svn-id: https://develop.svn.wordpress.org/trunk@4495 602fd350-edb4-49c9-b593-d223f7449a82
2006-11-19 07:56:05 +00:00
Mark Jaquith 1fd9b76d11 SimplePie patch not ready for prime time. Need it to be a drop-in solution. Reverting to MagpieRSS for now.
git-svn-id: https://develop.svn.wordpress.org/trunk@4399 602fd350-edb4-49c9-b593-d223f7449a82
2006-10-16 04:16:06 +00:00
Mark Jaquith ef830b334c Point to renamed SimplePie file
git-svn-id: https://develop.svn.wordpress.org/trunk@4391 602fd350-edb4-49c9-b593-d223f7449a82
2006-10-13 10:20:18 +00:00
Mark Jaquith c52c908248 The changing of the pies. Now using SimplePie. props to gsnedders. fixes #2864
git-svn-id: https://develop.svn.wordpress.org/trunk@4378 602fd350-edb4-49c9-b593-d223f7449a82
2006-10-11 23:03:17 +00:00
Ryan Boren 216546a0b8 Include file renames. #2525
git-svn-id: https://develop.svn.wordpress.org/trunk@3862 602fd350-edb4-49c9-b593-d223f7449a82
2006-06-11 06:43:54 +00:00