Commit Graph

138 Commits

Author SHA1 Message Date
ryan
5275d71c22 make_clickable() regex fixes. Props piouPiouM. fixes #9390
git-svn-id: http://svn.automattic.com/wordpress/trunk@10989 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-04-17 16:51:53 +00:00
ryan
3804199e9b Add wp_trim_excerpt filter. Props coffee2code. fixes #9558
git-svn-id: http://svn.automattic.com/wordpress/trunk@10981 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-04-17 06:59:33 +00:00
markjaquith
c64513ba22 Dots in post slugs should be dashed, not dropped. props Denis-de-Bernardy. fixes #9489
git-svn-id: http://svn.automattic.com/wordpress/trunk@10977 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-04-17 03:28:55 +00:00
azaozz
14bd87615e Spaced hyphens into spaced dashes, props ionfish, fixes #8161
git-svn-id: http://svn.automattic.com/wordpress/trunk@10973 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-04-17 01:38:52 +00:00
ryan
8e26610a07 Pass the unprocessed title to the sanitize_title filter. Props chineseleper. fixes #8981 for trunk
git-svn-id: http://svn.automattic.com/wordpress/trunk@10804 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-03-17 17:42:54 +00:00
azaozz
9b591073a1 Fix regex in sanitize_email(), props sambauers, see #9316
git-svn-id: http://svn.automattic.com/wordpress/trunk@10783 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-03-14 01:35:47 +00:00
azaozz
2330e2029e Fix regex function in sanitize_email(), see #9316
git-svn-id: http://svn.automattic.com/wordpress/trunk@10777 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-03-13 19:04:39 +00:00
ryan
7ceebc2a27 Improved is_email() and sanitize_email(). Props sambauers. fixes #9316 #4616
git-svn-id: http://svn.automattic.com/wordpress/trunk@10769 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-03-11 15:26:34 +00:00
ryan
d10b538652 gettext contexts. Props nbachiyski. see #9112
git-svn-id: http://svn.automattic.com/wordpress/trunk@10767 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-03-10 23:02:29 +00:00
ryan
a867852888 Use mb_substr instead of mb_strcut in wp_html_excerpt. Props demetris. fixes #9055
git-svn-id: http://svn.automattic.com/wordpress/trunk@10702 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-03-04 19:41:18 +00:00
ryan
fc660a45a3 Use _n(). Props nbachiyski. fixes #9111
git-svn-id: http://svn.automattic.com/wordpress/trunk@10606 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-02-20 19:35:16 +00:00
ryan
fbba337987 Handle links with parens in make_clickable(). Props filosofo. fixes #8300
git-svn-id: http://svn.automattic.com/wordpress/trunk@10562 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-02-12 19:52:43 +00:00
azaozz
d3932e2388 Reduce backtracking in autop, fixes #6877, see #8553
git-svn-id: http://svn.automattic.com/wordpress/trunk@10527 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-02-08 16:08:02 +00:00
azaozz
da29afdf3b Fix PHP notice in force_balance_tags(), props beaulebens, fixes #9067
git-svn-id: http://svn.automattic.com/wordpress/trunk@10523 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-02-08 04:16:58 +00:00
ryan
d5ca3badae Add missing preg delimiters. Props ridgerunner. fixes #8986 for trunk
git-svn-id: http://svn.automattic.com/wordpress/trunk@10459 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-01-29 17:46:31 +00:00
ryan
7d53481dcb Silence charset not supported warnings
git-svn-id: http://svn.automattic.com/wordpress/trunk@10398 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-01-21 20:28:51 +00:00
azaozz
6f0c0a1092 Fix incorrect quote style in wp_specialchars, props sambauers, see #8767
git-svn-id: http://svn.automattic.com/wordpress/trunk@10376 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-01-19 04:40:12 +00:00
westi
23587f4c8e Update phpdoc for get_gmt_from_date(). Fixes #8869 for trunk
git-svn-id: http://svn.automattic.com/wordpress/trunk@10370 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-01-17 10:20:49 +00:00
azaozz
d7001aa719 Speed up wp_specialchars, props sambauers, see #8767
git-svn-id: http://svn.automattic.com/wordpress/trunk@10355 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-01-13 15:18:37 +00:00
ryan
0858d9b0c2 Use preg_replace_callback instead of preg_replace with eval. Props beaulebens. see #8689
git-svn-id: http://svn.automattic.com/wordpress/trunk@10339 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-01-09 19:29:35 +00:00
ryan
69914b0ae2 Faster smilies. Props johanee. fixes #6464
git-svn-id: http://svn.automattic.com/wordpress/trunk@10322 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-01-06 18:20:47 +00:00
azaozz
ec1ca2236f Latest version of the patch for refactor filters to avoid potential XSS attacks, props sambauers and DD32, see #8767
git-svn-id: http://svn.automattic.com/wordpress/trunk@10298 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-01-04 23:37:47 +00:00
azaozz
19848b9d90 Refactor filters to avoid potential XSS attacks, props sambauers and DD32, see #8767
git-svn-id: http://svn.automattic.com/wordpress/trunk@10297 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-01-04 22:25:50 +00:00
ryan
e89192b1a8 Strip trailing whitespace
git-svn-id: http://svn.automattic.com/wordpress/trunk@10150 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-12-09 18:03:31 +00:00
markjaquith
de4a0edb94 Cast image sizes to ints. Explain that sizes are in pixels. fixes #8160
git-svn-id: http://svn.automattic.com/wordpress/trunk@9661 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-11-13 07:54:27 +00:00
ryan
33f8a5e080 Introduce normalize_whitespace(). Use it instead of wp_text_diff() when checking for identical autosave revisions. Props tellyworth. fixes #7691
git-svn-id: http://svn.automattic.com/wordpress/trunk@9302 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-10-23 20:03:16 +00:00
ryan
3e9d39b667 Reduce backtracking in wpautop. fixes #6877
git-svn-id: http://svn.automattic.com/wordpress/trunk@9255 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-10-20 19:25:02 +00:00
westi
5b22c24e44 Notice fix and don't count inside a loop. Fixes #7653 props ryan.
git-svn-id: http://svn.automattic.com/wordpress/trunk@9189 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-10-15 20:47:56 +00:00
matt
8663b8e8a4 clean_url improvements, Hat tip: markjaquith. Reviewed by nbachiyskip. Fixes #7386.
git-svn-id: http://svn.automattic.com/wordpress/trunk@9179 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-10-14 22:58:30 +00:00
ryan
97716d5ae1 Convert undefined constants to strings. Props jacobsantos. fixes #7651
git-svn-id: http://svn.automattic.com/wordpress/trunk@9137 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-10-13 22:14:52 +00:00
ryan
04ce449e3c First cut of comment paging. Add paging and threading settings. see #7769 #7635
git-svn-id: http://svn.automattic.com/wordpress/trunk@8961 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-09-23 21:11:27 +00:00
westi
e5440f8156 Add a filter on $excerpt_length. Fixes #7778 props dougal.
git-svn-id: http://svn.automattic.com/wordpress/trunk@8958 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-09-22 21:21:05 +00:00
westi
52e9a1cedf phpDoc updates for formatting functions fixes #5638 props jacobsantos.
git-svn-id: http://svn.automattic.com/wordpress/trunk@8786 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-08-31 20:58:19 +00:00
westi
ab69c83c26 phpDoc updates for formatting functions fixes #5638 props jacobsantos.
git-svn-id: http://svn.automattic.com/wordpress/trunk@8783 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-08-30 21:28:11 +00:00
westi
a76720a8b7 phpDoc updates for formatting functions. See #5638 props scohoust and santosj.
git-svn-id: http://svn.automattic.com/wordpress/trunk@8743 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-08-27 06:49:21 +00:00
ryan
38dfd6e69a Consolidate contiguous whitespace in usernames
git-svn-id: http://svn.automattic.com/wordpress/trunk@8704 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-08-21 22:58:29 +00:00
westi
3b85b84a5e phpdoc for formatting functions. See #5638 props scohoust.
git-svn-id: http://svn.automattic.com/wordpress/trunk@8662 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-08-17 11:29:43 +00:00
ryan
35b18e5034 Trailing whitespace cleanup
git-svn-id: http://svn.automattic.com/wordpress/trunk@8600 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-08-09 05:36:14 +00:00
westi
b3cb14fb80 Lots of fixes for Notices when WP_DEBUG is set. See #6669 props santosj.
git-svn-id: http://svn.automattic.com/wordpress/trunk@8589 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-08-08 17:05:10 +00:00
westi
35f46f0d4b Plugin Install GSOC project first code drop. Props DD32 see #6015.
git-svn-id: http://svn.automattic.com/wordpress/trunk@8540 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-08-04 21:01:09 +00:00
ryan
5ac3c72c22 Allow IRIs. Props guillep2k. fixes #4570
git-svn-id: http://svn.automattic.com/wordpress/trunk@8525 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-08-02 17:32:25 +00:00
ryan
0cd103e2a2 Hands off pre tags. Props nbachiyski. fixes #7056
git-svn-id: http://svn.automattic.com/wordpress/trunk@8298 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-07-09 04:52:27 +00:00
ryan
3b48af4a6d Fix quotes in captions. Props azaozz. see #6812
git-svn-id: http://svn.automattic.com/wordpress/trunk@8290 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-07-08 23:38:53 +00:00
ryan
6142025639 Encode < and > in wp_richedit_pre. Props azaozz. fixes #6449
git-svn-id: http://svn.automattic.com/wordpress/trunk@8073 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-06-12 21:38:34 +00:00
ryan
570cb5374c Strip shortcodes when making excerpts. Props hailin. fixes #7100
git-svn-id: http://svn.automattic.com/wordpress/trunk@8054 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-06-05 20:11:38 +00:00
markjaquith
ca6bd9ebd5 Don't wpautop()-wrap shortcodes that stand alone. fixes #6444 for trunk
git-svn-id: http://svn.automattic.com/wordpress/trunk@7815 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-04-25 00:45:31 +00:00
markjaquith
6930439dfe Revert [7700] from trunk in preparation for a different #6444 solution
git-svn-id: http://svn.automattic.com/wordpress/trunk@7814 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-04-25 00:43:44 +00:00
markjaquith
9df4077f95 Allow shortcodes to run before or after wpautop()/texturize() formatting. Default to before for WP 2.5 compat. Props AaronCampbell
git-svn-id: http://svn.automattic.com/wordpress/trunk@7699 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-04-16 21:07:04 +00:00
markjaquith
6a41b549d0 Fix gallery shortcode orderby param for all SQL setups. Sanitize orderby. fixes #6476 for trunk
git-svn-id: http://svn.automattic.com/wordpress/trunk@7592 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-04-03 03:05:49 +00:00
markjaquith
359fb2aced Parse shortcodes AFTER wpautop() to avoid mangling. Have wptexturize() ignore shortcodes so quotes stay straight. fixes #6444 for trunk
git-svn-id: http://svn.automattic.com/wordpress/trunk@7581 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-03-31 07:56:58 +00:00