Commit Graph

121 Commits

Author SHA1 Message Date
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
f0336cfa7d deprecate wp_specialchars() in favor of esc_html(). Encode quotes for esc_html() as in esc_attr(), to improve plugin security.
git-svn-id: https://develop.svn.wordpress.org/trunk@11380 602fd350-edb4-49c9-b593-d223f7449a82
2009-05-18 15:11:07 +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
4cbec5b34a Notice fix. Props mrmist. fixes #8446
git-svn-id: https://develop.svn.wordpress.org/trunk@11316 602fd350-edb4-49c9-b593-d223f7449a82
2009-05-13 19:04:26 +00:00
Ryan Boren
5df6a6ad9d Use IDs instead of slugs in CSS classes ro avoid invalid class names. Props hakre. fixes #8446
git-svn-id: https://develop.svn.wordpress.org/trunk@11306 602fd350-edb4-49c9-b593-d223f7449a82
2009-05-12 17:11:57 +00:00
Peter Westwood
a99e78ba1e Filter out blank urls for commentors. Fixes #5789.
git-svn-id: https://develop.svn.wordpress.org/trunk@11249 602fd350-edb4-49c9-b593-d223f7449a82
2009-05-10 07:26:30 +00:00
Peter Westwood
1ac5aa671c Decode the commenters name why looking up un-moderated comments. Fixes #6992.
git-svn-id: https://develop.svn.wordpress.org/trunk@11220 602fd350-edb4-49c9-b593-d223f7449a82
2009-05-06 20:24:57 +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
7af4f1b84d Add comment-reply-login class. Props mattwalters. fixes #8633
git-svn-id: https://develop.svn.wordpress.org/trunk@11060 602fd350-edb4-49c9-b593-d223f7449a82
2009-04-22 21:27:07 +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
7908795548 Add some CYA clean_url()s
git-svn-id: https://develop.svn.wordpress.org/trunk@11011 602fd350-edb4-49c9-b593-d223f7449a82
2009-04-20 17:46:46 +00:00
Ryan Boren
1c97a58522 Use comments_open() and pings_open(). Props coffee2code. fixes #9557
git-svn-id: https://develop.svn.wordpress.org/trunk@10982 602fd350-edb4-49c9-b593-d223f7449a82
2009-04-17 07:02:55 +00:00
Ryan Boren
eaa749e545 Add comment-body class. Props docwhat. fixes #9301
git-svn-id: https://develop.svn.wordpress.org/trunk@10961 602fd350-edb4-49c9-b593-d223f7449a82
2009-04-16 22:15:12 +00:00
Ryan Boren
8a4bc7dabe Translate defaults. Props nbachiyski. fixes #9548
git-svn-id: https://develop.svn.wordpress.org/trunk@10953 602fd350-edb4-49c9-b593-d223f7449a82
2009-04-16 18:51:50 +00:00
Ryan Boren
2eae08c088 Updates to wp_login_url() and wp_logout_url(). Use them in more places. Props wnorris. fixes #9536
git-svn-id: https://develop.svn.wordpress.org/trunk@10931 602fd350-edb4-49c9-b593-d223f7449a82
2009-04-14 18:31:49 +00:00
Peter Westwood
3748a7731e Move byuser to a seperate array entry to ease filtering by plugins. Fixes #9465 for trunk props hakre.
git-svn-id: https://develop.svn.wordpress.org/trunk@10875 602fd350-edb4-49c9-b593-d223f7449a82
2009-04-05 17:38:19 +00:00
Ryan Boren
8d00b5d37d Trim trailing whitespace
git-svn-id: https://develop.svn.wordpress.org/trunk@10810 602fd350-edb4-49c9-b593-d223f7449a82
2009-03-18 02:43:45 +00:00
Ryan Boren
bcdc0c5021 get_comment_link filter. Props Viper007Bond. fixes #9327
git-svn-id: https://develop.svn.wordpress.org/trunk@10778 602fd350-edb4-49c9-b593-d223f7449a82
2009-03-13 21:58:18 +00:00
Ryan Boren
4006d1a355 Order by comment_date_gmt
git-svn-id: https://develop.svn.wordpress.org/trunk@10732 602fd350-edb4-49c9-b593-d223f7449a82
2009-03-06 08:16:35 +00:00
Ryan Boren
5f5744e143 Allow comments_popup_link() for is_single and is_page. Props AaronCampbell, sivel. fixes #4832
git-svn-id: https://develop.svn.wordpress.org/trunk@10704 602fd350-edb4-49c9-b593-d223f7449a82
2009-03-04 20:26:56 +00:00
Ryan Boren
a60f3571bc Revert accidental bits. see #8708
git-svn-id: https://develop.svn.wordpress.org/trunk@10386 602fd350-edb4-49c9-b593-d223f7449a82
2009-01-20 20:55:57 +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
abdc43a273 Add CSS class to "comment-reply-link", props yoavf, fixes #8836
git-svn-id: https://develop.svn.wordpress.org/trunk@10341 602fd350-edb4-49c9-b593-d223f7449a82
2009-01-10 10:21:28 +00:00
Ryan Boren
d0ce444aee Fix comment links when displaying first page of comments. Props johnconners. fixes #8583 for trunk
git-svn-id: https://develop.svn.wordpress.org/trunk@10196 602fd350-edb4-49c9-b593-d223f7449a82
2008-12-12 20:08:49 +00:00
Ryan Boren
9c4b6c2f92 Update func name. see #8550
git-svn-id: https://develop.svn.wordpress.org/trunk@10180 602fd350-edb4-49c9-b593-d223f7449a82
2008-12-10 21:13:32 +00:00
Ryan Boren
76dc2686b5 Change default add_below. see #8550
git-svn-id: https://develop.svn.wordpress.org/trunk@10179 602fd350-edb4-49c9-b593-d223f7449a82
2008-12-10 21:08:20 +00:00
Ryan Boren
32e006e74c Post reply API updates. see #8550
git-svn-id: https://develop.svn.wordpress.org/trunk@10178 602fd350-edb4-49c9-b593-d223f7449a82
2008-12-10 21:06:13 +00:00
Andrew Ozz
06f8ce3117 Enable support for threaded comments and comment reply on index page, props yoavf, fixes #8550
git-svn-id: https://develop.svn.wordpress.org/trunk@10169 602fd350-edb4-49c9-b593-d223f7449a82
2008-12-10 11:49:37 +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
Peter Westwood
8aa27b5013 Link to comments on the page they are on. Fixes #8488 props johnconners.
git-svn-id: https://develop.svn.wordpress.org/trunk@10043 602fd350-edb4-49c9-b593-d223f7449a82
2008-12-04 20:26:43 +00:00
Andrew Ozz
cb9e9eb715 Fix [9854] for i18n, props filosofo
git-svn-id: https://develop.svn.wordpress.org/trunk@9855 602fd350-edb4-49c9-b593-d223f7449a82
2008-11-24 02:13:31 +00:00
Andrew Ozz
68288439aa I18n: fix get_comment_date and edit_comment_link in comment-template.php, props tai. Add class to "Says:", fixes #8142
git-svn-id: https://develop.svn.wordpress.org/trunk@9854 602fd350-edb4-49c9-b593-d223f7449a82
2008-11-24 01:36:23 +00:00
Ryan Boren
c584cc009a Revert [9773]. htmlspecialchars_decode() requires PHP 5.1. see #6992
git-svn-id: https://develop.svn.wordpress.org/trunk@9825 602fd350-edb4-49c9-b593-d223f7449a82
2008-11-21 00:57:31 +00:00
Mark Jaquith
294e85160b Add a "parent" class to comment LIs with children. props filosofo. fixes #8091
git-svn-id: https://develop.svn.wordpress.org/trunk@9812 602fd350-edb4-49c9-b593-d223f7449a82
2008-11-20 13:36:44 +00:00
Mark Jaquith
abecad5356 Improvements for get_comment_link() from Viper007Bond. fixes #8287
git-svn-id: https://develop.svn.wordpress.org/trunk@9808 602fd350-edb4-49c9-b593-d223f7449a82
2008-11-20 06:41:55 +00:00
Mark Jaquith
03792b2e62 Handle blank display_name for commenters. props mrmist. fixes #7494
git-svn-id: https://develop.svn.wordpress.org/trunk@9781 602fd350-edb4-49c9-b593-d223f7449a82
2008-11-19 06:58:44 +00:00
Mark Jaquith
41ad324958 Show pending comments to users with quotes in their name. props regulatethis. fixes #6992
git-svn-id: https://develop.svn.wordpress.org/trunk@9773 602fd350-edb4-49c9-b593-d223f7449a82
2008-11-19 04:58:10 +00:00
Mark Jaquith
0627e9a2fe A couple more hCard CSS classes for comments from wnorris. fixes #8264
git-svn-id: https://develop.svn.wordpress.org/trunk@9764 602fd350-edb4-49c9-b593-d223f7449a82
2008-11-18 22:06:51 +00:00
Ryan Boren
c06e25a3ff wp_list_comments() fixes when passing type. Props Viper007Bond. fixes #8168
git-svn-id: https://develop.svn.wordpress.org/trunk@9667 602fd350-edb4-49c9-b593-d223f7449a82
2008-11-13 20:36:36 +00:00
Ryan Boren
e1235cf59f Fix notice
git-svn-id: https://develop.svn.wordpress.org/trunk@9540 602fd350-edb4-49c9-b593-d223f7449a82
2008-11-06 01:58:33 +00:00
Mark Jaquith
ded4fe72b8 Massive get_comment_link() performance improvements for posts with a lot of comments. props Viper007Bond. fixes #7956
git-svn-id: https://develop.svn.wordpress.org/trunk@9522 602fd350-edb4-49c9-b593-d223f7449a82
2008-11-05 07:09:20 +00:00
Mark Jaquith
3501b899b2 Improvements to the Edit Comment screen
git-svn-id: https://develop.svn.wordpress.org/trunk@9436 602fd350-edb4-49c9-b593-d223f7449a82
2008-10-31 18:05:25 +00:00
Ryan Boren
67f209ed2f ['depth'] during the wp_list_comments should be ['max_depth']. Props ShaneF. fixes #8018
git-svn-id: https://develop.svn.wordpress.org/trunk@9424 602fd350-edb4-49c9-b593-d223f7449a82
2008-10-31 02:58:22 +00:00
Ryan Boren
147d207823 Respect respond_id. props filosofo. fixes #8011
git-svn-id: https://develop.svn.wordpress.org/trunk@9416 602fd350-edb4-49c9-b593-d223f7449a82
2008-10-30 15:56:39 +00:00
Ryan Boren
a76105406a Wrong view ryan
git-svn-id: https://develop.svn.wordpress.org/trunk@9406 602fd350-edb4-49c9-b593-d223f7449a82
2008-10-29 22:56:48 +00:00
Peter Westwood
4f5cb11d68 Make all comments classy. Fixes #8006 props filosofo.
git-svn-id: https://develop.svn.wordpress.org/trunk@9405 602fd350-edb4-49c9-b593-d223f7449a82
2008-10-29 22:25:06 +00:00
Ryan Boren
f38c4fd079 Obey comment_order if set. Defaul to asc if not set
git-svn-id: https://develop.svn.wordpress.org/trunk@9386 602fd350-edb4-49c9-b593-d223f7449a82
2008-10-28 16:41:47 +00:00
Ryan Boren
190e2ace16 Threaded comment fixes from filosofo. fixes #7980
git-svn-id: https://develop.svn.wordpress.org/trunk@9385 602fd350-edb4-49c9-b593-d223f7449a82
2008-10-28 16:17:48 +00:00
Ryan Boren
c5c2377468 Make get_comment_link() paging aware. Props Viper007Bond. see #7956
git-svn-id: https://develop.svn.wordpress.org/trunk@9367 602fd350-edb4-49c9-b593-d223f7449a82
2008-10-27 16:31:26 +00:00