Commit Graph

841 Commits

Author SHA1 Message Date
markjaquith de23b425c3 new function: untrailingslashit(). fixes #3899
git-svn-id: http://svn.automattic.com/wordpress/trunk@5020 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-03-10 06:25:33 +00:00
markjaquith 3320dd1380 Use strpos instead of strstr where ever possible, for speed. Props rob1n. fixes #3920
git-svn-id: http://svn.automattic.com/wordpress/trunk@4990 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-03-07 05:29:15 +00:00
markjaquith d0f79bb3f2 trailing tabs and whitespace cleanup.
git-svn-id: http://svn.automattic.com/wordpress/trunk@4953 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-02-27 15:24:54 +00:00
ryan 8ee3440b04 Don't br image maps. Props rob1n. fixes #1292
git-svn-id: http://svn.automattic.com/wordpress/trunk@4900 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-02-21 01:50:27 +00:00
ryan 585a9ff822 Don't insert p inside of div. fixes #3669
git-svn-id: http://svn.automattic.com/wordpress/trunk@4894 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-02-20 05:41:39 +00:00
ryan 3a87e7bba0 sanitize_file_name(). fixes #3382 #3554
git-svn-id: http://svn.automattic.com/wordpress/trunk@4710 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-01-09 22:53:14 +00:00
ryan f5c184f843 Add kses protocol checking to clean_url. Props Andy. fixes #3515
git-svn-id: http://svn.automattic.com/wordpress/trunk@4672 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-01-02 21:22:41 +00:00
markjaquith 504cf9100c __ngettext() correction by nbachiyski. fixes #3508
git-svn-id: http://svn.automattic.com/wordpress/trunk@4669 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2006-12-31 06:11:24 +00:00
markjaquith 6dfff141ec Remove unused is_comment param in balanceTags() relates to #2714
git-svn-id: http://svn.automattic.com/wordpress/trunk@4662 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2006-12-23 06:14:34 +00:00
ryan f2665b2cb2 Add js_escape and attribute_escape filters.
git-svn-id: http://svn.automattic.com/wordpress/trunk@4660 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2006-12-22 05:26:43 +00:00
markjaquith 8a678f3841 i18n fixes, logic cleanup, wording clarifications, and more from nbachiyski. fixes #3474
git-svn-id: http://svn.automattic.com/wordpress/trunk@4658 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2006-12-21 23:06:18 +00:00
markjaquith bdd210972c Whitespace cleanup for [4656]
git-svn-id: http://svn.automattic.com/wordpress/trunk@4657 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2006-12-21 10:45:58 +00:00
markjaquith 5a76c03203 new function for escaping within attributes: attribute_escape()
git-svn-id: http://svn.automattic.com/wordpress/trunk@4656 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2006-12-21 10:10:04 +00:00
matt 4e52293cc9 MSN Spaces seems to like exclamation points in their URLs, they must be pandering to Yahoo! ;)
git-svn-id: http://svn.automattic.com/wordpress/trunk@4593 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2006-12-03 21:55:42 +00:00
matt c6531fe271 Don't texturize things inside of script or style tags, fixes #2647
git-svn-id: http://svn.automattic.com/wordpress/trunk@4565 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2006-12-01 02:53:20 +00:00
matt 162dcec906 Small cleanup to autop, fixes #3238
git-svn-id: http://svn.automattic.com/wordpress/trunk@4562 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2006-11-30 23:32:45 +00:00
ryan f066f5ed43 Truncate sanitized titles to the size of the post_name field without killing multibye characters.
git-svn-id: http://svn.automattic.com/wordpress/trunk@4560 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2006-11-30 20:26:42 +00:00
ryan b6e8b1f1c6 Spare input, param, and script from autop. fixes #3054
git-svn-id: http://svn.automattic.com/wordpress/trunk@4553 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2006-11-30 02:00:40 +00:00
ryan 6f8d9c92a5 Make wptexturize faster. Props ecb29. fixes #2980
git-svn-id: http://svn.automattic.com/wordpress/trunk@4511 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2006-11-21 22:00:10 +00:00
ryan 9f534ebae6 Remove trailing spaces and convert spaces to tabs. Props Nazgul. fixes #986
git-svn-id: http://svn.automattic.com/wordpress/trunk@4495 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2006-11-19 07:56:05 +00:00
ryan a5b7a24962 Fix amp handling. Props skeltoac. fixes #3328
git-svn-id: http://svn.automattic.com/wordpress/trunk@4451 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2006-11-08 01:12:41 +00:00
markjaquith e18222df3d fix function name error in last two commits. fixes #3228
git-svn-id: http://svn.automattic.com/wordpress/trunk@4387 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2006-10-13 06:08:27 +00:00
markjaquith 6c5769cc4c make_clickable() now faster and supports more link positions, from mdawaffe and myself. fixes #3228
git-svn-id: http://svn.automattic.com/wordpress/trunk@4386 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2006-10-13 06:01:33 +00:00
markjaquith f771adf9ee Somewhat stricter smilies replacements by Nazgul. fixes #3222
git-svn-id: http://svn.automattic.com/wordpress/trunk@4380 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2006-10-12 10:14:14 +00:00
ryan e710ff1a29 Smilies optimization from Nazgul. fixes #3201 #3216
git-svn-id: http://svn.automattic.com/wordpress/trunk@4360 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2006-10-07 19:16:24 +00:00
ryan f23a961877 Relativize links. Props mdawaffe. fixes #3211
git-svn-id: http://svn.automattic.com/wordpress/trunk@4353 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2006-10-06 22:43:21 +00:00
ryan 7757b7ff4e Relativize links. Props mdawaffe.
git-svn-id: http://svn.automattic.com/wordpress/trunk@4348 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2006-10-06 00:34:58 +00:00
markjaquith 175bfff21d Strip out British pound sterling (pound) symbol from post slug. fixes #2735
git-svn-id: http://svn.automattic.com/wordpress/trunk@4320 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2006-10-04 07:51:11 +00:00
markjaquith 9a7f374e7c Allow user replacement of cockney replacement array. fixes #1032
git-svn-id: http://svn.automattic.com/wordpress/trunk@4308 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2006-10-04 06:07:48 +00:00
ryan 8567d57da9 Smiley parsing fixes from Nazgul. fixes #2444 #1279
git-svn-id: http://svn.automattic.com/wordpress/trunk@4283 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2006-10-04 02:21:27 +00:00
ryan f666759471 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: http://svn.automattic.com/wordpress/trunk@4184 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2006-09-11 23:59:00 +00:00
ryan 2879a6219e Recognize paragraph tags with attributes when stripping breaks. Props rockinfree. fixes #1706
git-svn-id: http://svn.automattic.com/wordpress/trunk@4167 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2006-09-07 00:33:05 +00:00
ryan 99380ce7b2 Fix percent stripping in clean_url.
git-svn-id: http://svn.automattic.com/wordpress/trunk@4148 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2006-08-31 17:30:17 +00:00
ryan 849a0d29d7 Use get_option instead of get_settings. Just 'cause.
git-svn-id: http://svn.automattic.com/wordpress/trunk@4144 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2006-08-30 21:46:31 +00:00
ryan bbb5ffca6d Don't duplicate nofollow on edit. Props filosofo. fixes #2995
git-svn-id: http://svn.automattic.com/wordpress/trunk@4135 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2006-08-30 16:50:12 +00:00
ryan 45cacb257a Faster remove accents. Props skeltoac. fixes #2978
git-svn-id: http://svn.automattic.com/wordpress/trunk@4050 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2006-07-26 22:55:36 +00:00
ryan d842e5093f Make clickable fix from whooami. fixes #2889
git-svn-id: http://svn.automattic.com/wordpress/trunk@4011 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2006-07-11 03:30:12 +00:00
ryan c05e9ea756 Preserve newlines inside style and script tags. Props Nazgul. fixes #2833
git-svn-id: http://svn.automattic.com/wordpress/trunk@3965 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2006-07-04 23:16:04 +00:00
ryan 7360897fef Force balanced tags in comments. Props Nazgul. fixes #2714
git-svn-id: http://svn.automattic.com/wordpress/trunk@3963 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2006-07-04 22:09:44 +00:00
ryan e232ef9a32 js_escape() in onclicks. fixes #2851
git-svn-id: http://svn.automattic.com/wordpress/trunk@3907 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2006-06-24 01:28:08 +00:00
ryan c93efa866e Include file renames. #2525
git-svn-id: http://svn.automattic.com/wordpress/trunk@3862 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2006-06-11 06:43:54 +00:00