Commit Graph

121 Commits

Author SHA1 Message Date
westi
71151ef2f8 Enable plugins to override the cockney replace array, fixes #4804 for 2.0.12 props andihit
git-svn-id: http://svn.automattic.com/wordpress/branches/2.0@5932 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-08-23 21:15:50 +00:00
markjaquith
585d7513a8 js_escape improvements from Alexander Concha. Catches &#39 &#039 ' ' ' ' &#x000027 etc. for 2.0.x
git-svn-id: http://svn.automattic.com/wordpress/branches/2.0@5736 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-06-20 19:13:29 +00:00
ryan
bbd24106bd Fix relative link mangling in clean_url. fixes #4017 for 2.1
git-svn-id: http://svn.automattic.com/wordpress/branches/2.0@5097 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-03-23 23:33:19 +00:00
ryan
b8f6940e18 Don't add http:// to relative links. Props donncha. fixes #4001 for 2.0
git-svn-id: http://svn.automattic.com/wordpress/branches/2.0@5067 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-03-21 00:38:05 +00:00
ryan
b1b79a5ebd Add kses protocol checking to clean_url. Props Andy. fixes #3515
git-svn-id: http://svn.automattic.com/wordpress/branches/2.0@4672 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-01-02 21:22:41 +00:00
markjaquith
bf83dbd55f Sync balanceTags() and force_balance_tags() to trunk. fixes #2714
git-svn-id: http://svn.automattic.com/wordpress/branches/2.0@4663 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2006-12-23 06:33:24 +00:00
ryan
70902a4e04 Add js_escape and attribute_escape filters.
git-svn-id: http://svn.automattic.com/wordpress/branches/2.0@4661 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2006-12-22 05:27:45 +00:00
markjaquith
3495490d2f Whitespace cleanup for [4656]
git-svn-id: http://svn.automattic.com/wordpress/branches/2.0@4657 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2006-12-21 10:45:58 +00:00
markjaquith
be708ef9a7 new function for escaping within attributes: attribute_escape()
git-svn-id: http://svn.automattic.com/wordpress/branches/2.0@4656 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2006-12-21 10:10:04 +00:00
markjaquith
6651c29d96 fix function name error in last two commits. fixes #3228
git-svn-id: http://svn.automattic.com/wordpress/branches/2.0@4387 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2006-10-13 06:08:27 +00:00
markjaquith
3d71ec4384 make_clickable() now faster and supports more link positions, from mdawaffe and myself. fixes #3228
git-svn-id: http://svn.automattic.com/wordpress/branches/2.0@4385 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2006-10-13 06:01:14 +00:00
markjaquith
27a756db3b Strip out British pound sterling (pound) symbol from post slug. fixes #2735
git-svn-id: http://svn.automattic.com/wordpress/branches/2.0@4319 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2006-10-04 07:51:01 +00:00
markjaquith
c414f577d5 Allow user replacement of cockney replacement array. fixes #1032
git-svn-id: http://svn.automattic.com/wordpress/branches/2.0@4309 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2006-10-04 06:08:06 +00:00
ryan
719ffcb1dc Recognize paragraph tags with attributes when stripping breaks. Props rockinfree. fixes #1706
git-svn-id: http://svn.automattic.com/wordpress/branches/2.0@4240 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2006-09-25 02:39:47 +00:00
ryan
a0ebe5b7b5 Don't duplicate nofollow on edit. Props filosofo. fixes #2995
git-svn-id: http://svn.automattic.com/wordpress/branches/2.0@4233 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2006-09-25 02:16:18 +00:00
ryan
0977aef844 Faster remove accents. Props skeltoac. fixes #2978
git-svn-id: http://svn.automattic.com/wordpress/branches/2.0@4052 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2006-07-26 22:57:15 +00:00
ryan
21e7f8d7b1 Make clickable fix from whooami. fixes #2889
git-svn-id: http://svn.automattic.com/wordpress/branches/2.0@4012 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2006-07-11 03:30:22 +00:00
ryan
418ba348e8 Add single/double support to wp_specialchars(). Backported from trunk.
git-svn-id: http://svn.automattic.com/wordpress/branches/2.0@3996 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2006-07-06 02:31:06 +00:00
ryan
7befc5a652 Force balanced tags in comments. Props Nazgul. fixes #2714
git-svn-id: http://svn.automattic.com/wordpress/branches/2.0@3964 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2006-07-04 22:10:32 +00:00
ryan
814a876b43 js_escape() in onclicks. fixes #2851
git-svn-id: http://svn.automattic.com/wordpress/branches/2.0@3906 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2006-06-24 01:20:01 +00:00
ryan
dacaa7594f Make replacement strings backref safe without using \${1} so as to preserve php <= 4.2 compatible. Props mdawaffe. fixes #2774
git-svn-id: http://svn.automattic.com/wordpress/branches/2.0@3856 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2006-06-08 03:21:04 +00:00
ryan
ddab6df876 sanitize_user regex fix from grigs. fixes #2729
git-svn-id: http://svn.automattic.com/wordpress/branches/2.0@3794 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2006-05-26 17:27:33 +00:00
ryan
32e899d12b Backport js_escape()
git-svn-id: http://svn.automattic.com/wordpress/branches/2.0@3781 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2006-05-18 01:10:57 +00:00
ryan
deb71d2ba1 texturize fix from that Andy guy. fixes #2634
git-svn-id: http://svn.automattic.com/wordpress/branches/2.0@3747 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2006-04-22 00:29:05 +00:00
ryan
e28c79f070 ent2ncr optimization. Props random. fixes #2548
git-svn-id: http://svn.automattic.com/wordpress/branches/2.0@3742 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2006-04-22 00:11:08 +00:00
ryan
99385a2f18 Username sanitization cleanups.
git-svn-id: http://svn.automattic.com/wordpress/trunk@3481 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2006-01-25 03:09:16 +00:00
ryan
45863965f1 sanitize_user() fixes.
git-svn-id: http://svn.automattic.com/wordpress/trunk@3454 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2006-01-18 05:37:26 +00:00
ryan
0ace9024cd Add richedit_pre filter. Props mani_monaj. fixes #2047
git-svn-id: http://svn.automattic.com/wordpress/trunk@3284 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2005-12-10 19:03:22 +00:00
ryan
1547da4733 Remove calls to html_entity_decode(). fixes #2029
git-svn-id: http://svn.automattic.com/wordpress/trunk@3276 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2005-12-07 00:36:07 +00:00
ryan
3d55d1e28c autop fixes from skeltoac. fixes #2022
git-svn-id: http://svn.automattic.com/wordpress/trunk@3273 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2005-12-05 17:00:01 +00:00
ryan
8f6c123fa7 TinyMCE directionality for RTL support. Props skeltoac. fixes #1967
git-svn-id: http://svn.automattic.com/wordpress/trunk@3244 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2005-11-30 17:15:43 +00:00
matt
beff0bedba Don't do bad xhtml fixing by default - fixes #1975
git-svn-id: http://svn.automattic.com/wordpress/trunk@3223 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2005-11-28 23:05:12 +00:00
ryan
a78ca073b5 Don't texturize for the rich editor. Props skeltoac. fixes #1909
git-svn-id: http://svn.automattic.com/wordpress/trunk@3156 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2005-11-18 23:27:39 +00:00
ryan
544842e3dc Big tiny fixes from skeltoac. fixes #1897
git-svn-id: http://svn.automattic.com/wordpress/trunk@3136 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2005-11-17 17:47:29 +00:00
matt
6154d26ea1 Better email links, fixes #1416
git-svn-id: http://svn.automattic.com/wordpress/trunk@3114 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2005-11-16 23:44:03 +00:00
ryan
428f06c54a Fix typos in remove_accents(). Props kyknos and YaaL. fixes #1688
git-svn-id: http://svn.automattic.com/wordpress/trunk@3106 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2005-11-16 06:37:06 +00:00
matt
dd67f966fb Account for more letter entities, fixes #1431
git-svn-id: http://svn.automattic.com/wordpress/trunk@3056 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2005-11-13 02:48:35 +00:00
matt
62b08c17be Missing stripslashes - fixes #1793
git-svn-id: http://svn.automattic.com/wordpress/trunk@3049 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2005-11-11 02:16:26 +00:00
ryan
6cbb6fecb3 Stripslashes doesn't work on arrays. Add stripslashes_deep(). Props: Mike Little
git-svn-id: http://svn.automattic.com/wordpress/trunk@2700 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2005-07-06 01:12:38 +00:00
ryan
91efba11ad Use wpdb->escape instead of addslashes to prepare DB bound data.
git-svn-id: http://svn.automattic.com/wordpress/trunk@2699 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2005-07-05 20:47:22 +00:00
matt
d4cdb47503 Wrong translation and indentation fix, fixes #1373
git-svn-id: http://svn.automattic.com/wordpress/trunk@2689 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2005-07-02 23:44:35 +00:00
matt
de9cc8b12c More user updates
git-svn-id: http://svn.automattic.com/wordpress/trunk@2632 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2005-06-12 23:14:52 +00:00
matt
c65f0168cd Better pingback extraction, fixes #1268
git-svn-id: http://svn.automattic.com/wordpress/trunk@2619 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2005-06-04 10:15:36 +00:00
matt
17681831ee Don't P on address
git-svn-id: http://svn.automattic.com/wordpress/trunk@2582 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2005-05-03 22:31:20 +00:00
matt
48d0ec3c43 Texturize tweaks
git-svn-id: http://svn.automattic.com/wordpress/trunk@2578 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2005-05-01 19:21:42 +00:00
matt
0d878895e4 Missing backslash, fixes http://mosquito.wordpress.org/view.php?id=1224
git-svn-id: http://svn.automattic.com/wordpress/trunk@2549 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2005-04-19 03:41:22 +00:00
ryan
13ae8dd0bc Don't escape broken vertical bar.
git-svn-id: http://svn.automattic.com/wordpress/trunk@2520 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2005-04-08 14:16:29 +00:00
ryan
2cdb8f3852 Add entity 2 ncr converter. http://mosquito.wordpress.org/view.php?id=929 Props: Kaf Oseo
git-svn-id: http://svn.automattic.com/wordpress/trunk@2517 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2005-04-05 17:25:57 +00:00
ryan
65e7810299 Cockney 'cause. http://mosquito.wordpress.org/view.php?id=1100 Props: bcrow
git-svn-id: http://svn.automattic.com/wordpress/trunk@2493 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2005-03-29 15:19:50 +00:00
ryan
bd7f914d8c Add Latin Extended-A decompositions to remove_accents(). http://mosquito.wordpress.org/view.php?id=836
git-svn-id: http://svn.automattic.com/wordpress/trunk@2484 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2005-03-29 03:12:24 +00:00