Commit Graph

37 Commits

Author SHA1 Message Date
Andrew Nacin c2ad4403de Don't return encoded ampersands from get_post_comments_feed_link() to avoid canonical redirect issues. Apply esc_url() when appropriate.
props markjaquith, SergeyBiryukov. fixes #21841.



git-svn-id: https://develop.svn.wordpress.org/trunk@22431 602fd350-edb4-49c9-b593-d223f7449a82
2012-11-07 19:56:10 +00:00
Ryan Boren d3281725ec Use get_search_query() in feed-rss2-comments.php. Props SergeyBiryukov. fixes #21365
git-svn-id: https://develop.svn.wordpress.org/trunk@21332 602fd350-edb4-49c9-b593-d223f7449a82
2012-07-25 18:04:17 +00:00
Andrew Nacin 75b11699c1 Use the site's locale for the feed language. Provides the same result as language_attributes(). Removes the rss_language option. fixes #13440. see #5517.
git-svn-id: https://develop.svn.wordpress.org/trunk@19784 602fd350-edb4-49c9-b593-d223f7449a82
2012-01-29 19:56:33 +00:00
Peter Westwood 442590c211 Set up the post global variable in the comment feed loops so that any calls to post related template tags work correctly.
Ensures that atom feeds show threading for top-level comments correctly.
Fixes #14908 props solarissmoke and SergeyBiryukov.

