Commit Graph

182 Commits

Author SHA1 Message Date
Andrew Ozz
297703490b Fix regex function in sanitize_email(), see #9316
git-svn-id: https://develop.svn.wordpress.org/trunk@10777 602fd350-edb4-49c9-b593-d223f7449a82
2009-03-13 19:04:39 +00:00
Ryan Boren
89c67a8b40 Improved is_email() and sanitize_email(). Props sambauers. fixes #9316 #4616
git-svn-id: https://develop.svn.wordpress.org/trunk@10769 602fd350-edb4-49c9-b593-d223f7449a82
2009-03-11 15:26:34 +00:00
Ryan Boren
1952e923f8 gettext contexts. Props nbachiyski. see #9112
git-svn-id: https://develop.svn.wordpress.org/trunk@10767 602fd350-edb4-49c9-b593-d223f7449a82
2009-03-10 23:02:29 +00:00
Ryan Boren
8e9edf3e5a Use mb_substr instead of mb_strcut in wp_html_excerpt. Props demetris. fixes #9055
git-svn-id: https://develop.svn.wordpress.org/trunk@10702 602fd350-edb4-49c9-b593-d223f7449a82
2009-03-04 19:41:18 +00:00
Ryan Boren
854a8d6341 Use _n(). Props nbachiyski. fixes #9111
git-svn-id: https://develop.svn.wordpress.org/trunk@10606 602fd350-edb4-49c9-b593-d223f7449a82
2009-02-20 19:35:16 +00:00
Ryan Boren
d27d34793d Handle links with parens in make_clickable(). Props filosofo. fixes #8300
git-svn-id: https://develop.svn.wordpress.org/trunk@10562 602fd350-edb4-49c9-b593-d223f7449a82
2009-02-12 19:52:43 +00:00
Andrew Ozz
2ffb3663e4 Reduce backtracking in autop, fixes #6877, see #8553
git-svn-id: https://develop.svn.wordpress.org/trunk@10527 602fd350-edb4-49c9-b593-d223f7449a82
2009-02-08 16:08:02 +00:00
Andrew Ozz
aa574da3db Fix PHP notice in force_balance_tags(), props beaulebens, fixes #9067
git-svn-id: https://develop.svn.wordpress.org/trunk@10523 602fd350-edb4-49c9-b593-d223f7449a82
2009-02-08 04:16:58 +00:00
Ryan Boren
560eacbb44 Add missing preg delimiters. Props ridgerunner. fixes #8986 for trunk
git-svn-id: https://develop.svn.wordpress.org/trunk@10459 602fd350-edb4-49c9-b593-d223f7449a82
2009-01-29 17:46:31 +00:00
Ryan Boren
c46a012328 Silence charset not supported warnings
git-svn-id: https://develop.svn.wordpress.org/trunk@10398 602fd350-edb4-49c9-b593-d223f7449a82
2009-01-21 20:28:51 +00:00
Andrew Ozz
2a684445e6 Fix incorrect quote style in wp_specialchars, props sambauers, see #8767
git-svn-id: https://develop.svn.wordpress.org/trunk@10376 602fd350-edb4-49c9-b593-d223f7449a82
2009-01-19 04:40:12 +00:00
Peter Westwood
733b554431 Update phpdoc for get_gmt_from_date(). Fixes #8869 for trunk
git-svn-id: https://develop.svn.wordpress.org/trunk@10370 602fd350-edb4-49c9-b593-d223f7449a82
2009-01-17 10:20:49 +00:00
Andrew Ozz
926adb5bcb Speed up wp_specialchars, props sambauers, see #8767
git-svn-id: https://develop.svn.wordpress.org/trunk@10355 602fd350-edb4-49c9-b593-d223f7449a82
2009-01-13 15:18:37 +00:00
Ryan Boren
2baa2f8e58 Use preg_replace_callback instead of preg_replace with eval. Props beaulebens. see #8689
git-svn-id: https://develop.svn.wordpress.org/trunk@10339 602fd350-edb4-49c9-b593-d223f7449a82
2009-01-09 19:29:35 +00:00
Ryan Boren
34ba806985 Faster smilies. Props johanee. fixes #6464
git-svn-id: https://develop.svn.wordpress.org/trunk@10322 602fd350-edb4-49c9-b593-d223f7449a82
2009-01-06 18:20:47 +00:00
Andrew Ozz
1d0781a8c8 Latest version of the patch for refactor filters to avoid potential XSS attacks, props sambauers and DD32, see #8767
git-svn-id: https://develop.svn.wordpress.org/trunk@10298 602fd350-edb4-49c9-b593-d223f7449a82
2009-01-04 23:37:47 +00:00
Andrew Ozz
ec804d2905 Refactor filters to avoid potential XSS attacks, props sambauers and DD32, see #8767
git-svn-id: https://develop.svn.wordpress.org/trunk@10297 602fd350-edb4-49c9-b593-d223f7449a82
2009-01-04 22:25:50 +00:00
Ryan Boren
baaaa352ba Strip trailing whitespace
git-svn-id: https://develop.svn.wordpress.org/trunk@10150 602fd350-edb4-49c9-b593-d223f7449a82
2008-12-09 18:03:31 +00:00
Mark Jaquith
82a39b97be Cast image sizes to ints. Explain that sizes are in pixels. fixes #8160
git-svn-id: https://develop.svn.wordpress.org/trunk@9661 602fd350-edb4-49c9-b593-d223f7449a82
2008-11-13 07:54:27 +00:00
Ryan Boren
06c6a7d153 Introduce normalize_whitespace(). Use it instead of wp_text_diff() when checking for identical autosave revisions. Props tellyworth. fixes #7691
git-svn-id: https://develop.svn.wordpress.org/trunk@9302 602fd350-edb4-49c9-b593-d223f7449a82
2008-10-23 20:03:16 +00:00
Ryan Boren
44c170459e Reduce backtracking in wpautop. fixes #6877
git-svn-id: https://develop.svn.wordpress.org/trunk@9255 602fd350-edb4-49c9-b593-d223f7449a82
2008-10-20 19:25:02 +00:00
Peter Westwood
19bc50ea03 Notice fix and don't count inside a loop. Fixes #7653 props ryan.
git-svn-id: https://develop.svn.wordpress.org/trunk@9189 602fd350-edb4-49c9-b593-d223f7449a82
2008-10-15 20:47:56 +00:00
Matt Mullenweg
b2c2d93ed4 clean_url improvements, Hat tip: markjaquith. Reviewed by nbachiyskip. Fixes #7386.
git-svn-id: https://develop.svn.wordpress.org/trunk@9179 602fd350-edb4-49c9-b593-d223f7449a82
2008-10-14 22:58:30 +00:00
Ryan Boren
c2a331c502 Convert undefined constants to strings. Props jacobsantos. fixes #7651
git-svn-id: https://develop.svn.wordpress.org/trunk@9137 602fd350-edb4-49c9-b593-d223f7449a82
2008-10-13 22:14:52 +00:00
Ryan Boren
23fd52bd85 First cut of comment paging. Add paging and threading settings. see #7769 #7635
git-svn-id: https://develop.svn.wordpress.org/trunk@8961 602fd350-edb4-49c9-b593-d223f7449a82
2008-09-23 21:11:27 +00:00
Peter Westwood
e2b66fe7dc Add a filter on $excerpt_length. Fixes #7778 props dougal.
git-svn-id: https://develop.svn.wordpress.org/trunk@8958 602fd350-edb4-49c9-b593-d223f7449a82
2008-09-22 21:21:05 +00:00
Peter Westwood
33228d225d phpDoc updates for formatting functions fixes #5638 props jacobsantos.
git-svn-id: https://develop.svn.wordpress.org/trunk@8786 602fd350-edb4-49c9-b593-d223f7449a82
2008-08-31 20:58:19 +00:00
Peter Westwood
8d72a6d8b7 phpDoc updates for formatting functions fixes #5638 props jacobsantos.
git-svn-id: https://develop.svn.wordpress.org/trunk@8783 602fd350-edb4-49c9-b593-d223f7449a82
2008-08-30 21:28:11 +00:00
Peter Westwood
eab05b3379 phpDoc updates for formatting functions. See #5638 props scohoust and santosj.
git-svn-id: https://develop.svn.wordpress.org/trunk@8743 602fd350-edb4-49c9-b593-d223f7449a82
2008-08-27 06:49:21 +00:00
Ryan Boren
519072ea9f Consolidate contiguous whitespace in usernames
git-svn-id: https://develop.svn.wordpress.org/trunk@8704 602fd350-edb4-49c9-b593-d223f7449a82
2008-08-21 22:58:29 +00:00
Peter Westwood
0d0bb6aad8 phpdoc for formatting functions. See #5638 props scohoust.
git-svn-id: https://develop.svn.wordpress.org/trunk@8662 602fd350-edb4-49c9-b593-d223f7449a82
2008-08-17 11:29:43 +00:00
Ryan Boren
2272a1a950 Trailing whitespace cleanup
git-svn-id: https://develop.svn.wordpress.org/trunk@8600 602fd350-edb4-49c9-b593-d223f7449a82
2008-08-09 05:36:14 +00:00
Peter Westwood
010f5ed7b2 Lots of fixes for Notices when WP_DEBUG is set. See #6669 props santosj.
git-svn-id: https://develop.svn.wordpress.org/trunk@8589 602fd350-edb4-49c9-b593-d223f7449a82
2008-08-08 17:05:10 +00:00
Peter Westwood
0d522c3898 Plugin Install GSOC project first code drop. Props DD32 see #6015.
git-svn-id: https://develop.svn.wordpress.org/trunk@8540 602fd350-edb4-49c9-b593-d223f7449a82
2008-08-04 21:01:09 +00:00
Ryan Boren
5e982913b6 Allow IRIs. Props guillep2k. fixes #4570
git-svn-id: https://develop.svn.wordpress.org/trunk@8525 602fd350-edb4-49c9-b593-d223f7449a82
2008-08-02 17:32:25 +00:00
Ryan Boren
6b75258ab7 Hands off pre tags. Props nbachiyski. fixes #7056
git-svn-id: https://develop.svn.wordpress.org/trunk@8298 602fd350-edb4-49c9-b593-d223f7449a82
2008-07-09 04:52:27 +00:00
Ryan Boren
304340a9b0 Fix quotes in captions. Props azaozz. see #6812
git-svn-id: https://develop.svn.wordpress.org/trunk@8290 602fd350-edb4-49c9-b593-d223f7449a82
2008-07-08 23:38:53 +00:00
Ryan Boren
6866ceae15 Encode < and > in wp_richedit_pre. Props azaozz. fixes #6449
git-svn-id: https://develop.svn.wordpress.org/trunk@8073 602fd350-edb4-49c9-b593-d223f7449a82
2008-06-12 21:38:34 +00:00
Ryan Boren
daef9ff12d Strip shortcodes when making excerpts. Props hailin. fixes #7100
git-svn-id: https://develop.svn.wordpress.org/trunk@8054 602fd350-edb4-49c9-b593-d223f7449a82
2008-06-05 20:11:38 +00:00
Mark Jaquith
1c68bb873d Don't wpautop()-wrap shortcodes that stand alone. fixes #6444 for trunk
git-svn-id: https://develop.svn.wordpress.org/trunk@7815 602fd350-edb4-49c9-b593-d223f7449a82
2008-04-25 00:45:31 +00:00
Mark Jaquith
24a68a43b4 Revert [7700] from trunk in preparation for a different #6444 solution
git-svn-id: https://develop.svn.wordpress.org/trunk@7814 602fd350-edb4-49c9-b593-d223f7449a82
2008-04-25 00:43:44 +00:00
Mark Jaquith
d9efa4fa8f Allow shortcodes to run before or after wpautop()/texturize() formatting. Default to before for WP 2.5 compat. Props AaronCampbell
git-svn-id: https://develop.svn.wordpress.org/trunk@7699 602fd350-edb4-49c9-b593-d223f7449a82
2008-04-16 21:07:04 +00:00
Mark Jaquith
ba4dab3cd6 Fix gallery shortcode orderby param for all SQL setups. Sanitize orderby. fixes #6476 for trunk
git-svn-id: https://develop.svn.wordpress.org/trunk@7592 602fd350-edb4-49c9-b593-d223f7449a82
2008-04-03 03:05:49 +00:00
Mark Jaquith
1f101350ba Parse shortcodes AFTER wpautop() to avoid mangling. Have wptexturize() ignore shortcodes so quotes stay straight. fixes #6444 for trunk
git-svn-id: https://develop.svn.wordpress.org/trunk@7581 602fd350-edb4-49c9-b593-d223f7449a82
2008-03-31 07:56:58 +00:00
Ryan Boren
ec33c42302 Taxonomy links and template tags from andy. see #6357
git-svn-id: https://develop.svn.wordpress.org/trunk@7520 602fd350-edb4-49c9-b593-d223f7449a82
2008-03-26 06:37:19 +00:00
Matt Mullenweg
440a4d8076 Bring in forgotton tag_escape. Fixes #6368.
git-svn-id: https://develop.svn.wordpress.org/trunk@7497 602fd350-edb4-49c9-b593-d223f7449a82
2008-03-24 05:15:28 +00:00
Mark Jaquith
cbf4aa7f8c make_clickable() trailing punctuation fixes from neodude. fixes #5081
git-svn-id: https://develop.svn.wordpress.org/trunk@7452 602fd350-edb4-49c9-b593-d223f7449a82
2008-03-21 16:29:59 +00:00
Peter Westwood
8a55b3c977 Remove the entity decoding and recoding from wp_html_excerpt. Fixes #6077 props nbachiyski.
git-svn-id: https://develop.svn.wordpress.org/trunk@7190 602fd350-edb4-49c9-b593-d223f7449a82
2008-03-09 22:11:20 +00:00
Ryan Boren
cd9d655c72 Multi-byte character safe excerpting from nbachiyski. fixes #6077
git-svn-id: https://develop.svn.wordpress.org/trunk@7140 602fd350-edb4-49c9-b593-d223f7449a82
2008-03-03 21:05:23 +00:00
Ryan Boren
174f16123e Use preg_replace_callback() instead of using the 'e' modifier.
git-svn-id: https://develop.svn.wordpress.org/trunk@7056 602fd350-edb4-49c9-b593-d223f7449a82
2008-02-27 00:37:40 +00:00
Ryan Boren
26fadd399f Revert [7054]. No idea how I managed that.
git-svn-id: https://develop.svn.wordpress.org/trunk@7055 602fd350-edb4-49c9-b593-d223f7449a82
2008-02-27 00:36:33 +00:00
Ryan Boren
a1a893cc0c Fix users query
git-svn-id: https://develop.svn.wordpress.org/trunk@7054 602fd350-edb4-49c9-b593-d223f7449a82
2008-02-27 00:25:08 +00:00
Ryan Boren
579698f0b1 Media library work from andy. see #5911
git-svn-id: https://develop.svn.wordpress.org/trunk@6974 602fd350-edb4-49c9-b593-d223f7449a82
2008-02-22 05:53:47 +00:00
Ryan Boren
3c1a115108 htmlspecialchars when loading content into html editor. Props DD32 and andy. fixes #5796
git-svn-id: https://develop.svn.wordpress.org/trunk@6767 602fd350-edb4-49c9-b593-d223f7449a82
2008-02-09 07:29:36 +00:00
Ryan Boren
3a18b96c9b Trailing whitespace cleanup
git-svn-id: https://develop.svn.wordpress.org/trunk@6726 602fd350-edb4-49c9-b593-d223f7449a82
2008-02-05 06:47:27 +00:00
Ryan Boren
222e9ca396 like_escape() from nbachiyski. see #5684
git-svn-id: https://develop.svn.wordpress.org/trunk@6680 602fd350-edb4-49c9-b593-d223f7449a82
2008-01-29 17:20:27 +00:00
Ryan Boren
2b0713315f TinyMCE 3.0 RC1. First cut, eexpect regressions. Props azaozz. see #5674
git-svn-id: https://develop.svn.wordpress.org/trunk@6632 602fd350-edb4-49c9-b593-d223f7449a82
2008-01-17 15:44:05 +00:00
Ryan Boren
81eba533de Allow parens in urls. Props nbachiyski. fixes #5668
git-svn-id: https://develop.svn.wordpress.org/trunk@6613 602fd350-edb4-49c9-b593-d223f7449a82
2008-01-14 20:38:43 +00:00
Ryan Boren
26a0cf0e7b Remove debug
git-svn-id: https://develop.svn.wordpress.org/trunk@6452 602fd350-edb4-49c9-b593-d223f7449a82
2007-12-21 06:12:23 +00:00
Ryan Boren
b8965ef065 Be more selective in what we make clickable.
git-svn-id: https://develop.svn.wordpress.org/trunk@6449 602fd350-edb4-49c9-b593-d223f7449a82
2007-12-21 03:14:22 +00:00
Ryan Boren
e715ba1cd0 Allows 0 titles when sanitizing. Props mdawaffe. fixes #5293
git-svn-id: https://develop.svn.wordpress.org/trunk@6409 602fd350-edb4-49c9-b593-d223f7449a82
2007-12-19 17:45:50 +00:00
Ryan Boren
3a8b2fcca3 Remove unused vars. Props DD32. see #5418
git-svn-id: https://develop.svn.wordpress.org/trunk@6364 602fd350-edb4-49c9-b593-d223f7449a82
2007-12-06 19:49:33 +00:00
Ryan Boren
5697266149 Eliminate warnings in convert_smilies. Props tellyworth. fixes #5340
git-svn-id: https://develop.svn.wordpress.org/trunk@6331 602fd350-edb4-49c9-b593-d223f7449a82
2007-11-12 19:33:06 +00:00
Ryan Boren
667dad0a84 Improve performance of seems_utf8() and uf8_uri_encode(). fixes #5320
git-svn-id: https://develop.svn.wordpress.org/trunk@6314 602fd350-edb4-49c9-b593-d223f7449a82
2007-11-05 17:13:43 +00:00
Ryan Boren
c23298decb Add sanitize_url. Don't convert ampersands in URLs when saving to DB. fixes #4411 for trunk
git-svn-id: https://develop.svn.wordpress.org/trunk@6182 602fd350-edb4-49c9-b593-d223f7449a82
2007-10-03 16:16:55 +00:00
Ryan Boren
856779888e Revert [5969]. It can break permalinks. see #4739
git-svn-id: https://develop.svn.wordpress.org/trunk@6150 602fd350-edb4-49c9-b593-d223f7449a82
2007-09-21 19:36:12 +00:00
Ryan Boren
05d9662d3e no follow callback
git-svn-id: https://develop.svn.wordpress.org/trunk@6105 602fd350-edb4-49c9-b593-d223f7449a82
2007-09-13 04:51:33 +00:00
Ryan Boren
e0b73aa55a Don't strip slashes from pre. Props DelGurth and mdawaffe. fixes #2059
git-svn-id: https://develop.svn.wordpress.org/trunk@6102 602fd350-edb4-49c9-b593-d223f7449a82
2007-09-13 04:11:21 +00:00
Peter Westwood
2c1f68efe3 Allow plugins to sanitize there own options easily.
git-svn-id: https://develop.svn.wordpress.org/trunk@6096 602fd350-edb4-49c9-b593-d223f7449a82
2007-09-12 18:15:29 +00:00
Ryan Boren
7a43c01e08 Remove trailing whitespace
git-svn-id: https://develop.svn.wordpress.org/trunk@6026 602fd350-edb4-49c9-b593-d223f7449a82
2007-09-03 23:32:58 +00:00
Ryan Boren
0c1e57ff2b Don't strip @ from url. Fix scheme prefixing. Props pishmishy. fixes #3299
git-svn-id: https://develop.svn.wordpress.org/trunk@6015 602fd350-edb4-49c9-b593-d223f7449a82
2007-09-03 15:59:12 +00:00
Peter Westwood
c0e6a44fdf Add utf8->ascii mappings for icelandic letters. Fixes #4739 props einare
git-svn-id: https://develop.svn.wordpress.org/trunk@5969 602fd350-edb4-49c9-b593-d223f7449a82
2007-08-29 17:34:15 +00:00
Ryan Boren
48120ed74b Add clean_url filter. see #4570
git-svn-id: https://develop.svn.wordpress.org/trunk@5952 602fd350-edb4-49c9-b593-d223f7449a82
2007-08-27 23:31:09 +00:00
Peter Westwood
1532e450bb Enable plugins to override the cockney replace array, fixes #4804 props andihit
git-svn-id: https://develop.svn.wordpress.org/trunk@5930 602fd350-edb4-49c9-b593-d223f7449a82
2007-08-23 21:02:31 +00:00
Ryan Boren
c10c02374b Sanitize a few options
git-svn-id: https://develop.svn.wordpress.org/trunk@5914 602fd350-edb4-49c9-b593-d223f7449a82
2007-08-22 17:57:36 +00:00
Ryan Boren
1c5c2aee5c Make balanceTags() option independent. Props mdawaffe. fixes #4626
git-svn-id: https://develop.svn.wordpress.org/trunk@5805 602fd350-edb4-49c9-b593-d223f7449a82
2007-07-16 19:23:41 +00:00
Mark Jaquith
258e179448 Entitize lone less-than characters. Props mdawaffe. fixes #4409
git-svn-id: https://develop.svn.wordpress.org/trunk@5783 602fd350-edb4-49c9-b593-d223f7449a82
2007-07-06 12:53:15 +00:00
Ryan Boren
d907ae8841 js_escape improvements from Alexander Concha. Catches &#39 &#039 &#39; &#039; &#x27; &#X000027; &#x000027 etc.
git-svn-id: https://develop.svn.wordpress.org/trunk@5734 602fd350-edb4-49c9-b593-d223f7449a82
2007-06-19 22:46:55 +00:00
Ryan Boren
6b7bc3b1b6 wp_parse_str() from mdawaffe. see #4467
git-svn-id: https://develop.svn.wordpress.org/trunk@5709 602fd350-edb4-49c9-b593-d223f7449a82
2007-06-14 22:46:59 +00:00
Ryan Boren
b046d67f41 Trim empty lines. Nothing but newline.
git-svn-id: https://develop.svn.wordpress.org/trunk@5700 602fd350-edb4-49c9-b593-d223f7449a82
2007-06-14 02:25:30 +00:00
rob1n
d6bf26da3c Fix nestable HTML, including <blockquote>'s. Props anonymousbugger (!) and Nazgul. fixes #1170
git-svn-id: https://develop.svn.wordpress.org/trunk@5623 602fd350-edb4-49c9-b593-d223f7449a82
2007-06-01 02:33:03 +00:00
Ryan Boren
c018ceb6bd Make sure sanitize_option() is always called when updating options.
git-svn-id: https://develop.svn.wordpress.org/trunk@5541 602fd350-edb4-49c9-b593-d223f7449a82
2007-05-25 02:22:30 +00:00
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