Commit Graph

45 Commits

Author SHA1 Message Date
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
saxmatt
3f69cb1566 Fix for preg /e automatically adding slashes under some magic_quotes setting. BLAH.
Fix to not double escape values we're putting into the DB. This is an old, old bug from b2.


git-svn-id: http://svn.automattic.com/wordpress/trunk@1021 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2004-03-29 03:54:57 +00:00
saxmatt
b4a43ce64d Texturize kung-foo
git-svn-id: http://svn.automattic.com/wordpress/trunk@985 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2004-03-22 01:34:32 +00:00
saxmatt
ee0af1789d Fix autop to not mess with pre blocks.
git-svn-id: http://svn.automattic.com/wordpress/trunk@980 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2004-03-21 07:07:55 +00:00
saxmatt
9410b1835c Texturize missing some table block level tags.
git-svn-id: http://svn.automattic.com/wordpress/trunk@972 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2004-03-11 16:38:54 +00:00
saxmatt
a0867db6ed Migration to get_settings and away from globals.
git-svn-id: http://svn.automattic.com/wordpress/trunk@957 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2004-03-01 19:55:45 +00:00
saxmatt
b6aa1f6807 Migration to get_settings
git-svn-id: http://svn.automattic.com/wordpress/trunk@956 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2004-03-01 06:13:32 +00:00
saxmatt
9e718aff7a Migrating more of the global options to get_settings().
git-svn-id: http://svn.automattic.com/wordpress/trunk@955 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2004-02-29 08:43:36 +00:00
michelvaldrighi
b4eb99a27f fixed and simplified get_date_from_gmt and get_gmt_from_date
git-svn-id: http://svn.automattic.com/wordpress/trunk@928 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2004-02-23 16:09:27 +00:00
michelvaldrighi
f73218bb31 fixed get_date_from_gmt()
git-svn-id: http://svn.automattic.com/wordpress/trunk@918 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2004-02-23 05:36:57 +00:00
michelvaldrighi
bd3265d911 added get_date_from_gmt()
git-svn-id: http://svn.automattic.com/wordpress/trunk@917 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2004-02-23 04:37:11 +00:00
michelvaldrighi
95b3def4b6 better get time_difference from get_settings than assume a global is set
git-svn-id: http://svn.automattic.com/wordpress/trunk@915 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2004-02-23 03:46:55 +00:00
michelvaldrighi
d92647edb0 added get_gmt_from_date()
git-svn-id: http://svn.automattic.com/wordpress/trunk@913 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2004-02-23 03:04:55 +00:00
michelvaldrighi
a6165937b1 fixes to handle ISO-scrambled email subjects in wp-mail
git-svn-id: http://svn.automattic.com/wordpress/trunk@907 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2004-02-22 00:31:25 +00:00
saxmatt
d0c81c9f8e Fix for id= bug. Old code made obsolete by KSES.
git-svn-id: http://svn.automattic.com/wordpress/trunk@876 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2004-02-16 03:18:36 +00:00
saxmatt
a8d831a286 Texturize tweak.
git-svn-id: http://svn.automattic.com/wordpress/trunk@875 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2004-02-16 03:02:25 +00:00
saxmatt
725ec5f2e0 Autop improvement
git-svn-id: http://svn.automattic.com/wordpress/trunk@868 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2004-02-13 06:33:55 +00:00
saxmatt
c49fecf3f0 Breaking out some of the formatting functions into a different file.
git-svn-id: http://svn.automattic.com/wordpress/trunk@846 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2004-02-09 06:57:02 +00:00