Commit Graph

250 Commits

Author SHA1 Message Date
rob1n 2e5f0e8bde Don't treat object and param as block elements in wpautop. fixes #3854
git-svn-id: https://develop.svn.wordpress.org/trunk@5262 602fd350-edb4-49c9-b593-d223f7449a82
2007-04-12 23:19:16 +00:00
rob1n eac89c8fdd Get add_query_arg() to urlencode all values of parse_str array. Props mdawaffe. fixes #4084
git-svn-id: https://develop.svn.wordpress.org/trunk@5261 602fd350-edb4-49c9-b593-d223f7449a82
2007-04-12 22:00:22 +00:00
Matt Mullenweg 4c1d1977b7 Missing change from last commit.
git-svn-id: https://develop.svn.wordpress.org/trunk@5227 602fd350-edb4-49c9-b593-d223f7449a82
2007-04-10 07:39:47 +00:00
rob1n f2216ff99f Don't autop <script> blocks. Props Nazgul. fixes #3854
git-svn-id: https://develop.svn.wordpress.org/trunk@5223 602fd350-edb4-49c9-b593-d223f7449a82
2007-04-10 00:49:18 +00:00
rob1n 537e017277 Don't autop <hr />. fixes #3952
git-svn-id: https://develop.svn.wordpress.org/trunk@5222 602fd350-edb4-49c9-b593-d223f7449a82
2007-04-10 00:47:08 +00:00
Ryan Boren 152256ca63 Fix relative link mangling in clean_url. fixes #4017 for trunk
git-svn-id: https://develop.svn.wordpress.org/trunk@5095 602fd350-edb4-49c9-b593-d223f7449a82
2007-03-23 23:31:44 +00:00
Ryan Boren df22b0ccc9 Don't prepend protocol to relative links. fixes #4017 #4001 for trunk
git-svn-id: https://develop.svn.wordpress.org/trunk@5088 602fd350-edb4-49c9-b593-d223f7449a82
2007-03-23 01:45:24 +00:00
Ryan Boren b3727f5cb0 Don't add http:// to relative links. Props donncha. fixes #4001
git-svn-id: https://develop.svn.wordpress.org/trunk@5065 602fd350-edb4-49c9-b593-d223f7449a82
2007-03-21 00:29:40 +00:00
Mark Jaquith 9331f3efea Improvements to untrailingslashit() and trailingslashit(). props Jamie Talbot. fixes #3899
git-svn-id: https://develop.svn.wordpress.org/trunk@5021 602fd350-edb4-49c9-b593-d223f7449a82
2007-03-10 08:32:57 +00:00
Mark Jaquith e643142a5e new function: untrailingslashit(). fixes #3899
git-svn-id: https://develop.svn.wordpress.org/trunk@5020 602fd350-edb4-49c9-b593-d223f7449a82
2007-03-10 06:25:33 +00:00
Mark Jaquith 56368548ad Use strpos instead of strstr where ever possible, for speed. Props rob1n. fixes #3920
git-svn-id: https://develop.svn.wordpress.org/trunk@4990 602fd350-edb4-49c9-b593-d223f7449a82
2007-03-07 05:29:15 +00:00
Mark Jaquith 5acfcd9fea trailing tabs and whitespace cleanup.
git-svn-id: https://develop.svn.wordpress.org/trunk@4953 602fd350-edb4-49c9-b593-d223f7449a82
2007-02-27 15:24:54 +00:00
Ryan Boren 18548bb54a Don't br image maps. Props rob1n. fixes #1292
git-svn-id: https://develop.svn.wordpress.org/trunk@4900 602fd350-edb4-49c9-b593-d223f7449a82
2007-02-21 01:50:27 +00:00
Ryan Boren bd5e9d3b08 Don't insert p inside of div. fixes #3669
git-svn-id: https://develop.svn.wordpress.org/trunk@4894 602fd350-edb4-49c9-b593-d223f7449a82
2007-02-20 05:41:39 +00:00
Ryan Boren c9f49bbbb9 sanitize_file_name(). fixes #3382 #3554
git-svn-id: https://develop.svn.wordpress.org/trunk@4710 602fd350-edb4-49c9-b593-d223f7449a82
2007-01-09 22:53:14 +00:00
Ryan Boren c34c29d935 Add kses protocol checking to clean_url. Props Andy. fixes #3515
git-svn-id: https://develop.svn.wordpress.org/trunk@4672 602fd350-edb4-49c9-b593-d223f7449a82
2007-01-02 21:22:41 +00:00
Mark Jaquith e576c9a998 __ngettext() correction by nbachiyski. fixes #3508
git-svn-id: https://develop.svn.wordpress.org/trunk@4669 602fd350-edb4-49c9-b593-d223f7449a82
2006-12-31 06:11:24 +00:00
Mark Jaquith d57cc26c58 Remove unused is_comment param in balanceTags() relates to #2714
git-svn-id: https://develop.svn.wordpress.org/trunk@4662 602fd350-edb4-49c9-b593-d223f7449a82
2006-12-23 06:14:34 +00:00
Ryan Boren 0ca0aee18e Add js_escape and attribute_escape filters.
git-svn-id: https://develop.svn.wordpress.org/trunk@4660 602fd350-edb4-49c9-b593-d223f7449a82
2006-12-22 05:26:43 +00:00
Mark Jaquith f95b191dab i18n fixes, logic cleanup, wording clarifications, and more from nbachiyski. fixes #3474
git-svn-id: https://develop.svn.wordpress.org/trunk@4658 602fd350-edb4-49c9-b593-d223f7449a82
2006-12-21 23:06:18 +00:00
Mark Jaquith a011b23b47 Whitespace cleanup for [4656]
git-svn-id: https://develop.svn.wordpress.org/trunk@4657 602fd350-edb4-49c9-b593-d223f7449a82
2006-12-21 10:45:58 +00:00
Mark Jaquith 31c39f948d new function for escaping within attributes: attribute_escape()
git-svn-id: https://develop.svn.wordpress.org/trunk@4656 602fd350-edb4-49c9-b593-d223f7449a82
2006-12-21 10:10:04 +00:00
Matt Mullenweg 546425227b MSN Spaces seems to like exclamation points in their URLs, they must be pandering to Yahoo! ;)
git-svn-id: https://develop.svn.wordpress.org/trunk@4593 602fd350-edb4-49c9-b593-d223f7449a82
2006-12-03 21:55:42 +00:00
Matt Mullenweg 1e969aed95 Don't texturize things inside of script or style tags, fixes #2647
git-svn-id: https://develop.svn.wordpress.org/trunk@4565 602fd350-edb4-49c9-b593-d223f7449a82
2006-12-01 02:53:20 +00:00
Matt Mullenweg f9138f65e7 Small cleanup to autop, fixes #3238
git-svn-id: https://develop.svn.wordpress.org/trunk@4562 602fd350-edb4-49c9-b593-d223f7449a82
2006-11-30 23:32:45 +00:00
Ryan Boren c539a41672 Truncate sanitized titles to the size of the post_name field without killing multibye characters.
git-svn-id: https://develop.svn.wordpress.org/trunk@4560 602fd350-edb4-49c9-b593-d223f7449a82
2006-11-30 20:26:42 +00:00
Ryan Boren 798f6dd0d2 Spare input, param, and script from autop. fixes #3054
git-svn-id: https://develop.svn.wordpress.org/trunk@4553 602fd350-edb4-49c9-b593-d223f7449a82
2006-11-30 02:00:40 +00:00
Ryan Boren 56cda89bdf Make wptexturize faster. Props ecb29. fixes #2980
git-svn-id: https://develop.svn.wordpress.org/trunk@4511 602fd350-edb4-49c9-b593-d223f7449a82
2006-11-21 22:00:10 +00:00
Ryan Boren e44ea1ff93 Remove trailing spaces and convert spaces to tabs. Props Nazgul. fixes #986
git-svn-id: https://develop.svn.wordpress.org/trunk@4495 602fd350-edb4-49c9-b593-d223f7449a82
2006-11-19 07:56:05 +00:00
Ryan Boren 08b0eb170b Fix amp handling. Props skeltoac. fixes #3328
git-svn-id: https://develop.svn.wordpress.org/trunk@4451 602fd350-edb4-49c9-b593-d223f7449a82
2006-11-08 01:12:41 +00:00
Mark Jaquith 97b1fde162 fix function name error in last two commits. fixes #3228
git-svn-id: https://develop.svn.wordpress.org/trunk@4387 602fd350-edb4-49c9-b593-d223f7449a82
2006-10-13 06:08:27 +00:00
Mark Jaquith 8f786af426 make_clickable() now faster and supports more link positions, from mdawaffe and myself. fixes #3228
git-svn-id: https://develop.svn.wordpress.org/trunk@4386 602fd350-edb4-49c9-b593-d223f7449a82
2006-10-13 06:01:33 +00:00
Mark Jaquith 4bce27562b Somewhat stricter smilies replacements by Nazgul. fixes #3222
git-svn-id: https://develop.svn.wordpress.org/trunk@4380 602fd350-edb4-49c9-b593-d223f7449a82
2006-10-12 10:14:14 +00:00
Ryan Boren 28a0e3786c Smilies optimization from Nazgul. fixes #3201 #3216
git-svn-id: https://develop.svn.wordpress.org/trunk@4360 602fd350-edb4-49c9-b593-d223f7449a82
2006-10-07 19:16:24 +00:00
Ryan Boren 0f54dd0d75 Relativize links. Props mdawaffe. fixes #3211
git-svn-id: https://develop.svn.wordpress.org/trunk@4353 602fd350-edb4-49c9-b593-d223f7449a82
2006-10-06 22:43:21 +00:00
Ryan Boren 0627d3a23a Relativize links. Props mdawaffe.
git-svn-id: https://develop.svn.wordpress.org/trunk@4348 602fd350-edb4-49c9-b593-d223f7449a82
2006-10-06 00:34:58 +00:00
Mark Jaquith b2cf5d4a93 Strip out British pound sterling (pound) symbol from post slug. fixes #2735
git-svn-id: https://develop.svn.wordpress.org/trunk@4320 602fd350-edb4-49c9-b593-d223f7449a82
2006-10-04 07:51:11 +00:00
Mark Jaquith c37652968a Allow user replacement of cockney replacement array. fixes #1032
git-svn-id: https://develop.svn.wordpress.org/trunk@4308 602fd350-edb4-49c9-b593-d223f7449a82
2006-10-04 06:07:48 +00:00
Ryan Boren 076dd45bcf Smiley parsing fixes from Nazgul. fixes #2444 #1279
git-svn-id: https://develop.svn.wordpress.org/trunk@4283 602fd350-edb4-49c9-b593-d223f7449a82
2006-10-04 02:21:27 +00:00
Ryan Boren 0022e717d8 Show more link in RSS. Don't show more link if more link text empty. Take more into account when creating excerpt.
git-svn-id: https://develop.svn.wordpress.org/trunk@4184 602fd350-edb4-49c9-b593-d223f7449a82
2006-09-11 23:59:00 +00:00
Ryan Boren ca314e4aa1 Recognize paragraph tags with attributes when stripping breaks. Props rockinfree. fixes #1706
git-svn-id: https://develop.svn.wordpress.org/trunk@4167 602fd350-edb4-49c9-b593-d223f7449a82
2006-09-07 00:33:05 +00:00
Ryan Boren 732dda9406 Fix percent stripping in clean_url.
git-svn-id: https://develop.svn.wordpress.org/trunk@4148 602fd350-edb4-49c9-b593-d223f7449a82
2006-08-31 17:30:17 +00:00
Ryan Boren 7e82eef627 Use get_option instead of get_settings. Just 'cause.
git-svn-id: https://develop.svn.wordpress.org/trunk@4144 602fd350-edb4-49c9-b593-d223f7449a82
2006-08-30 21:46:31 +00:00
Ryan Boren 1bca5d994d Don't duplicate nofollow on edit. Props filosofo. fixes #2995
git-svn-id: https://develop.svn.wordpress.org/trunk@4135 602fd350-edb4-49c9-b593-d223f7449a82
2006-08-30 16:50:12 +00:00
Ryan Boren 852bc46505 Faster remove accents. Props skeltoac. fixes #2978
git-svn-id: https://develop.svn.wordpress.org/trunk@4050 602fd350-edb4-49c9-b593-d223f7449a82
2006-07-26 22:55:36 +00:00
Ryan Boren 49769340ca Make clickable fix from whooami. fixes #2889
git-svn-id: https://develop.svn.wordpress.org/trunk@4011 602fd350-edb4-49c9-b593-d223f7449a82
2006-07-11 03:30:12 +00:00
Ryan Boren 5f2832c56b Preserve newlines inside style and script tags. Props Nazgul. fixes #2833
git-svn-id: https://develop.svn.wordpress.org/trunk@3965 602fd350-edb4-49c9-b593-d223f7449a82
2006-07-04 23:16:04 +00:00
Ryan Boren d2f42f1d12 Force balanced tags in comments. Props Nazgul. fixes #2714
git-svn-id: https://develop.svn.wordpress.org/trunk@3963 602fd350-edb4-49c9-b593-d223f7449a82
2006-07-04 22:09:44 +00:00
Ryan Boren deac9fea9d js_escape() in onclicks. fixes #2851
git-svn-id: https://develop.svn.wordpress.org/trunk@3907 602fd350-edb4-49c9-b593-d223f7449a82
2006-06-24 01:28:08 +00:00
Ryan Boren 216546a0b8 Include file renames. #2525
git-svn-id: https://develop.svn.wordpress.org/trunk@3862 602fd350-edb4-49c9-b593-d223f7449a82
2006-06-11 06:43:54 +00:00