Peter Westwood
|
ddbdf401d4
|
Fix wptexturisation of quotes when enclosed by brackets. Fixes #1418 props voyou1.
git-svn-id: https://develop.svn.wordpress.org/trunk@11813 602fd350-edb4-49c9-b593-d223f7449a82
|
2009-08-14 16:43:22 +00:00 |
Peter Westwood
|
c37c59c0b7
|
Ensure that users_can_register is sanitised correctly. See #10454 props josephscott.
git-svn-id: https://develop.svn.wordpress.org/trunk@11772 602fd350-edb4-49c9-b593-d223f7449a82
|
2009-08-04 21:28:42 +00:00 |
Ryan Boren
|
62cdbc6522
|
add smilies_src filter. Props Otto42. see #10145
git-svn-id: https://develop.svn.wordpress.org/trunk@11738 602fd350-edb4-49c9-b593-d223f7449a82
|
2009-07-22 18:27:13 +00:00 |
Ryan Boren
|
f2baa0626d
|
Pass delimiter to preg_quote(). Props Denis-de-Bernardy. see #9955
git-svn-id: https://develop.svn.wordpress.org/trunk@11634 602fd350-edb4-49c9-b593-d223f7449a82
|
2009-06-23 22:10:46 +00:00 |
Peter Westwood
|
e5dd9ecd88
|
Introduce _deep_replace() and use it to improve the stripping of percent encoded values from urls. Fixes #10226 for trunk.
git-svn-id: https://develop.svn.wordpress.org/trunk@11615 602fd350-edb4-49c9-b593-d223f7449a82
|
2009-06-20 17:42:24 +00:00 |
Ryan Boren
|
95df8d05fd
|
Don't pass by reference. Props kamiyeye. fixes #9994
git-svn-id: https://develop.svn.wordpress.org/trunk@11518 602fd350-edb4-49c9-b593-d223f7449a82
|
2009-06-04 05:32:58 +00:00 |
Andrew Ozz
|
cc4f66f13f
|
Allow translators to change the curly quotes in wptexturize(), props nbachiyski fixes #10001
git-svn-id: https://develop.svn.wordpress.org/trunk@11504 602fd350-edb4-49c9-b593-d223f7449a82
|
2009-06-02 00:27:53 +00:00 |
Mark Jaquith
|
d5c981b0ea
|
Add esc_sql(), for completeness.
git-svn-id: https://develop.svn.wordpress.org/trunk@11490 602fd350-edb4-49c9-b593-d223f7449a82
|
2009-05-29 20:31:52 +00:00 |
Ryan Boren
|
e12c642c54
|
Trim tailing whitespace
git-svn-id: https://develop.svn.wordpress.org/trunk@11450 602fd350-edb4-49c9-b593-d223f7449a82
|
2009-05-24 23:47:49 +00:00 |
Peter Westwood
|
6bd9d1dfa5
|
Rename new function to sanitize_html_class() to hilight exactly what it is for, Fixes #8446.
git-svn-id: https://develop.svn.wordpress.org/trunk@11435 602fd350-edb4-49c9-b593-d223f7449a82
|
2009-05-22 21:31:42 +00:00 |
Peter Westwood
|
f2cfe16e7a
|
Introduce sanitise_css_classname() and use it to give categories, tags, users etc meaningful classnames where possible. Falls back to the id if not. Fixes #8446.
git-svn-id: https://develop.svn.wordpress.org/trunk@11433 602fd350-edb4-49c9-b593-d223f7449a82
|
2009-05-22 17:44:26 +00:00 |
Ryan Boren
|
848507ccff
|
seems_utf8() cleanup. Props hakre. fixes #9692
git-svn-id: https://develop.svn.wordpress.org/trunk@11414 602fd350-edb4-49c9-b593-d223f7449a82
|
2009-05-20 21:13:14 +00:00 |
Ryan Boren
|
9d6af24e2b
|
Fix item count in wp_sprintf_l(). Props abelcheung. fixes #9847
git-svn-id: https://develop.svn.wordpress.org/trunk@11394 602fd350-edb4-49c9-b593-d223f7449a82
|
2009-05-19 15:36:01 +00:00 |
Mark Jaquith
|
ba1c3bdd5b
|
Deprecate sanitize_url() and clean_url() in favor of esc_url_raw() and esc_url()
git-svn-id: https://develop.svn.wordpress.org/trunk@11383 602fd350-edb4-49c9-b593-d223f7449a82
|
2009-05-18 16:00:33 +00:00 |
Mark Jaquith
|
f0336cfa7d
|
deprecate wp_specialchars() in favor of esc_html(). Encode quotes for esc_html() as in esc_attr(), to improve plugin security.
git-svn-id: https://develop.svn.wordpress.org/trunk@11380 602fd350-edb4-49c9-b593-d223f7449a82
|
2009-05-18 15:11:07 +00:00 |
Ryan Boren
|
18cc4463fe
|
Handle nested tag in wptexturize(). Props nbachiyski. fixes #7056 see #6969
git-svn-id: https://develop.svn.wordpress.org/trunk@11345 602fd350-edb4-49c9-b593-d223f7449a82
|
2009-05-15 21:37:18 +00:00 |
Peter Westwood
|
eef75a9675
|
Ensure that wp_specialchars captures all pre-encoded entities correctly when preventing double encoding. Fixes #9821.
git-svn-id: https://develop.svn.wordpress.org/trunk@11338 602fd350-edb4-49c9-b593-d223f7449a82
|
2009-05-15 06:29:19 +00:00 |
Mark Jaquith
|
aeb9272a1c
|
Exclude <tt> from formatting. props JulienV. fixes #8321
git-svn-id: https://develop.svn.wordpress.org/trunk@11313 602fd350-edb4-49c9-b593-d223f7449a82
|
2009-05-12 22:51:24 +00:00 |
Mark Jaquith
|
8d6cb67233
|
esc_js(). Shorter, follows new escaping naming convention.
git-svn-id: https://develop.svn.wordpress.org/trunk@11245 602fd350-edb4-49c9-b593-d223f7449a82
|
2009-05-09 07:27:22 +00:00 |
Ryan Boren
|
9d41d07f40
|
Escape title attributes in calendar links. fixes #8967
git-svn-id: https://develop.svn.wordpress.org/trunk@11215 602fd350-edb4-49c9-b593-d223f7449a82
|
2009-05-06 04:56:32 +00:00 |
Mark Jaquith
|
c638e8d8de
|
_a(), _ea(), _xa(), attr() are now esc_attr__(), esc_attr_e(), esc_attr_x(), esc_attr() -- still short, but less cryptic. see #9650
git-svn-id: https://develop.svn.wordpress.org/trunk@11204 602fd350-edb4-49c9-b593-d223f7449a82
|
2009-05-05 19:43:53 +00:00 |
Ryan Boren
|
d2d104d968
|
sanitize_file_name() improvements. Props sivel. fixes #9416
git-svn-id: https://develop.svn.wordpress.org/trunk@11178 602fd350-edb4-49c9-b593-d223f7449a82
|
2009-05-04 20:20:48 +00:00 |
Ryan Boren
|
494d54de30
|
Don't prepend http to fragments. Props scohoust. fixes #4051
git-svn-id: https://develop.svn.wordpress.org/trunk@11126 602fd350-edb4-49c9-b593-d223f7449a82
|
2009-04-29 20:10:06 +00:00 |
Ryan Boren
|
fe7c34b6fd
|
s/attribute_escape/attr/. see #9650
git-svn-id: https://develop.svn.wordpress.org/trunk@11109 602fd350-edb4-49c9-b593-d223f7449a82
|
2009-04-28 05:58:45 +00:00 |
Ryan Boren
|
036a7656f9
|
attr(), _a(), _ea(), _xa() for shorthand attribute escaping. see #9650
git-svn-id: https://develop.svn.wordpress.org/trunk@11103 602fd350-edb4-49c9-b593-d223f7449a82
|
2009-04-27 21:58:04 +00:00 |
Ryan Boren
|
89afda412e
|
Eliminate preg_replace with /e. Props tbaboon. fixes #8689
git-svn-id: https://develop.svn.wordpress.org/trunk@11098 602fd350-edb4-49c9-b593-d223f7449a82
|
2009-04-27 16:17:24 +00:00 |
Andrew Ozz
|
ac40df7d99
|
Add <col> to list of block elements, props CharlieHamu and Denis-de-Bernardy, fixes #9484
git-svn-id: https://develop.svn.wordpress.org/trunk@11070 602fd350-edb4-49c9-b593-d223f7449a82
|
2009-04-23 08:28:22 +00:00 |
Andrew Ozz
|
27cf3f2991
|
Don't output <br /> for empty posts, props Denis-de-Bernardy, fixes #6128
git-svn-id: https://develop.svn.wordpress.org/trunk@11048 602fd350-edb4-49c9-b593-d223f7449a82
|
2009-04-22 07:37:24 +00:00 |
Ryan Boren
|
4dc60fe8bb
|
Allow pipes through clean_url(). Props scohoust. fixes #7145
git-svn-id: https://develop.svn.wordpress.org/trunk@11023 602fd350-edb4-49c9-b593-d223f7449a82
|
2009-04-20 22:02:17 +00:00 |
Ryan Boren
|
12c7093645
|
Trailing whitespace cleanup
git-svn-id: https://develop.svn.wordpress.org/trunk@11013 602fd350-edb4-49c9-b593-d223f7449a82
|
2009-04-20 18:18:39 +00:00 |
Ryan Boren
|
77a64d69a5
|
make_clickable() regex fixes. Props piouPiouM. fixes #9390
git-svn-id: https://develop.svn.wordpress.org/trunk@10989 602fd350-edb4-49c9-b593-d223f7449a82
|
2009-04-17 16:51:53 +00:00 |
Ryan Boren
|
91edad4f95
|
Add wp_trim_excerpt filter. Props coffee2code. fixes #9558
git-svn-id: https://develop.svn.wordpress.org/trunk@10981 602fd350-edb4-49c9-b593-d223f7449a82
|
2009-04-17 06:59:33 +00:00 |
Mark Jaquith
|
b190328260
|
Dots in post slugs should be dashed, not dropped. props Denis-de-Bernardy. fixes #9489
git-svn-id: https://develop.svn.wordpress.org/trunk@10977 602fd350-edb4-49c9-b593-d223f7449a82
|
2009-04-17 03:28:55 +00:00 |
Andrew Ozz
|
bf48851d29
|
Spaced hyphens into spaced dashes, props ionfish, fixes #8161
git-svn-id: https://develop.svn.wordpress.org/trunk@10973 602fd350-edb4-49c9-b593-d223f7449a82
|
2009-04-17 01:38:52 +00:00 |
Ryan Boren
|
6f6ef8709a
|
Pass the unprocessed title to the sanitize_title filter. Props chineseleper. fixes #8981 for trunk
git-svn-id: https://develop.svn.wordpress.org/trunk@10804 602fd350-edb4-49c9-b593-d223f7449a82
|
2009-03-17 17:42:54 +00:00 |
Andrew Ozz
|
a23fda87b3
|
Fix regex in sanitize_email(), props sambauers, see #9316
git-svn-id: https://develop.svn.wordpress.org/trunk@10783 602fd350-edb4-49c9-b593-d223f7449a82
|
2009-03-14 01:35:47 +00:00 |
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 |