Commit Graph

151 Commits

Author SHA1 Message Date
Ryan Boren f24e88359e Trim trailing whites
git-svn-id: https://develop.svn.wordpress.org/trunk@13268 602fd350-edb4-49c9-b593-d223f7449a82
2010-02-21 00:03:42 +00:00
Dion Hulse 468d0d7cff Variable Cleanup, Unused variables, Typo'd variables, unused code blocks. Fixes #12299
git-svn-id: https://develop.svn.wordpress.org/trunk@13242 602fd350-edb4-49c9-b593-d223f7449a82
2010-02-20 02:01:46 +00:00
Ryan Boren 163919a4d8 Comment form output tweaks. Props beaulebens. see #10910
git-svn-id: https://develop.svn.wordpress.org/trunk@13180 602fd350-edb4-49c9-b593-d223f7449a82
2010-02-17 19:28:03 +00:00
Ryan Boren 6ce57fbc72 Add optional post ID arg to get_comments_link(). Props scribu. fixes #12249
git-svn-id: https://develop.svn.wordpress.org/trunk@13171 602fd350-edb4-49c9-b593-d223f7449a82
2010-02-16 17:54:19 +00:00
Ryan Boren 5a5a140226 Change comment_form() markup to match twentyten. Props beaulebens. see #10910
git-svn-id: https://develop.svn.wordpress.org/trunk@13030 602fd350-edb4-49c9-b593-d223f7449a82
2010-02-08 20:54:29 +00:00
Ryan Boren cda50d2f2e Use comment_form instead of comments_form as the name of the hook. Props greenshady. see #10910
git-svn-id: https://develop.svn.wordpress.org/trunk@13028 602fd350-edb4-49c9-b593-d223f7449a82
2010-02-08 18:27:02 +00:00
Ryan Boren 72adbb470e Remove trailing whitespace
git-svn-id: https://develop.svn.wordpress.org/trunk@12859 602fd350-edb4-49c9-b593-d223f7449a82
2010-01-26 22:49:05 +00:00
Ryan Boren e5d23ee3e5 Add optional comment ID argument to comment template functions. Props filosofo. fixes #12006
git-svn-id: https://develop.svn.wordpress.org/trunk@12821 602fd350-edb4-49c9-b593-d223f7449a82
2010-01-25 17:34:13 +00:00
Ryan Boren 4f1b90798b Update @since. see #10910
git-svn-id: https://develop.svn.wordpress.org/trunk@12811 602fd350-edb4-49c9-b593-d223f7449a82
2010-01-23 18:13:31 +00:00
Ryan Boren 4809d05ab4 comment_form(), first pass. Props beaulebens. see #10910
git-svn-id: https://develop.svn.wordpress.org/trunk@12810 602fd350-edb4-49c9-b593-d223f7449a82
2010-01-23 18:06:37 +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
Peter Westwood 2e2ad12171 Add missing version numbers to _deprecated_argument() calls.
Remove deprecated argument from xfn_check() calls.
Pass version number to deprecated_file_included, deprecated_function_run and deprecated_argument_run actions.
Fixes #11386 props nacin.

