Commit Graph

94 Commits

Author SHA1 Message Date
Ryan Boren
ebcdb0990e Incorporate utf8_uri_encode() in sanitize_title(). Improve UTF-8 accented character decomposition in remove_accents().
git-svn-id: https://develop.svn.wordpress.org/trunk@1636 602fd350-edb4-49c9-b593-d223f7449a82
2004-09-10 08:36:54 +00:00
Matt Mullenweg
adf3e5d380 Some named entities have numbers.
git-svn-id: https://develop.svn.wordpress.org/trunk@1623 602fd350-edb4-49c9-b593-d223f7449a82
2004-09-08 08:48:36 +00:00
Matt Mullenweg
1173ae6867 Texturize fix.
git-svn-id: https://develop.svn.wordpress.org/trunk@1592 602fd350-edb4-49c9-b593-d223f7449a82
2004-09-04 20:47:52 +00:00
Matt Mullenweg
d89603ce20 Improved autolink function. http://mosquito.wordpress.org/bug_view_page.php?bug_id=0000236
git-svn-id: https://develop.svn.wordpress.org/trunk@1571 602fd350-edb4-49c9-b593-d223f7449a82
2004-08-28 08:40:13 +00:00
Matt Mullenweg
230d603f6d Missing table block elements from arnau siches
git-svn-id: https://develop.svn.wordpress.org/trunk@1554 602fd350-edb4-49c9-b593-d223f7449a82
2004-08-23 09:07:07 +00:00
Ryan Boren
32bd9e6ac7 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: https://develop.svn.wordpress.org/trunk@1512 602fd350-edb4-49c9-b593-d223f7449a82
2004-08-06 01:28:51 +00:00
Ryan Boren
5cf4b39065 strip_tags from title in sanitize_title(). Patch from Masquerade for bugs 0000181 and 00000107.
git-svn-id: https://develop.svn.wordpress.org/trunk@1488 602fd350-edb4-49c9-b593-d223f7449a82
2004-07-27 15:12:18 +00:00
Ryan Boren
68f755f608 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: https://develop.svn.wordpress.org/trunk@1481 602fd350-edb4-49c9-b593-d223f7449a82
2004-07-24 03:22:49 +00:00
Ryan Boren
475e0b9e07 stripslashes() elimination. Remove extra slashes during upgrade. Bugs 0000059 and 0000018
git-svn-id: https://develop.svn.wordpress.org/trunk@1435 602fd350-edb4-49c9-b593-d223f7449a82
2004-06-18 00:22:09 +00:00
Matt Mullenweg
e0ef0f1631 http://mosquito.wordpress.org/bug_view_page.php?bug_id=0000013
git-svn-id: https://develop.svn.wordpress.org/trunk@1409 602fd350-edb4-49c9-b593-d223f7449a82
2004-06-11 17:52:41 +00:00
Ryan Boren
a5a67ec795 Get our slashes straight.
git-svn-id: https://develop.svn.wordpress.org/trunk@1405 602fd350-edb4-49c9-b593-d223f7449a82
2004-06-11 08:02:40 +00:00
Matt Mullenweg
39541ea299 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: https://develop.svn.wordpress.org/trunk@1404 602fd350-edb4-49c9-b593-d223f7449a82
2004-06-10 10:01:45 +00:00
michelvaldrighi
bec01652c4 added iso8601 handling functions, to avoid ugly nasty conversions
git-svn-id: https://develop.svn.wordpress.org/trunk@1372 602fd350-edb4-49c9-b593-d223f7449a82
2004-05-31 17:02:09 +00:00
Matt Mullenweg
be058a1058 Fix for unencoded ampersands. When did we lose this?
git-svn-id: https://develop.svn.wordpress.org/trunk@1361 602fd350-edb4-49c9-b593-d223f7449a82
2004-05-25 04:33:37 +00:00
michelvaldrighi
c4d4add631 new remove_accents for sanitize_title, not relying on the file's charset
git-svn-id: https://develop.svn.wordpress.org/trunk@1345 602fd350-edb4-49c9-b593-d223f7449a82
2004-05-22 14:34:09 +00:00
michelvaldrighi
5ffeea8e7c strip leading and trailing dashes from post slugs
git-svn-id: https://develop.svn.wordpress.org/trunk@1336 602fd350-edb4-49c9-b593-d223f7449a82
2004-05-21 21:35:16 +00:00
michelvaldrighi
be29cd98fb removing removeaccents, will put replacement after a release is out
git-svn-id: https://develop.svn.wordpress.org/trunk@1334 602fd350-edb4-49c9-b593-d223f7449a82
2004-05-21 21:05:17 +00:00
Ryan Boren
49bb2124c1 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: https://develop.svn.wordpress.org/trunk@1333 602fd350-edb4-49c9-b593-d223f7449a82
2004-05-21 08:37:55 +00:00
Matt Mullenweg
ceb940bbe2 Support for MathML, from Jacques Distler.
git-svn-id: https://develop.svn.wordpress.org/trunk@1329 602fd350-edb4-49c9-b593-d223f7449a82
2004-05-20 17:25:26 +00:00
Ryan Boren
7a85e8bfbf Add santize_title action.
git-svn-id: https://develop.svn.wordpress.org/trunk@1290 602fd350-edb4-49c9-b593-d223f7449a82
2004-05-16 22:14:14 +00:00
Ryan Boren
7c3ee9392d Allow underscores in category and author names.
git-svn-id: https://develop.svn.wordpress.org/trunk@1289 602fd350-edb4-49c9-b593-d223f7449a82
2004-05-16 22:07:26 +00:00
Matt Mullenweg
75e8778c2b Emails allow + per RFC. Hat tip: crw
git-svn-id: https://develop.svn.wordpress.org/trunk@1269 602fd350-edb4-49c9-b593-d223f7449a82
2004-05-14 05:52:53 +00:00
Matt Mullenweg
3fedfb5746 E_ALL fixes and cleanups.
git-svn-id: https://develop.svn.wordpress.org/trunk@1239 602fd350-edb4-49c9-b593-d223f7449a82
2004-05-07 23:56:33 +00:00
Matt Mullenweg
4b6149eecf Timezone fixes, I hope.
git-svn-id: https://develop.svn.wordpress.org/trunk@1150 602fd350-edb4-49c9-b593-d223f7449a82
2004-04-24 21:52:24 +00:00
Matt Mullenweg
e5cbab641a Removing some old functions. Cleaning up remaining places where we exposed emails. Consolidated ampersand fixing. Fixed pasting from Word.
git-svn-id: https://develop.svn.wordpress.org/trunk@1121 602fd350-edb4-49c9-b593-d223f7449a82
2004-04-22 07:41:57 +00:00
Matt Mullenweg
59010e399d Use word fixes all the time.
git-svn-id: https://develop.svn.wordpress.org/trunk@1118 602fd350-edb4-49c9-b593-d223f7449a82
2004-04-22 00:44:14 +00:00
Matt Mullenweg
e15ea4abaf Added more API hooks for edit and post formatting.
git-svn-id: https://develop.svn.wordpress.org/trunk@1052 602fd350-edb4-49c9-b593-d223f7449a82
2004-04-04 23:15:54 +00:00
Matt Mullenweg
250fa3805c 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: https://develop.svn.wordpress.org/trunk@1021 602fd350-edb4-49c9-b593-d223f7449a82
2004-03-29 03:54:57 +00:00
Matt Mullenweg
8ee4986acb Texturize kung-foo
git-svn-id: https://develop.svn.wordpress.org/trunk@985 602fd350-edb4-49c9-b593-d223f7449a82
2004-03-22 01:34:32 +00:00
Matt Mullenweg
347f95fd22 Fix autop to not mess with pre blocks.
git-svn-id: https://develop.svn.wordpress.org/trunk@980 602fd350-edb4-49c9-b593-d223f7449a82
2004-03-21 07:07:55 +00:00
Matt Mullenweg
938bbef3cb Texturize missing some table block level tags.
git-svn-id: https://develop.svn.wordpress.org/trunk@972 602fd350-edb4-49c9-b593-d223f7449a82
2004-03-11 16:38:54 +00:00
Matt Mullenweg
e64b754d4a Migration to get_settings and away from globals.
git-svn-id: https://develop.svn.wordpress.org/trunk@957 602fd350-edb4-49c9-b593-d223f7449a82
2004-03-01 19:55:45 +00:00
Matt Mullenweg
59155a15f3 Migration to get_settings
git-svn-id: https://develop.svn.wordpress.org/trunk@956 602fd350-edb4-49c9-b593-d223f7449a82
2004-03-01 06:13:32 +00:00
Matt Mullenweg
37c361e964 Migrating more of the global options to get_settings().
git-svn-id: https://develop.svn.wordpress.org/trunk@955 602fd350-edb4-49c9-b593-d223f7449a82
2004-02-29 08:43:36 +00:00
michelvaldrighi
40c3611490 fixed and simplified get_date_from_gmt and get_gmt_from_date
git-svn-id: https://develop.svn.wordpress.org/trunk@928 602fd350-edb4-49c9-b593-d223f7449a82
2004-02-23 16:09:27 +00:00
michelvaldrighi
92b7e672a4 fixed get_date_from_gmt()
git-svn-id: https://develop.svn.wordpress.org/trunk@918 602fd350-edb4-49c9-b593-d223f7449a82
2004-02-23 05:36:57 +00:00
michelvaldrighi
e6a37dfd73 added get_date_from_gmt()
git-svn-id: https://develop.svn.wordpress.org/trunk@917 602fd350-edb4-49c9-b593-d223f7449a82
2004-02-23 04:37:11 +00:00
michelvaldrighi
41e3c76f01 better get time_difference from get_settings than assume a global is set
git-svn-id: https://develop.svn.wordpress.org/trunk@915 602fd350-edb4-49c9-b593-d223f7449a82
2004-02-23 03:46:55 +00:00
michelvaldrighi
70e0de6054 added get_gmt_from_date()
git-svn-id: https://develop.svn.wordpress.org/trunk@913 602fd350-edb4-49c9-b593-d223f7449a82
2004-02-23 03:04:55 +00:00
michelvaldrighi
5c5ae0230a fixes to handle ISO-scrambled email subjects in wp-mail
git-svn-id: https://develop.svn.wordpress.org/trunk@907 602fd350-edb4-49c9-b593-d223f7449a82
2004-02-22 00:31:25 +00:00
Matt Mullenweg
4a8a38f300 Fix for id= bug. Old code made obsolete by KSES.
git-svn-id: https://develop.svn.wordpress.org/trunk@876 602fd350-edb4-49c9-b593-d223f7449a82
2004-02-16 03:18:36 +00:00
Matt Mullenweg
b680691cef Texturize tweak.
git-svn-id: https://develop.svn.wordpress.org/trunk@875 602fd350-edb4-49c9-b593-d223f7449a82
2004-02-16 03:02:25 +00:00
Matt Mullenweg
2a85f5b103 Autop improvement
git-svn-id: https://develop.svn.wordpress.org/trunk@868 602fd350-edb4-49c9-b593-d223f7449a82
2004-02-13 06:33:55 +00:00
Matt Mullenweg
84886ddc38 Breaking out some of the formatting functions into a different file.
git-svn-id: https://develop.svn.wordpress.org/trunk@846 602fd350-edb4-49c9-b593-d223f7449a82
2004-02-09 06:57:02 +00:00