git-svn-id: https://develop.svn.wordpress.org/trunk@18716 602fd350-edb4-49c9-b593-d223f7449a82
2011-09-19 12:39:59 +00:00
Peter Westwood de09357409 Some more url escaping in feeds. See #13555.
git-svn-id: https://develop.svn.wordpress.org/trunk@14950 602fd350-edb4-49c9-b593-d223f7449a82
2010-05-26 17:47:29 +00:00
Peter Westwood 31be303930 Move the escaping into get_guid() so we don't have to repeat ourselves. See #13555.
git-svn-id: https://develop.svn.wordpress.org/trunk@14949 602fd350-edb4-49c9-b593-d223f7449a82
2010-05-26 17:27:18 +00:00
Peter Westwood 41a560ec0b Escape the guid urls when placing them in feeds and other xml locations. See #13555.
git-svn-id: https://develop.svn.wordpress.org/trunk@14947 602fd350-edb4-49c9-b593-d223f7449a82
2010-05-26 17:01:21 +00:00
Andrew Nacin ebd39b1233 Have get_search_query() escape by default, like it's echoing counterpart the_search_query(). see #12780
git-svn-id: https://develop.svn.wordpress.org/trunk@13978 602fd350-edb4-49c9-b593-d223f7449a82
2010-04-03 23:38:38 +00:00
Peter Westwood 1600c4610f Add the generator element in feeds through the {rss2|atom|rdf|rss|opml}_head hooks. Fixes #6947 props sivel.
git-svn-id: https://develop.svn.wordpress.org/trunk@13113 602fd350-edb4-49c9-b593-d223f7449a82
2010-02-13 16:45:16 +00:00
Ryan Boren 2e46e81309 i18n fixes. Props nbachiyski. fixes #11954
git-svn-id: https://develop.svn.wordpress.org/trunk@12789 602fd350-edb4-49c9-b593-d223f7449a82
2010-01-21 21:37:43 +00:00
Ryan Boren 974b6c1ce4 Introduce home_url(). Props Denis-de-Bernardy, hakre. see #9008
git-svn-id: https://develop.svn.wordpress.org/trunk@12598 602fd350-edb4-49c9-b593-d223f7449a82
2010-01-04 17:23:29 +00:00
Peter Westwood c38846defd Use _deprecated_argument() in get_bloginfo() and then don't pass deprecated argument to get_bloginfo(). Fixes #11652 props nacin.
git-svn-id: https://develop.svn.wordpress.org/trunk@12587 602fd350-edb4-49c9-b593-d223f7449a82
2009-12-30 17:05:02 +00:00
Ryan Boren c4f78ad63a Don't localize dates where not appropriate. Props Denis-de-Bernardy, hakre. fixes #9730
git-svn-id: https://develop.svn.wordpress.org/trunk@11323 602fd350-edb4-49c9-b593-d223f7449a82
2009-05-14 02:00:32 +00:00
Ryan Boren 2786a02afe Feed namespace hooks. Props Denis-de-Bernardy, peaceablewhale. fixes #9792
git-svn-id: https://develop.svn.wordpress.org/trunk@11303 602fd350-edb4-49c9-b593-d223f7449a82
2009-05-12 16:57:49 +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 12c7093645 Trailing whitespace cleanup
git-svn-id: https://develop.svn.wordpress.org/trunk@11013 602fd350-edb4-49c9-b593-d223f7449a82
2009-04-20 18:18:39 +00:00
Ryan Boren ece424d95e Add comments_atom_head action. Props neoxx, Denis-de-Bernardy. fixes #6186
git-svn-id: https://develop.svn.wordpress.org/trunk@10984 602fd350-edb4-49c9-b593-d223f7449a82
2009-04-17 07:09:06 +00:00
Ryan Boren 9dbfa279af Use guid instead of link for atom comment IDs. fixes #8708 for trunk
git-svn-id: https://develop.svn.wordpress.org/trunk@10385 602fd350-edb4-49c9-b593-d223f7449a82
2009-01-20 20:55:03 +00:00
Andrew Ozz 19577d0a8d Add support for automatic feed links in themes, props Viper007Bond, see #8878
git-svn-id: https://develop.svn.wordpress.org/trunk@10377 602fd350-edb4-49c9-b593-d223f7449a82
2009-01-19 05:04:58 +00:00
Ryan Boren ea7be8d5c0 Add thread xmlns. Props neoxx. fixes #8626 for trunk
git-svn-id: https://develop.svn.wordpress.org/trunk@10215 602fd350-edb4-49c9-b593-d223f7449a82
2008-12-17 00:14:58 +00:00
Ryan Boren f6b6123c0b ref not rel. Props oddthinking. fixes #8292
git-svn-id: https://develop.svn.wordpress.org/trunk@10164 602fd350-edb4-49c9-b593-d223f7449a82
2008-12-10 05:51:56 +00:00
Ryan Boren a425539641 No named entities in comment feeds. Props nbachiyski. fixes #8464
git-svn-id: https://develop.svn.wordpress.org/trunk@10036 602fd350-edb4-49c9-b593-d223f7449a82
2008-12-04 17:47:50 +00:00
Ryan Boren 092cb9b2ce Use post_password_required()
git-svn-id: https://develop.svn.wordpress.org/trunk@9819 602fd350-edb4-49c9-b593-d223f7449a82
2008-11-20 19:10:31 +00:00
Ryan Boren 2310bf2ab6 Add threaded comment info to atom feed. Props dtsn. fixes #8292
git-svn-id: https://develop.svn.wordpress.org/trunk@9818 602fd350-edb4-49c9-b593-d223f7449a82
2008-11-20 19:08:41 +00:00
Ryan Boren a5dc076a88 Improve metadata for atom comment search feeds. Props ionfish. fixes #5493
git-svn-id: https://develop.svn.wordpress.org/trunk@6819 602fd350-edb4-49c9-b593-d223f7449a82
2008-02-13 18:29:10 +00:00
Ryan Boren 3a18b96c9b Trailing whitespace cleanup
git-svn-id: https://develop.svn.wordpress.org/trunk@6726 602fd350-edb4-49c9-b593-d223f7449a82
2008-02-05 06:47:27 +00:00
Ryan Boren ac09012f47 Some file level phpdoc from darkdragon. fixes #5527
git-svn-id: https://develop.svn.wordpress.org/trunk@6493 602fd350-edb4-49c9-b593-d223f7449a82
2007-12-25 20:48:01 +00:00
Ryan Boren c15c27ec2c Fix id, self link and alternate link in Atom comment feeds. Props ionfish. fixes #5435
git-svn-id: https://develop.svn.wordpress.org/trunk@6414 602fd350-edb4-49c9-b593-d223f7449a82
2007-12-19 18:25:22 +00:00
Peter Westwood 3c2cc79a46 Centralise generator generation, move theme generator generation to wp-head hook. Fixes #5085, #4803. props docwhat, Viper007Bond.
git-svn-id: https://develop.svn.wordpress.org/trunk@6195 602fd350-edb4-49c9-b593-d223f7449a82
2007-10-06 06:55:24 +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 72be6cb001 Move the_title filter to get_the_title. Props jhodgdon. fixes #4477
git-svn-id: https://develop.svn.wordpress.org/trunk@5752 602fd350-edb4-49c9-b593-d223f7449a82
2007-06-25 17:48:35 +00:00
Mark Jaquith 3cc7b4cbe3 correct "type" in Atom comments feed alternate links. fixes #4381 for trunk
git-svn-id: https://develop.svn.wordpress.org/trunk@5617 602fd350-edb4-49c9-b593-d223f7449a82
2007-05-31 22:13:06 +00:00
rob1n ab415652d9 Fix some attribute misnamings. Props Erunafailaro. fixes #4274
git-svn-id: https://develop.svn.wordpress.org/trunk@5483 602fd350-edb4-49c9-b593-d223f7449a82
2007-05-16 17:37:55 +00:00
Mark Jaquith 5acfcd9fea trailing tabs and whitespace cleanup.
git-svn-id: https://develop.svn.wordpress.org/trunk@4953 602fd350-edb4-49c9-b593-d223f7449a82
2007-02-27 15:24:54 +00:00
Ryan Boren 2f191b4b56 Comment feeds everywhere. Props mdawaffe and rob1n. fixes #2485
git-svn-id: https://develop.svn.wordpress.org/trunk@4934 602fd350-edb4-49c9-b593-d223f7449a82
2007-02-24 07:33:29 +00:00
Ryan Boren 6c6458f7c9 Atom comments feed. First pass. Props kurtmckee and rob1n. fixes #1785
git-svn-id: https://develop.svn.wordpress.org/trunk@4928 602fd350-edb4-49c9-b593-d223f7449a82
2007-02-23 08:18:30 +00:00