Commit Graph

75 Commits

Author SHA1 Message Date
westi
cdcb5859c8 Remove context from wp_feed_cache_transient_lifetime filter and filter in fetch_feed as well. Fixes #9926.
git-svn-id: http://svn.automattic.com/wordpress/trunk@11453 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-05-25 09:13:48 +00:00
markjaquith
3ebf837ced Deprecate sanitize_url() and clean_url() in favor of esc_url_raw() and esc_url()
git-svn-id: http://svn.automattic.com/wordpress/trunk@11383 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-05-18 16:00:33 +00:00
markjaquith
119b39cec2 deprecate wp_specialchars() in favor of esc_html(). Encode quotes for esc_html() as in esc_attr(), to improve plugin security.
git-svn-id: http://svn.automattic.com/wordpress/trunk@11380 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-05-18 15:11:07 +00:00
ryan
a5e73d3b9b Fix feed autodiscovery. Props peaceablewhale. fixes #9810
git-svn-id: http://svn.automattic.com/wordpress/trunk@11358 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-05-16 05:15:21 +00:00
ryan
a1f614654d Use text/xml for rss feeds for best browser compat. Props Denis-de-Bernardy. fixes #9810
git-svn-id: http://svn.automattic.com/wordpress/trunk@11334 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-05-14 21:21:31 +00:00
markjaquith
6c2ffddf31 _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: http://svn.automattic.com/wordpress/trunk@11204 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-05-05 19:43:53 +00:00
ryan
2d489767bb s/attribute_escape/attr/. see #9650
git-svn-id: http://svn.automattic.com/wordpress/trunk@11109 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-04-28 05:58:45 +00:00
ryan
7651b29cb9 Silence html_entity_decode warnings. Props Denis-de-Bernardy. fixes #9616
git-svn-id: http://svn.automattic.com/wordpress/trunk@11081 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-04-24 16:57:27 +00:00
ryan
c1e2c5a074 Remove leading newlines. Props filosofo. fixes #9096
git-svn-id: http://svn.automattic.com/wordpress/trunk@10758 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-03-10 18:25:04 +00:00
ryan
a33afa3546 Pass blog charset to html_entity_decode(). Props adferguson. fixes #7563
git-svn-id: http://svn.automattic.com/wordpress/trunk@10688 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-03-03 18:37:25 +00:00
ryan
8fb1093aad Use WordPress HTTP class for SimplePie requests. Props DD32. fixes #9247
git-svn-id: http://svn.automattic.com/wordpress/trunk@10687 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-03-03 17:41:01 +00:00
ryan
0a90b7aaf9 phpdoc for fetch_feed(). Props rmmcue. see #9198
git-svn-id: http://svn.automattic.com/wordpress/trunk@10671 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-02-28 01:50:47 +00:00
ryan
a02d6e4179 Use SimplePie for widget and dashboard feeds. First cut. see #9198
git-svn-id: http://svn.automattic.com/wordpress/trunk@10666 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-02-27 19:32:50 +00:00
azaozz
3b94be427f Fix regex in function rss_enclosure(), fixes #9192
git-svn-id: http://svn.automattic.com/wordpress/trunk@10615 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-02-21 06:14:52 +00:00
ryan
ee73ce298c Use guid instead of link for atom comment IDs. fixes #8708 for trunk
git-svn-id: http://svn.automattic.com/wordpress/trunk@10385 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-01-20 20:55:03 +00:00
azaozz
3949fb7e90 Add support for automatic feed links in themes, props Viper007Bond, see #8878
git-svn-id: http://svn.automattic.com/wordpress/trunk@10377 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-01-19 05:04:58 +00:00
ryan
2444331b6a Clean comment link. Props nbachiyski. fixes #8405 for trunk
git-svn-id: http://svn.automattic.com/wordpress/trunk@10332 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-01-08 04:31:08 +00:00
ryan
e89192b1a8 Strip trailing whitespace
git-svn-id: http://svn.automattic.com/wordpress/trunk@10150 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-12-09 18:03:31 +00:00
ryan
3a7cd006fc Use home to determine self link host
git-svn-id: http://svn.automattic.com/wordpress/trunk@9769 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-11-18 23:04:42 +00:00
markjaquith
19abe38f5a Use clean_url() in self_link(), for trunk
git-svn-id: http://svn.automattic.com/wordpress/trunk@9753 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-11-18 08:24:17 +00:00
ryan
851e47cb22 Use only one enclosure type. Props hailin. fixes #8017
git-svn-id: http://svn.automattic.com/wordpress/trunk@9501 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-11-03 20:19:38 +00:00
matt
98fbfa4acb Don't encoded category element contents - fixes #4321 and #7815.
git-svn-id: http://svn.automattic.com/wordpress/trunk@9148 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-10-14 01:08:56 +00:00
westi
95e26235ad Notice fixes see #7509 props DD32 and jacobsantos.
git-svn-id: http://svn.automattic.com/wordpress/trunk@8944 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-09-21 20:41:25 +00:00
ryan
cddfd974e0 post_password_required(). fixes #7679
git-svn-id: http://svn.automattic.com/wordpress/trunk@8800 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-09-03 19:54:14 +00:00
ryan
35b18e5034 Trailing whitespace cleanup
git-svn-id: http://svn.automattic.com/wordpress/trunk@8600 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-08-09 05:36:14 +00:00
markjaquith
74c46749cb Cast to array when using foreach(). Props santosj (and thanks for your perseverance!). fixes #2784
git-svn-id: http://svn.automattic.com/wordpress/trunk@8572 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-08-06 20:31:54 +00:00
ryan
4cd88d665a phpdoc for feed.php from jacobsantos. fixes #5636
git-svn-id: http://svn.automattic.com/wordpress/trunk@8246 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-07-03 15:23:22 +00:00
westi
77c0f608c8 Better self links for feeds. Fixes #5238 props andy.
git-svn-id: http://svn.automattic.com/wordpress/trunk@7244 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-03-11 18:18:22 +00:00
ryan
1edf014a54 s/2.4/2.5/. Props ffemtcj. fixes #5810
git-svn-id: http://svn.automattic.com/wordpress/trunk@6777 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-02-10 07:59:34 +00:00
ryan
7646d94d88 Pass 'show' argument to bloginfo_rss filters. Props tzafrir and Viper007Bond. fixes #5267
git-svn-id: http://svn.automattic.com/wordpress/trunk@6750 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-02-07 18:01:33 +00:00
markjaquith
5b22db23d1 Make RSS 2.0 comment feed GUIDs immutable. fixes #5072
git-svn-id: http://svn.automattic.com/wordpress/trunk@6742 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-02-06 22:33:21 +00:00
ryan
d88983793b Trailing whitespace cleanup
git-svn-id: http://svn.automattic.com/wordpress/trunk@6726 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-02-05 06:47:27 +00:00
ryan
8263948a96 Some notice fixes from Nazgul. fixes #3155
git-svn-id: http://svn.automattic.com/wordpress/trunk@6711 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-02-02 18:42:09 +00:00
westi
bce8c48d72 Deprecate comments_rss and create_user.
git-svn-id: http://svn.automattic.com/wordpress/trunk@6517 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-12-28 21:47:54 +00:00
westi
c04f475479 Better documentation for prep_atom_text_construct props darkdragon
git-svn-id: http://svn.automattic.com/wordpress/trunk@6516 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-12-28 21:21:50 +00:00
ryan
83afcae858 New feed_link functions. Deprecate rss_link functions. Make default feed pluggable. Props rubys. see #5328
git-svn-id: http://svn.automattic.com/wordpress/trunk@6365 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-12-06 19:58:15 +00:00
ryan
028a159440 Remove unused vars. Props DD32. see #5418
git-svn-id: http://svn.automattic.com/wordpress/trunk@6364 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-12-06 19:49:33 +00:00
ryan
fc31e5395b phpdoc for get_category_feed_link(). see #5173
git-svn-id: http://svn.automattic.com/wordpress/trunk@6328 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-11-09 20:31:24 +00:00
ryan
17b0fbab7a get_category_feed_link() from ionfish. fixes #5173
git-svn-id: http://svn.automattic.com/wordpress/trunk@6327 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-11-09 20:12:04 +00:00
westi
5e0cf58bfb Add @since to the new phpdoc relates #5181 and [6273]
git-svn-id: http://svn.automattic.com/wordpress/trunk@6274 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-10-19 16:27:09 +00:00
westi
4c7bfb6a4f Refactor atom support to share code. Fixes #5181 props rubys
git-svn-id: http://svn.automattic.com/wordpress/trunk@6273 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-10-19 15:42:30 +00:00
ryan
9bfccd6286 Add checks for WP_Error. Props filosofo. see #4809
git-svn-id: http://svn.automattic.com/wordpress/trunk@6125 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-09-18 16:32:22 +00:00
ryan
ec182d74a6 Deprecate fakeit arg. Props Nazgul. fixes #4439
git-svn-id: http://svn.automattic.com/wordpress/trunk@6114 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-09-13 21:27:26 +00:00
markjaquith
ec6416ec0b fix links generated by get_category_rss_link(). props gwagenknecht. fixes #4550 for trunk
git-svn-id: http://svn.automattic.com/wordpress/trunk@6100 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-09-12 22:24:28 +00:00
ryan
321c310717 Remove trailing whitespace
git-svn-id: http://svn.automattic.com/wordpress/trunk@6026 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-09-03 23:32:58 +00:00
ryan
87c4f3a17f Strip lines that contain only whitespace down to newlines.
git-svn-id: http://svn.automattic.com/wordpress/trunk@6025 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-09-03 23:19:20 +00:00
westi
7612bc20b1 Fix RDF feeds to not contain invalid tag "category". Fixed #4643 props kztk
git-svn-id: http://svn.automattic.com/wordpress/trunk@6001 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-09-01 08:33:08 +00:00
ryan
a43e37b8a1 get_tag() and get_tag_feed_link()
git-svn-id: http://svn.automattic.com/wordpress/trunk@6000 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-09-01 04:43:27 +00:00
ryan
395ee1acad Include tags in feeds. fixes #4537
git-svn-id: http://svn.automattic.com/wordpress/trunk@5979 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-08-29 21:10:20 +00:00
ryan
9b395107f4 Deprecate permalink_single_rss(). Add the_permalink_rss() with accompanying filter. Props joostdevalk and Otto42. fixes #4654
git-svn-id: http://svn.automattic.com/wordpress/trunk@5910 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-08-21 18:27:45 +00:00