Commit Graph

90 Commits

Author SHA1 Message Date
Mark Jaquith
13d390e40f Pass extra args to pre_kses hook. Props mdawaffe. see #4409
git-svn-id: https://develop.svn.wordpress.org/trunk@5787 602fd350-edb4-49c9-b593-d223f7449a82
2007-07-06 22:47:24 +00:00
Mark Jaquith
258e179448 Entitize lone less-than characters. Props mdawaffe. fixes #4409
git-svn-id: https://develop.svn.wordpress.org/trunk@5783 602fd350-edb4-49c9-b593-d223f7449a82
2007-07-06 12:53:15 +00:00
Ryan Boren
b046d67f41 Trim empty lines. Nothing but newline.
git-svn-id: https://develop.svn.wordpress.org/trunk@5700 602fd350-edb4-49c9-b593-d223f7449a82
2007-06-14 02:25:30 +00:00
rob1n
7929eca3cc Don't take out class attribute for <abbr />, for hReview. fixes #3420
git-svn-id: https://develop.svn.wordpress.org/trunk@5383 602fd350-edb4-49c9-b593-d223f7449a82
2007-05-04 03:52:11 +00:00
rob1n
d03a237b24 Add lang and xml:lang attributes to allowed list for p, div and blockquote. fixes #4128
git-svn-id: https://develop.svn.wordpress.org/trunk@5375 602fd350-edb4-49c9-b593-d223f7449a82
2007-05-02 04:31:30 +00:00
rob1n
ae87af4ce8 Spring cleaning, extreme edition.
git-svn-id: https://develop.svn.wordpress.org/trunk@5374 602fd350-edb4-49c9-b593-d223f7449a82
2007-05-02 04:26:57 +00:00
rob1n
00c7a213a0 Clean that mess up so it's more easily managed.
git-svn-id: https://develop.svn.wordpress.org/trunk@5373 602fd350-edb4-49c9-b593-d223f7449a82
2007-05-02 04:17:43 +00:00
Mark Jaquith
3357b71e0e Reverse backport (?) from 2.0.x of KSES filters
git-svn-id: https://develop.svn.wordpress.org/trunk@4654 602fd350-edb4-49c9-b593-d223f7449a82
2006-12-21 04:44:34 +00:00
Ryan Boren
01cfb71b45 Update allowed protocols. fixes #2726
git-svn-id: https://develop.svn.wordpress.org/trunk@4550 602fd350-edb4-49c9-b593-d223f7449a82
2006-11-30 01:50:48 +00:00
Ryan Boren
5a2e0d5e60 Filter post_content_filtered
git-svn-id: https://develop.svn.wordpress.org/trunk@4533 602fd350-edb4-49c9-b593-d223f7449a82
2006-11-25 17:54:41 +00:00
Ryan Boren
9e0c4a5155 Bump kses to 0.2.2. Props westi. fixes #2661
git-svn-id: https://develop.svn.wordpress.org/trunk@3989 602fd350-edb4-49c9-b593-d223f7449a82
2006-07-05 22:40:05 +00:00
Ryan Boren
f7ee176581 More comment cookie sanitation.
git-svn-id: https://develop.svn.wordpress.org/trunk@3577 602fd350-edb4-49c9-b593-d223f7449a82
2006-02-28 09:49:06 +00:00
Ryan Boren
e0feeb161a Strip all html from comment author name, email, and url.
git-svn-id: https://develop.svn.wordpress.org/trunk@3574 602fd350-edb4-49c9-b593-d223f7449a82
2006-02-28 04:22:24 +00:00
Ryan Boren
cd4a8a24c5 current user cleanup
git-svn-id: https://develop.svn.wordpress.org/trunk@3566 602fd350-edb4-49c9-b593-d223f7449a82
2006-02-22 19:08:55 +00:00
Ryan Boren
ba8e3e8d47 Make the xmlrpc user the current user. fixes #2273
git-svn-id: https://develop.svn.wordpress.org/trunk@3430 602fd350-edb4-49c9-b593-d223f7449a82
2006-01-13 19:19:09 +00:00
Ryan Boren
835a8b9992 kses regex tweakage for better comment filtering. fixes #2130
git-svn-id: https://develop.svn.wordpress.org/trunk@3429 602fd350-edb4-49c9-b593-d223f7449a82
2006-01-13 07:28:47 +00:00
Ryan Boren
3974041405 Rerun comment text back through kses.
git-svn-id: https://develop.svn.wordpress.org/trunk@3418 602fd350-edb4-49c9-b593-d223f7449a82
2006-01-10 01:27:36 +00:00
Ryan Boren
06532a3304 Pass comments through kses. Props tsimmons. fixes #2130 #2167
git-svn-id: https://develop.svn.wordpress.org/trunk@3417 602fd350-edb4-49c9-b593-d223f7449a82
2006-01-09 23:49:56 +00:00
Ryan Boren
6ffbef60a5 Filter title with kses. fixes #1788
git-svn-id: https://develop.svn.wordpress.org/trunk@2963 602fd350-edb4-49c9-b593-d223f7449a82
2005-10-25 14:46:23 +00:00
Ryan Boren
565ff7ca40 Add ordered list tags to kses. fixes #1761
git-svn-id: https://develop.svn.wordpress.org/trunk@2950 602fd350-edb4-49c9-b593-d223f7449a82
2005-10-14 18:52:44 +00:00
Ryan Boren
4bb9a136f6 Add kses_init_filters(). Call it when running importers.
git-svn-id: https://develop.svn.wordpress.org/trunk@2934 602fd350-edb4-49c9-b593-d223f7449a82
2005-10-05 23:58:16 +00:00
Matt Mullenweg
a223ff02c3 Some of that really shouldn't be in posts.
git-svn-id: https://develop.svn.wordpress.org/trunk@2924 602fd350-edb4-49c9-b593-d223f7449a82
2005-09-27 21:23:02 +00:00
Matt Mullenweg
dbe7f56251 We had reverted this fix from [1253]
git-svn-id: https://develop.svn.wordpress.org/trunk@2919 602fd350-edb4-49c9-b593-d223f7449a82
2005-09-26 16:06:58 +00:00
Ryan Boren
258e64c812 stripslashes before running kses. Props donncha. fixes #1697
git-svn-id: https://develop.svn.wordpress.org/trunk@2902 602fd350-edb4-49c9-b593-d223f7449a82
2005-09-21 16:35:35 +00:00
Ryan Boren
38b52d8efc Remove extra line. fixes #1694
git-svn-id: https://develop.svn.wordpress.org/trunk@2899 602fd350-edb4-49c9-b593-d223f7449a82
2005-09-21 02:38:47 +00:00
Ryan Boren
f1660060ca Filter posts with kses for users who do not have the unfiltered_html cap. Props donncha. fixes #1674
git-svn-id: https://develop.svn.wordpress.org/trunk@2896 602fd350-edb4-49c9-b593-d223f7449a82
2005-09-20 22:18:47 +00:00
Matt Mullenweg
5671e81028 More filters and KSES cleanup.
git-svn-id: https://develop.svn.wordpress.org/trunk@2151 602fd350-edb4-49c9-b593-d223f7449a82
2005-01-26 22:29:18 +00:00
Matt Mullenweg
ae46b3819f User-generated rel attributes shouldn't be allowed in comments (doesn't make sense for any current uses of rel.)
git-svn-id: https://develop.svn.wordpress.org/trunk@2116 602fd350-edb4-49c9-b593-d223f7449a82
2005-01-21 07:53:02 +00:00
Matt Mullenweg
b39c4f8273 Comments refactoring and cleanup
git-svn-id: https://develop.svn.wordpress.org/trunk@1964 602fd350-edb4-49c9-b593-d223f7449a82
2004-12-16 02:57:05 +00:00
Matt Mullenweg
d197f0594b Fix so KSES works with Japanese encoding.
git-svn-id: https://develop.svn.wordpress.org/trunk@1253 602fd350-edb4-49c9-b593-d223f7449a82
2004-05-09 23:25:24 +00:00
Matt Mullenweg
2d8c664856 Add blockquote to tags allowed by default.
git-svn-id: https://develop.svn.wordpress.org/trunk@1238 602fd350-edb4-49c9-b593-d223f7449a82
2004-05-07 23:30:44 +00:00
Matt Mullenweg
aec151b9ac Logic error when checking for define.
git-svn-id: https://develop.svn.wordpress.org/trunk@834 602fd350-edb4-49c9-b593-d223f7449a82
2004-02-05 15:25:00 +00:00
Matt Mullenweg
1fe76304c9 Let people override the allowedtags variable.
git-svn-id: https://develop.svn.wordpress.org/trunk@832 602fd350-edb4-49c9-b593-d223f7449a82
2004-02-05 14:40:32 +00:00
Matt Mullenweg
3856282eb3 Tag cleanup.
git-svn-id: https://develop.svn.wordpress.org/trunk@767 602fd350-edb4-49c9-b593-d223f7449a82
2004-01-12 22:09:07 +00:00
Dougal Campbell
5c91a6a14a Added a few tags. Pretty formatting.
git-svn-id: https://develop.svn.wordpress.org/trunk@766 602fd350-edb4-49c9-b593-d223f7449a82
2004-01-12 18:15:09 +00:00
Matt Mullenweg
0738b73f9a KSES fixes.
git-svn-id: https://develop.svn.wordpress.org/trunk@731 602fd350-edb4-49c9-b593-d223f7449a82
2004-01-07 01:28:30 +00:00
Matt Mullenweg
49feb2716f Comment_allowed_tags fixup.
git-svn-id: https://develop.svn.wordpress.org/trunk@709 602fd350-edb4-49c9-b593-d223f7449a82
2004-01-03 23:48:16 +00:00
Matt Mullenweg
a00617018a KSES fixes.
git-svn-id: https://develop.svn.wordpress.org/trunk@663 602fd350-edb4-49c9-b593-d223f7449a82
2003-12-30 08:34:57 +00:00
Matt Mullenweg
a81f4116dd Add kses HTML cleaning to comment functions.
git-svn-id: https://develop.svn.wordpress.org/trunk@650 602fd350-edb4-49c9-b593-d223f7449a82
2003-12-24 20:43:04 +00:00
Matt Mullenweg
f27aff65fe Add kses HTML cleaning.
git-svn-id: https://develop.svn.wordpress.org/trunk@649 602fd350-edb4-49c9-b593-d223f7449a82
2003-12-23 22:09:02 +00:00