Commit Graph

67 Commits

Author SHA1 Message Date
saxmatt 6f8ab483d8 When good regex goes bad - http://mosquito.wordpress.org/view.php?id=851
git-svn-id: http://svn.automattic.com/wordpress/trunk@2246 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2005-02-11 00:55:01 +00:00
saxmatt 81e7d9218f Some filter action and cleanup
git-svn-id: http://svn.automattic.com/wordpress/trunk@2240 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2005-02-07 07:46:41 +00:00
rboren dc140e66c8 Don't stomp the percent in escaped octets.
git-svn-id: http://svn.automattic.com/wordpress/trunk@2189 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2005-02-01 08:31:13 +00:00
saxmatt 1a10aedc78 Copyright and registered corrections cause more trouble than they help
git-svn-id: http://svn.automattic.com/wordpress/trunk@2178 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2005-02-01 01:13:11 +00:00
saxmatt 3e1ff77a0e Handle time_diff less than a minute http://mosquito.wordpress.org/view.php?id=737
git-svn-id: http://svn.automattic.com/wordpress/trunk@2124 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2005-01-24 06:01:04 +00:00
saxmatt 25897c2b91 Adding nofollow support
git-svn-id: http://svn.automattic.com/wordpress/trunk@2117 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2005-01-21 18:24:14 +00:00
saxmatt a4857688db Patch for balanceTags from Scott Reilly: http://mosquito.wordpress.org/view.php?id=53
git-svn-id: http://svn.automattic.com/wordpress/trunk@2057 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2005-01-06 10:24:11 +00:00
saxmatt acd814c90f Don't muddy <pre> pool
git-svn-id: http://svn.automattic.com/wordpress/trunk@2056 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2005-01-06 10:10:55 +00:00
rboren 72430a4584 Remove % from title before utf8 uri encoding is done.
git-svn-id: http://svn.automattic.com/wordpress/trunk@2036 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2005-01-02 09:08:55 +00:00
michelvaldrighi 88f5c2951c fixed bad b2 mistakes: zeroise is really a glorified sprintf; funky_javascript_fix was only needed for Gecko because of bad Apaches running with AddDefaultCharset On, and the fixes for Gecko weren't even accurate
git-svn-id: http://svn.automattic.com/wordpress/trunk@2018 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2004-12-30 17:34:27 +00:00
saxmatt 8c472b4241 Make work with https URIs
git-svn-id: http://svn.automattic.com/wordpress/trunk@2008 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2004-12-28 20:28:57 +00:00
rboren c29d067801 Fix single quote sanitization. Bug 594. Hat Tip: bcrow.
git-svn-id: http://svn.automattic.com/wordpress/trunk@2001 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2004-12-25 17:21:43 +00:00
rboren 8790a95eeb Fix href quoting. Bug 532. Hat Tip: MooKitty.
git-svn-id: http://svn.automattic.com/wordpress/trunk@1999 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2004-12-24 21:00:06 +00:00
saxmatt f9b77bb837 Clean up global ideas from michel_v
git-svn-id: http://svn.automattic.com/wordpress/trunk@1994 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2004-12-23 00:08:43 +00:00
rboren 02ea09c795 Remove percent signs from slugs. PAtch from MooKitty. Bug 569.
git-svn-id: http://svn.automattic.com/wordpress/trunk@1984 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2004-12-20 06:35:54 +00:00
saxmatt 1bd4057b23 Bug fixes
git-svn-id: http://svn.automattic.com/wordpress/trunk@1980 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2004-12-19 07:26:43 +00:00
saxmatt 3f39fe4b61 First pass at dashboard. Hat tip: Jesuit.
git-svn-id: http://svn.automattic.com/wordpress/trunk@1976 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2004-12-19 00:10:10 +00:00
saxmatt 65bbec71d0 Comments refactoring and cleanup
git-svn-id: http://svn.automattic.com/wordpress/trunk@1964 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2004-12-16 02:57:05 +00:00
saxmatt c3e1d51c20 Axing htmlspecialchars because it double-encodes-encodes. Better error handling around queries.
git-svn-id: http://svn.automattic.com/wordpress/trunk@1940 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2004-12-12 20:41:19 +00:00
saxmatt 5fcde26744 Don't wrap horizontal rules in paragraphs.
git-svn-id: http://svn.automattic.com/wordpress/trunk@1927 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2004-12-09 00:32:14 +00:00
rboren c37fc847ff Comment the unicode blocks.
git-svn-id: http://svn.automattic.com/wordpress/trunk@1925 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2004-12-09 00:16:33 +00:00
saxmatt 2852e800da Don't add breaks to <colgroup>s. Hat tip: Joe Clark.
git-svn-id: http://svn.automattic.com/wordpress/trunk@1914 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2004-12-07 20:09:46 +00:00
saxmatt 33cd55d276 Don't forget to strip
git-svn-id: http://svn.automattic.com/wordpress/trunk@1665 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2004-09-16 01:08:50 +00:00
rboren 692b713381 Incorporate utf8_uri_encode() in sanitize_title(). Improve UTF-8 accented character decomposition in remove_accents().
git-svn-id: http://svn.automattic.com/wordpress/trunk@1636 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2004-09-10 08:36:54 +00:00
saxmatt 68fba20343 Some named entities have numbers.
git-svn-id: http://svn.automattic.com/wordpress/trunk@1623 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2004-09-08 08:48:36 +00:00
saxmatt da9e7308b7 Texturize fix.
git-svn-id: http://svn.automattic.com/wordpress/trunk@1592 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2004-09-04 20:47:52 +00:00
saxmatt 17433d3a32 Improved autolink function. http://mosquito.wordpress.org/bug_view_page.php?bug_id=0000236
git-svn-id: http://svn.automattic.com/wordpress/trunk@1571 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2004-08-28 08:40:13 +00:00
saxmatt 72e99ca6fa Missing table block elements from arnau siches
git-svn-id: http://svn.automattic.com/wordpress/trunk@1554 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2004-08-23 09:07:07 +00:00
rboren b2fe32b18d In sanitize_title(), strip_tags() before sanitizing, not after. In post.php, if post name is empty, pass the post title to the sanitizer.
git-svn-id: http://svn.automattic.com/wordpress/trunk@1512 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2004-08-06 01:28:51 +00:00
rboren c0a7433958 strip_tags from title in sanitize_title(). Patch from Masquerade for bugs 0000181 and 00000107.
git-svn-id: http://svn.automattic.com/wordpress/trunk@1488 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2004-07-27 15:12:18 +00:00
rboren 8633ffdba4 If the sanitized title is empty, fallback to the post ID for the nicename. http://mosquito.wordpress.org/bug_view_page.php?bug_id=0000116
git-svn-id: http://svn.automattic.com/wordpress/trunk@1481 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2004-07-24 03:22:49 +00:00
rboren 6fd6b1080d stripslashes() elimination. Remove extra slashes during upgrade. Bugs 0000059 and 0000018
git-svn-id: http://svn.automattic.com/wordpress/trunk@1435 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2004-06-18 00:22:09 +00:00
saxmatt dce17fa6d6 http://mosquito.wordpress.org/bug_view_page.php?bug_id=0000013
git-svn-id: http://svn.automattic.com/wordpress/trunk@1409 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2004-06-11 17:52:41 +00:00
rboren 692627e424 Get our slashes straight.
git-svn-id: http://svn.automattic.com/wordpress/trunk@1405 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2004-06-11 08:02:40 +00:00
saxmatt 4f6e367f90 Gzip cleanup, debugged wacky options problem, some cleanup and reorg. We need to split up functions.php more logically, and kill some of the useless functions.
git-svn-id: http://svn.automattic.com/wordpress/trunk@1404 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2004-06-10 10:01:45 +00:00
michelvaldrighi 38293cef03 added iso8601 handling functions, to avoid ugly nasty conversions
git-svn-id: http://svn.automattic.com/wordpress/trunk@1372 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2004-05-31 17:02:09 +00:00
saxmatt 3c8d213ac1 Fix for unencoded ampersands. When did we lose this?
git-svn-id: http://svn.automattic.com/wordpress/trunk@1361 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2004-05-25 04:33:37 +00:00
michelvaldrighi a37b646a67 new remove_accents for sanitize_title, not relying on the file's charset
git-svn-id: http://svn.automattic.com/wordpress/trunk@1345 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2004-05-22 14:34:09 +00:00
michelvaldrighi be0bac91d8 strip leading and trailing dashes from post slugs
git-svn-id: http://svn.automattic.com/wordpress/trunk@1336 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2004-05-21 21:35:16 +00:00
michelvaldrighi 056ba53cce removing removeaccents, will put replacement after a release is out
git-svn-id: http://svn.automattic.com/wordpress/trunk@1334 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2004-05-21 21:05:17 +00:00
rboren d267a0f119 Add removeaccents for use in sanitize_title to remove accents from characters so that they can be used in permalinks. Bust the functionality in sanitize_title out into a replaceable filter.
git-svn-id: http://svn.automattic.com/wordpress/trunk@1333 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2004-05-21 08:37:55 +00:00
saxmatt 56dc234e6a Support for MathML, from Jacques Distler.
git-svn-id: http://svn.automattic.com/wordpress/trunk@1329 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2004-05-20 17:25:26 +00:00
rboren d262c2d8cb Add santize_title action.
git-svn-id: http://svn.automattic.com/wordpress/trunk@1290 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2004-05-16 22:14:14 +00:00
rboren c454490973 Allow underscores in category and author names.
git-svn-id: http://svn.automattic.com/wordpress/trunk@1289 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2004-05-16 22:07:26 +00:00
saxmatt a2551a08ad Emails allow + per RFC. Hat tip: crw
git-svn-id: http://svn.automattic.com/wordpress/trunk@1269 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2004-05-14 05:52:53 +00:00
saxmatt ba407ff5b3 E_ALL fixes and cleanups.
git-svn-id: http://svn.automattic.com/wordpress/trunk@1239 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2004-05-07 23:56:33 +00:00
saxmatt 9945a746ec Timezone fixes, I hope.
git-svn-id: http://svn.automattic.com/wordpress/trunk@1150 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2004-04-24 21:52:24 +00:00
saxmatt 9439a575f6 Removing some old functions. Cleaning up remaining places where we exposed emails. Consolidated ampersand fixing. Fixed pasting from Word.
git-svn-id: http://svn.automattic.com/wordpress/trunk@1121 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2004-04-22 07:41:57 +00:00
saxmatt 28eef6a8da Use word fixes all the time.
git-svn-id: http://svn.automattic.com/wordpress/trunk@1118 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2004-04-22 00:44:14 +00:00
saxmatt 3402b5aa08 Added more API hooks for edit and post formatting.
git-svn-id: http://svn.automattic.com/wordpress/trunk@1052 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2004-04-04 23:15:54 +00:00