Commit Graph

173 Commits

Author SHA1 Message Date
Ryan Boren 7fcda10d46 Escape links by default. Props alexkingorg. see #13051
git-svn-id: https://develop.svn.wordpress.org/trunk@14347 602fd350-edb4-49c9-b593-d223f7449a82
2010-05-02 22:53:59 +00:00
Peter Westwood 5dd4da6932 Revert [14268] - It is much better to use JavaScript for this kind of enhancement. Output buffering is too fragile. See #12564.
git-svn-id: https://develop.svn.wordpress.org/trunk@14274 602fd350-edb4-49c9-b593-d223f7449a82
2010-04-28 07:17:20 +00:00
Andrew Nacin 54a577c537 Add full HTML filter to comment_form(), along with an echo arg. props joostdevalk, fixes #12564.
git-svn-id: https://develop.svn.wordpress.org/trunk@14268 602fd350-edb4-49c9-b593-d223f7449a82
2010-04-28 04:28:51 +00:00
Andrew Nacin 46c6c0bcf7 Clarify language for non-publication of emails. props lloydbudd, fixes #13026.
git-svn-id: https://develop.svn.wordpress.org/trunk@14195 602fd350-edb4-49c9-b593-d223f7449a82
2010-04-23 15:01:21 +00:00
Andrew Nacin 6e7fed8863 Switch to simpler language regarding publication of email addresses in comment_form() template. props bumbu, see #13026.
git-svn-id: https://develop.svn.wordpress.org/trunk@14132 602fd350-edb4-49c9-b593-d223f7449a82
2010-04-18 04:49:19 +00:00
Dion Hulse b85b748fdc Respect the comment ID parameter in comment_excerpt(). Props tenpura. Fixes #12874
git-svn-id: https://develop.svn.wordpress.org/trunk@14128 602fd350-edb4-49c9-b593-d223f7449a82
2010-04-18 03:45:24 +00:00
Andrew Nacin c7c442fce0 Move stray closing p tag out of a translation. props chrisbliss18, fixes #13036.
git-svn-id: https://develop.svn.wordpress.org/trunk@14119 602fd350-edb4-49c9-b593-d223f7449a82
2010-04-16 22:27:37 +00:00
Andrew Nacin 026bdbc61c Remove tabindex from comment_form(). fixes #12963
git-svn-id: https://develop.svn.wordpress.org/trunk@14114 602fd350-edb4-49c9-b593-d223f7449a82
2010-04-16 18:29:39 +00:00
Andrew Nacin d295ecea10 Spacing/coding cleanup of comment_form(). see #13016.
git-svn-id: https://develop.svn.wordpress.org/trunk@14093 602fd350-edb4-49c9-b593-d223f7449a82
2010-04-15 16:25:08 +00:00
Andrew Nacin 23d19f6753 Update the html comments in comment_form(). props iandstewart, fixes #13016.
git-svn-id: https://develop.svn.wordpress.org/trunk@14092 602fd350-edb4-49c9-b593-d223f7449a82
2010-04-15 16:16:51 +00:00
Ryan Boren c7eef601d4 Use WP_FALLBACK_THEME instead of default. Props MichaelH. see #12846
git-svn-id: https://develop.svn.wordpress.org/trunk@14080 602fd350-edb4-49c9-b593-d223f7449a82
2010-04-13 21:56:57 +00:00
Andrew Nacin 72f51642c5 Add @since.
git-svn-id: https://develop.svn.wordpress.org/trunk@14073 602fd350-edb4-49c9-b593-d223f7449a82
2010-04-11 15:23:20 +00:00
Dion Hulse 491063c698 Tweak new strings for better typography. Props demetris. Fixes #12962
git-svn-id: https://develop.svn.wordpress.org/trunk@14070 602fd350-edb4-49c9-b593-d223f7449a82
2010-04-11 10:41:54 +00:00
Dion Hulse 57749e1d2c Introduce get_comment_id_fields() as a Getter for comment_id_fields(). Introduce a filter on the output to add extra fields. Props zoranzaric. Fixes #12893
git-svn-id: https://develop.svn.wordpress.org/trunk@14067 602fd350-edb4-49c9-b593-d223f7449a82
2010-04-11 08:56:18 +00:00
Andrew Nacin 3c295f3a59 Deprecate trackback_rdf(). fixes #11139
git-svn-id: https://develop.svn.wordpress.org/trunk@13991 602fd350-edb4-49c9-b593-d223f7449a82
2010-04-04 10:04:56 +00:00
Dion Hulse db55fa0abb Reduce Code duplication. Rely on parent class to do the heavy lifting, just tack the comment addition on the end. See #8841
git-svn-id: https://develop.svn.wordpress.org/trunk@13939 602fd350-edb4-49c9-b593-d223f7449a82
2010-04-02 05:33:18 +00:00
Dion Hulse 393c94d1a5 Move children of nested levels not shown to after the current element, not inside it like children. See #8841
git-svn-id: https://develop.svn.wordpress.org/trunk@13938 602fd350-edb4-49c9-b593-d223f7449a82
2010-04-02 05:13:57 +00:00
Dion Hulse 5c306d5ca4 Fix out-of-order comments when comment nesting is reduced. Displays child comments on the same level after its "parent" in the case that the max_depth has been hit. See #8841
git-svn-id: https://develop.svn.wordpress.org/trunk@13932 602fd350-edb4-49c9-b593-d223f7449a82
2010-04-02 04:05:01 +00:00
Andrew Nacin e34ca97ae0 Change @since 3.0 to @since 3.0.0.
git-svn-id: https://develop.svn.wordpress.org/trunk@13827 602fd350-edb4-49c9-b593-d223f7449a82
2010-03-26 19:13:36 +00:00
Andrew Nacin ddc506f01c Remove unnecessary ternary operators such as (expr) ? true : false.
git-svn-id: https://develop.svn.wordpress.org/trunk@13769 602fd350-edb4-49c9-b593-d223f7449a82
2010-03-19 21:15:00 +00:00
Dion Hulse 922e3e828f Prefer $comment::comment_post_ID over $post global. Fixes #12217
git-svn-id: https://develop.svn.wordpress.org/trunk@13396 602fd350-edb4-49c9-b593-d223f7449a82
2010-02-25 07:56:25 +00:00
Andrew Nacin c9dfb91763 Spelling and grammar fun. Fixes #11875 props cnorris23
git-svn-id: https://develop.svn.wordpress.org/trunk@13382 602fd350-edb4-49c9-b593-d223f7449a82
2010-02-24 20:13:23 +00:00
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