git-svn-id: https://develop.svn.wordpress.org/trunk@12680 602fd350-edb4-49c9-b593-d223f7449a82
2010-01-09 10:03:55 +00:00
Peter Westwood 2a93c55f43 Switch to passing arrays instead of query strings to functions. Fixes #6647 props filosofo and hakre.
git-svn-id: https://develop.svn.wordpress.org/trunk@12657 602fd350-edb4-49c9-b593-d223f7449a82
2010-01-08 08:34:39 +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 5a87458f85 Don't pass deprecated argument to comments_number().
git-svn-id: https://develop.svn.wordpress.org/trunk@12586 602fd350-edb4-49c9-b593-d223f7449a82
2009-12-30 16:54:28 +00:00
Peter Westwood a752e6b561 Updates and improvements to _depreceated_argument. See #11386 props nacin.
git-svn-id: https://develop.svn.wordpress.org/trunk@12584 602fd350-edb4-49c9-b593-d223f7449a82
2009-12-30 16:23:39 +00:00
Peter Westwood b607185b4e Fix typo in _deprecated_argument() and start using _deprecated_argument() in wp-includes files. See #11386 props nacin.
git-svn-id: https://develop.svn.wordpress.org/trunk@12537 602fd350-edb4-49c9-b593-d223f7449a82
2009-12-24 11:12:04 +00:00
Andrew Ozz 5dd7bb86d3 Add another arg to 'get_comment_time' filter, props miqrogroove, fixes #11421
git-svn-id: https://develop.svn.wordpress.org/trunk@12396 602fd350-edb4-49c9-b593-d223f7449a82
2009-12-14 10:21:58 +00:00
Mark Jaquith c357915942 Strip HTML from comments_popup_link title attribute. props ewestp, xenlab. fixes #10997
git-svn-id: https://develop.svn.wordpress.org/trunk@12362 602fd350-edb4-49c9-b593-d223f7449a82
2009-12-10 09:13:11 +00:00
Mark Jaquith 47db906431 Fix wp_list_comments() ol/ul/div logic oversight. props junsuijin. fixes #10742
git-svn-id: https://develop.svn.wordpress.org/trunk@12045 602fd350-edb4-49c9-b593-d223f7449a82
2009-10-15 21:47:35 +00:00
Ryan Boren 43c201d458 Remove trailing whitespace
git-svn-id: https://develop.svn.wordpress.org/trunk@11930 602fd350-edb4-49c9-b593-d223f7449a82
2009-09-14 14:03:32 +00:00
Andrew Ozz 1e1324df0e Pass Post ID to the get_comments_number filter, props sirzooro, fixes #10705
git-svn-id: https://develop.svn.wordpress.org/trunk@11895 602fd350-edb4-49c9-b593-d223f7449a82
2009-09-01 20:27:03 +00:00
Ryan Boren 1a2506c493 Don't show comments template if post is empty
git-svn-id: https://develop.svn.wordpress.org/trunk@11839 602fd350-edb4-49c9-b593-d223f7449a82
2009-08-18 19:33:56 +00:00
Ryan Boren f4f70a6479 Prophylactic escapes
git-svn-id: https://develop.svn.wordpress.org/trunk@11838 602fd350-edb4-49c9-b593-d223f7449a82
2009-08-18 16:05:07 +00:00
Ryan Boren 617265d39e esc_url() for ()
git-svn-id: https://develop.svn.wordpress.org/trunk@11724 602fd350-edb4-49c9-b593-d223f7449a82
2009-07-20 01:41:05 +00:00
Ryan Boren cc56ac3d6d sanitize_comment_cookie() handles the attribute escaping, so remove the extra escaping and leave the phpdoc.
git-svn-id: https://develop.svn.wordpress.org/trunk@11723 602fd350-edb4-49c9-b593-d223f7449a82
2009-07-20 01:22:25 +00:00
Ryan Boren a692acecdf Escape , , and for use in attributes by default since so many themes don't escape them. Use wp_get_current_commenter() to get the raw values.
git-svn-id: https://develop.svn.wordpress.org/trunk@11722 602fd350-edb4-49c9-b593-d223f7449a82
2009-07-20 01:11:14 +00:00
Andrew Ozz c7a3747476 Properly escape comment_author_url when displaying, for trunk
git-svn-id: https://develop.svn.wordpress.org/trunk@11721 602fd350-edb4-49c9-b593-d223f7449a82
2009-07-18 23:21:50 +00:00
Peter Westwood 6bd9d1dfa5 Rename new function to sanitize_html_class() to hilight exactly what it is for, Fixes #8446.
git-svn-id: https://develop.svn.wordpress.org/trunk@11435 602fd350-edb4-49c9-b593-d223f7449a82
2009-05-22 21:31:42 +00:00
Peter Westwood f2cfe16e7a Introduce sanitise_css_classname() and use it to give categories, tags, users etc meaningful classnames where possible. Falls back to the id if not. Fixes #8446.
git-svn-id: https://develop.svn.wordpress.org/trunk@11433 602fd350-edb4-49c9-b593-d223f7449a82
2009-05-22 17:44:26 +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 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