Ryan Boren
b6e23d7269
Shears of vigorous pinking.
...
git-svn-id: https://develop.svn.wordpress.org/trunk@20944 602fd350-edb4-49c9-b593-d223f7449a82
2012-05-27 16:25:43 +00:00
Peter Westwood
50517b8e53
i18n: Update the word splitting we use when trimming strings to build excerpts so that it has support for a character based mode for locales where character splitting is more approproate like Japan.
...
See #16079 props tenpura.
git-svn-id: https://develop.svn.wordpress.org/trunk@20859 602fd350-edb4-49c9-b593-d223f7449a82
2012-05-23 21:04:35 +00:00
Andrew Nacin
b4f82d87b0
Add Vietnamese vowels to remove_accents(). props SergeyBiryukov. fixes #17738 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@20687 602fd350-edb4-49c9-b593-d223f7449a82
2012-05-02 16:55:16 +00:00
Andrew Nacin
61602af9c1
Add characters to be stripped or replaced in sanitize_title_with_dashes().
...
* Replace times (multiplication sign) with x.
* Strip low quotation marks and other curly quotes we don't already deal with.
props SergeyBiryukov. fixes #19820 .
git-svn-id: https://develop.svn.wordpress.org/trunk@20686 602fd350-edb4-49c9-b593-d223f7449a82
2012-05-02 16:37:42 +00:00
Mark Jaquith
68616250c5
Ignore this. Just need an un-synced-to-GitHub commit so I can switch to using the new core.svn.wordpress.org URL.
...
git-svn-id: https://develop.svn.wordpress.org/trunk@20672 602fd350-edb4-49c9-b593-d223f7449a82
2012-05-01 21:05:02 +00:00
Andrew Nacin
0d53bba473
Properly convert two special Z characters in convert_chars(). props Namely, SergeyBiryukov. fixes #20503 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@20653 602fd350-edb4-49c9-b593-d223f7449a82
2012-04-30 21:20:50 +00:00
Andrew Nacin
ef79a85f78
Run rawurlencode_deep() through the parsed query in canonical. (Introduces rawurlencode_deep().) props toppa for the initial patch. fixes #20143 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@20611 602fd350-edb4-49c9-b593-d223f7449a82
2012-04-27 15:40:00 +00:00
Jon Cave
c796066fac
Recognise protocols other than "http" in _links_add_base(). Props SergeyBiryukov. Fixes #19665 .
...
Previously "https" URLs used in plugin READMEs displayed by install_plugin_information() would have the plugin's extend URL prepended.
git-svn-id: https://develop.svn.wordpress.org/trunk@20466 602fd350-edb4-49c9-b593-d223f7449a82
2012-04-14 19:14:10 +00:00
Ryan Boren
1df5a7cf30
Don't attempt to make links inside attributes clickable. Props duck_ azaozz. fixes #20418
...
git-svn-id: https://develop.svn.wordpress.org/trunk@20443 602fd350-edb4-49c9-b593-d223f7449a82
2012-04-11 21:14:13 +00:00
Andrew Ozz
f9c3a352a0
Do not process <pre> tags with wpautop, replace them with placeholders, process the rest of the content and then put them back. Part props kurtpayne, see #19855
...
git-svn-id: https://develop.svn.wordpress.org/trunk@20307 602fd350-edb4-49c9-b593-d223f7449a82
2012-03-28 15:43:31 +00:00
Andrew Nacin
b23fec65b6
<input> is not a block-level element; do not treat it like one in wpautop(). props SergeyBiryukov. props kurtpayne for the unit test. fixes #16456 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@20078 602fd350-edb4-49c9-b593-d223f7449a82
2012-03-02 19:59:50 +00:00
Andrew Ozz
0fa723245a
HTML in image captions, first run, see #18311
...
git-svn-id: https://develop.svn.wordpress.org/trunk@19982 602fd350-edb4-49c9-b593-d223f7449a82
2012-02-24 01:58:18 +00:00
Andrew Nacin
f7441d78e9
Combine two identical case statements.
...
git-svn-id: https://develop.svn.wordpress.org/trunk@19933 602fd350-edb4-49c9-b593-d223f7449a82
2012-02-16 15:42:02 +00:00
Andrew Nacin
9f6709c599
Use correct reference in regex. props danielbachhuber, fixes #20018 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@19907 602fd350-edb4-49c9-b593-d223f7449a82
2012-02-10 22:28:37 +00:00
Jon Cave
8229caa7c4
Add @since and @access tag to _split_str_by_whitespace(). Props ocean90. See #16892 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@19900 602fd350-edb4-49c9-b593-d223f7449a82
2012-02-10 13:57:21 +00:00
Jon Cave
ffa81a1b1e
Improve efficiency of make_clickable(). Props mdawaffe. Fixes #16892 .
...
Not only does this improve general performance, but also helps to prevent
segfaults caused by malicious input to the regular expression. The regular
expression is also simplified to help readability and maintenance.
git-svn-id: https://develop.svn.wordpress.org/trunk@19899 602fd350-edb4-49c9-b593-d223f7449a82
2012-02-10 13:42:15 +00:00
Andrew Nacin
d6886c9059
wptexturize() does not need to staticize variables it only uses to set up variables it needs statically. see #19602 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@19796 602fd350-edb4-49c9-b593-d223f7449a82
2012-01-31 14:28:30 +00:00
Andrew Nacin
d87851514a
Allow the single quotes, apostrophes, and primes in wptexturize() to be translated. Allows replacements to be disabled by translating them back to " and '. fixes #19602 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@19795 602fd350-edb4-49c9-b593-d223f7449a82
2012-01-31 14:06:32 +00:00
Ryan Boren
2b186b0c45
Lose EOF ?>. Clean up EOF newlines. fixes #12307
...
git-svn-id: https://develop.svn.wordpress.org/trunk@19712 602fd350-edb4-49c9-b593-d223f7449a82
2012-01-08 17:01:11 +00:00
Ryan Boren
0f2274ee75
Introduce sanitize_trackback_urls(). Don't ping bad urls. Don't ping bad urls or save them to the DB. Props xknown, SergeyBiryukov. fixes #17560
...
git-svn-id: https://develop.svn.wordpress.org/trunk@19675 602fd350-edb4-49c9-b593-d223f7449a82
2012-01-04 19:45:13 +00:00
Andrew Nacin
e8dfdea633
Correct the documentation for balanceTags(). props mdawaffe, fixes #19576 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@19601 602fd350-edb4-49c9-b593-d223f7449a82
2011-12-16 20:57:05 +00:00
Ryan Boren
676ba7043e
Use one space, not two, after trailing punctuation. fixes #19537
...
git-svn-id: https://develop.svn.wordpress.org/trunk@19593 602fd350-edb4-49c9-b593-d223f7449a82
2011-12-13 23:45:31 +00:00
Andrew Nacin
abcdc78656
Allow 8212/8211 (em dash and en dash) to be translated in wptexturize(). props SergeyBiryukov, fixes #15556 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@19187 602fd350-edb4-49c9-b593-d223f7449a82
2011-11-06 18:31:54 +00:00
Andrew Nacin
7c30a4f419
Add a few characters to remove_accents(). props SergeyBiryukov. props ampt for [UT471]. fixes #9591 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@19125 602fd350-edb4-49c9-b593-d223f7449a82
2011-11-02 23:08:05 +00:00
Ryan Boren
ec9060cc99
Allow 0 - 9 in tag_escape(). Props sirzooro. fixes #18765
...
git-svn-id: https://develop.svn.wordpress.org/trunk@18955 602fd350-edb4-49c9-b593-d223f7449a82
2011-10-12 20:34:14 +00:00
Ryan Boren
14c6df057d
Avoid preg backtrack limit errors with large posts when processing shortcodes. Props mdawaffe. fixes #15600
...
git-svn-id: https://develop.svn.wordpress.org/trunk@18952 602fd350-edb4-49c9-b593-d223f7449a82
2011-10-12 16:50:30 +00:00
Ryan Boren
aeac3dc5f1
phpdoc fix for zeroise(). Props trepmal. fixes #18854
...
git-svn-id: https://develop.svn.wordpress.org/trunk@18877 602fd350-edb4-49c9-b593-d223f7449a82
2011-10-04 16:02:33 +00:00
Jon Cave
9f6d53a66f
Introduce wp_allowed_protocols() for use in wp_kses() and esc_url(). See #18268 .
...
This allows plugins to filter the list of protocols used for esc_url() too, and helps us keep the list of protocols in sync.
git-svn-id: https://develop.svn.wordpress.org/trunk@18826 602fd350-edb4-49c9-b593-d223f7449a82
2011-09-29 22:33:51 +00:00
Mark Jaquith
76251c5287
Allow the text parameter in wp_trim_excerpt() to be omitted altogether, instead of requiring a blank string. props SergeyBiryukov. fixes #17492
...
git-svn-id: https://develop.svn.wordpress.org/trunk@18824 602fd350-edb4-49c9-b593-d223f7449a82
2011-09-29 21:48:03 +00:00
Andrew Nacin
492a5d031c
Update esc_url() phpdoc. props sirzooro, fixes #18766 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@18769 602fd350-edb4-49c9-b593-d223f7449a82
2011-09-24 19:52:26 +00:00
Jon Cave
92054191a1
wp_strip_all_tags() in wp_trim_words() to remove CSS and JS within tags. Props evansolomon. Fixes #18726 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@18742 602fd350-edb4-49c9-b593-d223f7449a82
2011-09-21 20:39:21 +00:00
Ryan Boren
6ed92f4fb1
Run the sanitize_option_* filter for all options in sanitize_option(). Add some sanity checks for the permalink options while in there. fixes #18737
...
git-svn-id: https://develop.svn.wordpress.org/trunk@18738 602fd350-edb4-49c9-b593-d223f7449a82
2011-09-21 19:05:06 +00:00
Jon Cave
ed5fdbb499
Abstract word-trimming from wp_trim_excerpt() into wp_trim_words(). Props nacin. Fixes #16372 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@18732 602fd350-edb4-49c9-b593-d223f7449a82
2011-09-20 17:14:23 +00:00
Andrew Nacin
5c6b6c074f
Strip a number of special characters in sanitize_title_with_dashes on save. Includes quotes (curly, angle), dashes, marks, etc. props SergeyBiryukov. props ampt for the unit tests in [UT438]. see #10797 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@18705 602fd350-edb4-49c9-b593-d223f7449a82
2011-09-18 19:53:59 +00:00
Jon Cave
205aa5ba5c
Fix typos in documentation (wp-includes/[a-h]). See #18560 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@18633 602fd350-edb4-49c9-b593-d223f7449a82
2011-09-03 16:02:41 +00:00
Andrew Nacin
a73c0ef107
Add 'q' tag to nestable tags list in force_balance_tags(). props solarissmoke, fixes #6870 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@18585 602fd350-edb4-49c9-b593-d223f7449a82
2011-08-23 15:37:38 +00:00
Ryan Boren
fe742b417f
Better double encoding handling in _wp_special_chars(). Props miqrogroove.
...
git-svn-id: https://develop.svn.wordpress.org/trunk@18485 602fd350-edb4-49c9-b593-d223f7449a82
2011-07-29 20:43:45 +00:00
Ryan Boren
4a1c73746f
Recognize urls that start with a question mark as relative urls that do not require a scheme to be prepended. fixes #18260
...
git-svn-id: https://develop.svn.wordpress.org/trunk@18469 602fd350-edb4-49c9-b593-d223f7449a82
2011-07-26 19:44:18 +00:00
Peter Westwood
fe2dc7c083
Make [18456] more obvious. Fixes #16432 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@18465 602fd350-edb4-49c9-b593-d223f7449a82
2011-07-25 13:20:07 +00:00
Andrew Nacin
ac3ab55d1e
Add pre_ent2ncr filter. props GaryJ, fixes #16432 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@18456 602fd350-edb4-49c9-b593-d223f7449a82
2011-07-21 21:41:21 +00:00
Ryan Boren
091ec81919
Hardening. Santizers for WPLANG and new_admin_email. Prevent stomping ID and filter. Validate locale filename. Props westi.
...
git-svn-id: https://develop.svn.wordpress.org/trunk@18346 602fd350-edb4-49c9-b593-d223f7449a82
2011-06-27 15:56:42 +00:00
Ryan Boren
80640b5e25
Allow plus '+' character when sanitizing mime type. Props cyberhobo. fixes #17855
...
git-svn-id: https://develop.svn.wordpress.org/trunk@18324 602fd350-edb4-49c9-b593-d223f7449a82
2011-06-20 20:05:57 +00:00
Peter Westwood
41d548231e
Ensure we have a valid timezone identifier before trying to use it.
...
Validate the new timezone identifier during option update.
Fixes #17840 .
git-svn-id: https://develop.svn.wordpress.org/trunk@18323 602fd350-edb4-49c9-b593-d223f7449a82
2011-06-20 14:58:50 +00:00
Andrew Ozz
9b95eedd76
Fix typo in remove_accents(), props scribu, fixes #16232
...
git-svn-id: https://develop.svn.wordpress.org/trunk@18159 602fd350-edb4-49c9-b593-d223f7449a82
2011-06-06 02:22:50 +00:00
Ryan Boren
640eed5f4a
Update @since
...
git-svn-id: https://develop.svn.wordpress.org/trunk@18032 602fd350-edb4-49c9-b593-d223f7449a82
2011-05-25 15:47:17 +00:00
Ryan Boren
57b6c9aeda
Sanitize guid on save and display. Sanitize mime type on save. Don't allow changing mime type via edit form handlers. Protect hidden meta.
...
git-svn-id: https://develop.svn.wordpress.org/trunk@17994 602fd350-edb4-49c9-b593-d223f7449a82
2011-05-22 23:19:42 +00:00
Ryan Boren
92b4ffafc3
Properly anchor mime preg.
...
git-svn-id: https://develop.svn.wordpress.org/trunk@17990 602fd350-edb4-49c9-b593-d223f7449a82
2011-05-22 23:17:09 +00:00
Andrew Nacin
4d9fdaff0a
s/coma/comma/. props ocean90.
...
git-svn-id: https://develop.svn.wordpress.org/trunk@17982 602fd350-edb4-49c9-b593-d223f7449a82
2011-05-21 15:20:25 +00:00
Ryan Boren
cde1941b72
Revert part of [17920]. Support for empty tz must remain. Props johnjamesjacoby. fixes #17448
...
git-svn-id: https://develop.svn.wordpress.org/trunk@17958 602fd350-edb4-49c9-b593-d223f7449a82
2011-05-18 18:56:42 +00:00
Peter Westwood
93fe935843
Fix typos and inconsistencies in PHPdoc / function declarations. See #17414 props duck_
...
git-svn-id: https://develop.svn.wordpress.org/trunk@17925 602fd350-edb4-49c9-b593-d223f7449a82
2011-05-14 09:50:20 +00:00
Ryan Boren
6e20ec2284
Remove PHP5 back compat code from get_gmt_from_date. Props technosailor. fixes #16920
...
git-svn-id: https://develop.svn.wordpress.org/trunk@17920 602fd350-edb4-49c9-b593-d223f7449a82
2011-05-13 19:17:07 +00:00
Ryan Boren
0e80d3e440
Performance improvements for wptexturize(). Props solarissmoke, hakre. fixes #16684
...
git-svn-id: https://develop.svn.wordpress.org/trunk@17636 602fd350-edb4-49c9-b593-d223f7449a82
2011-04-13 17:11:35 +00:00
Andrew Nacin
e376455b17
Make underscores valid in sanitize_html_class. fixes #17067 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@17614 602fd350-edb4-49c9-b593-d223f7449a82
2011-04-06 21:28:52 +00:00
Ryan Boren
4b40ff5454
Reduce backtracking in make_clickable() regex. Reduce pcre.recursion_limit to avoid segfaulting. Props hakre. For trunk.
...
git-svn-id: https://develop.svn.wordpress.org/trunk@17570 602fd350-edb4-49c9-b593-d223f7449a82
2011-03-28 21:39:16 +00:00
Ryan Boren
170a0cf96b
Lose create_function() in links_add_target() and links_add_base_url(). esc_attr() the target to provide extra coverage for plugins. Props Justin Rainbow, nacin. For trunk
...
git-svn-id: https://develop.svn.wordpress.org/trunk@17459 602fd350-edb4-49c9-b593-d223f7449a82
2011-02-16 19:24:18 +00:00
Ryan Boren
eba71eb7c0
Bring out the shears.
...
git-svn-id: https://develop.svn.wordpress.org/trunk@17228 602fd350-edb4-49c9-b593-d223f7449a82
2011-01-06 04:11:14 +00:00
Ryan Boren
2bc1d7f588
Don't be case sensitive to attribute names. Handle padded entities when checking for bad protocols. Normalize entities before checking for bad protocols in esc_url(). Props Mauro Gentile, duck_, miqrogroove
...
git-svn-id: https://develop.svn.wordpress.org/trunk@17171 602fd350-edb4-49c9-b593-d223f7449a82
2010-12-29 20:45:37 +00:00
Andrew Nacin
f3419ea181
Revert [16995] due to the way the data enters the db. props garyc40, see #15454 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@17142 602fd350-edb4-49c9-b593-d223f7449a82
2010-12-25 18:10:59 +00:00
Ryan Boren
de072fe02a
Remove some unnecessary esc_textarea() calls. Props garyc40. see #15454
...
git-svn-id: https://develop.svn.wordpress.org/trunk@17001 602fd350-edb4-49c9-b593-d223f7449a82
2010-12-16 17:48:20 +00:00
Mark Jaquith
dda708677e
Use ENT_QUOTES in esc_textarea() in case someone uses it in a value='' situation by accident. see #15454
...
git-svn-id: https://develop.svn.wordpress.org/trunk@16993 602fd350-edb4-49c9-b593-d223f7449a82
2010-12-16 09:24:22 +00:00
Peter Westwood
905ec5fb30
Ultimate make_clickable. Fixes #14993 props filosofo
...
git-svn-id: https://develop.svn.wordpress.org/trunk@16948 602fd350-edb4-49c9-b593-d223f7449a82
2010-12-15 13:43:30 +00:00
Peter Westwood
a7dbb545d9
Revert [16279] - the recursive nature of this regex doesn't play well with stack space. See #14993
...
git-svn-id: https://develop.svn.wordpress.org/trunk@16692 602fd350-edb4-49c9-b593-d223f7449a82
2010-12-02 17:26:06 +00:00
Andrew Nacin
ccea27cbe7
More param fixes, props duck_. see #14783 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@16469 602fd350-edb4-49c9-b593-d223f7449a82
2010-11-18 19:12:48 +00:00
Ryan Boren
4b33a0e9c4
Pinking shears
...
git-svn-id: https://develop.svn.wordpress.org/trunk@16438 602fd350-edb4-49c9-b593-d223f7449a82
2010-11-17 18:47:34 +00:00
Mark Jaquith
55e0256967
esc_textarea() and application for obvious textarea escaping. props alexkingorg. fixes #15454
...
git-svn-id: https://develop.svn.wordpress.org/trunk@16431 602fd350-edb4-49c9-b593-d223f7449a82
2010-11-17 17:12:01 +00:00
Andrew Nacin
32069ead9d
Revert changes to wptexturize() until test cases pass. Reverts [16280], [16378]. see #4539 and #15241 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@16409 602fd350-edb4-49c9-b593-d223f7449a82
2010-11-16 22:18:48 +00:00
Peter Westwood
9b80ab8ce5
Fix regression in wptexturize with single quotes when used for contraction. See #15241 props norbertm.
...
git-svn-id: https://develop.svn.wordpress.org/trunk@16378 602fd350-edb4-49c9-b593-d223f7449a82
2010-11-15 08:52:36 +00:00
Andrew Nacin
200eefec46
Use square brackets instead of braces for string access. props hakre, fixes #13900 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@16340 602fd350-edb4-49c9-b593-d223f7449a82
2010-11-13 09:53:55 +00:00
Andrew Nacin
d8c91db1f4
Remove more create_function calls. props huichen, see #14424 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@16313 602fd350-edb4-49c9-b593-d223f7449a82
2010-11-11 22:50:36 +00:00
Peter Westwood
4a03447530
Improved RegEx for quote matching in wptexturize. Fixes #4539 and #15241 props norbertm.
...
git-svn-id: https://develop.svn.wordpress.org/trunk@16280 602fd350-edb4-49c9-b593-d223f7449a82
2010-11-10 19:23:57 +00:00
Peter Westwood
06c7e6ed40
Don't capture the pesky trailing punctuation. Fixes #14993 props filosofo
...
git-svn-id: https://develop.svn.wordpress.org/trunk@16279 602fd350-edb4-49c9-b593-d223f7449a82
2010-11-10 17:47:46 +00:00
Ryan Boren
b7ed18e2ec
Don't anchor regex. Props ozh. fixes #14628
...
git-svn-id: https://develop.svn.wordpress.org/trunk@16207 602fd350-edb4-49c9-b593-d223f7449a82
2010-11-05 15:29:50 +00:00
scribu
58aedde597
Introduce wp_basename() and use it for media handling. See #11887
...
git-svn-id: https://develop.svn.wordpress.org/trunk@16154 602fd350-edb4-49c9-b593-d223f7449a82
2010-11-02 17:19:55 +00:00
Peter Westwood
ba0b9ce455
Revert 16150 - breaks things more than it fixes things. See #14993
...
git-svn-id: https://develop.svn.wordpress.org/trunk@16151 602fd350-edb4-49c9-b593-d223f7449a82
2010-11-02 11:42:30 +00:00
Peter Westwood
3454487449
Don't capture RFC3986 sub-delims when making urls clickable except for ). Fixes #14993 props filosofo.
...
git-svn-id: https://develop.svn.wordpress.org/trunk@16150 602fd350-edb4-49c9-b593-d223f7449a82
2010-11-02 09:45:09 +00:00
Peter Westwood
4d8416318e
Always capture ! as part of a url. See #14993 props filosofo.
...
git-svn-id: https://develop.svn.wordpress.org/trunk@16111 602fd350-edb4-49c9-b593-d223f7449a82
2010-10-31 09:09:29 +00:00
Peter Westwood
27b777b4a6
Purger more create_function usage during autop and iso descrambling. See #14424 props ScottMac.
...
git-svn-id: https://develop.svn.wordpress.org/trunk@16035 602fd350-edb4-49c9-b593-d223f7449a82
2010-10-28 07:38:00 +00:00
Ryan Boren
8df8490fde
Idempotence for sanitize_user(). Make sanitize_key() match its phpdoc. Props duck_ fixes #15198
...
git-svn-id: https://develop.svn.wordpress.org/trunk@15948 602fd350-edb4-49c9-b593-d223f7449a82
2010-10-24 20:33:54 +00:00
scribu
f61e045d4d
Also convert uppercase letters in Latin Extended-B. See #9591
...
git-svn-id: https://develop.svn.wordpress.org/trunk@15931 602fd350-edb4-49c9-b593-d223f7449a82
2010-10-23 15:36:16 +00:00
scribu
e05be05ad8
remove_accents(): Nordic characters fixes. Props einare. Fixes #4739 . See #9591
...
git-svn-id: https://develop.svn.wordpress.org/trunk@15930 602fd350-edb4-49c9-b593-d223f7449a82
2010-10-23 13:00:21 +00:00
scribu
ed9a39abab
Introduce sanitize_title_for_query(). See #9591
...
git-svn-id: https://develop.svn.wordpress.org/trunk@15929 602fd350-edb4-49c9-b593-d223f7449a82
2010-10-23 12:55:55 +00:00
Ryan Boren
d66fa94a75
Improve regex performance in wptexturize(). Props mdawaffe. fixes #15093
...
git-svn-id: https://develop.svn.wordpress.org/trunk@15816 602fd350-edb4-49c9-b593-d223f7449a82
2010-10-15 14:34:38 +00:00
Ryan Boren
df6d5550db
Simplify sanitize_key() and use it in more places. see #14910
...
git-svn-id: https://develop.svn.wordpress.org/trunk@15635 602fd350-edb4-49c9-b593-d223f7449a82
2010-09-20 15:28:58 +00:00
Andrew Nacin
9494e4ce7e
Phpdoc argument/@param cleanups. props duck_, see #14783 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@15590 602fd350-edb4-49c9-b593-d223f7449a82
2010-09-07 11:21:11 +00:00
Ryan Boren
a17a25fcef
Make smilies links SSL aware. Props tech163. fixes #14360
...
git-svn-id: https://develop.svn.wordpress.org/trunk@15554 602fd350-edb4-49c9-b593-d223f7449a82
2010-08-31 18:26:18 +00:00
Mark Jaquith
ae2f607f53
Leonard Lin was kind enough to relicense his balanceTags() function as "GPL (any version)" instead of "GPL v2.0." http://github.com/lhl/balanceTags/blob/master/README
...
git-svn-id: https://develop.svn.wordpress.org/trunk@15536 602fd350-edb4-49c9-b593-d223f7449a82
2010-08-26 15:43:32 +00:00
Mark Jaquith
15b414837c
More judicious Wordpress-to-WordPress correction, to avoid bungling reasonable URLs. fixes #13971
...
git-svn-id: https://develop.svn.wordpress.org/trunk@15377 602fd350-edb4-49c9-b593-d223f7449a82
2010-07-08 19:35:29 +00:00
Dion Hulse
7efc4efdaa
Alot more tabs. Props jacobsantos & Viper007bond. See #14147
...
git-svn-id: https://develop.svn.wordpress.org/trunk@15355 602fd350-edb4-49c9-b593-d223f7449a82
2010-06-30 00:05:18 +00:00
Andrew Nacin
e45ec0a52c
Fix warnings related to static pages. props zeo for initial patch. fixes #13830 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@15227 602fd350-edb4-49c9-b593-d223f7449a82
2010-06-11 17:04:06 +00:00
Andrew Nacin
592434afb5
Forever eliminate 'Wordpress' from the planet (or at least the little bit we can influence). props matt.
...
git-svn-id: https://develop.svn.wordpress.org/trunk@14996 602fd350-edb4-49c9-b593-d223f7449a82
2010-05-27 16:11:27 +00:00
Peter Westwood
82a44c5a3b
Attempt to make stripslashes_deep object safe. See #12860
...
git-svn-id: https://develop.svn.wordpress.org/trunk@14766 602fd350-edb4-49c9-b593-d223f7449a82
2010-05-20 21:16:44 +00:00
Peter Westwood
dacd1c5623
Improve cross DST future post publishing behaviour to try and publish at the correct time if we have PHP5 timezone support available to help. Fixes #9285 props technosailor.
...
git-svn-id: https://develop.svn.wordpress.org/trunk@14487 602fd350-edb4-49c9-b593-d223f7449a82
2010-05-06 20:40:29 +00:00
Ryan Boren
56e95f24c5
Fix user validation feedback. Props sivel. fixes #13162
...
git-svn-id: https://develop.svn.wordpress.org/trunk@14428 602fd350-edb4-49c9-b593-d223f7449a82
2010-05-03 23:46:42 +00:00
Mark Jaquith
fb6501cae0
Add some new protocols for KSES. Make the list of protocols filterable. Start esc_url() with the same list. fixes #10914 . props technosailor
...
git-svn-id: https://develop.svn.wordpress.org/trunk@14412 602fd350-edb4-49c9-b593-d223f7449a82
2010-05-03 21:20:20 +00:00
Ryan Boren
d783952469
Strip trailing whites.
...
git-svn-id: https://develop.svn.wordpress.org/trunk@14404 602fd350-edb4-49c9-b593-d223f7449a82
2010-05-03 20:26:11 +00:00
Andrew Nacin
9eabb51000
Deprecate checkdnsrr from is_email. Unused in core, and wonky on some server setups (Mac OS X < PHP 5.3 specifically). A plugin can always add it back. props technosailor, fixes #12503 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@14381 602fd350-edb4-49c9-b593-d223f7449a82
2010-05-03 18:54:37 +00:00
Dion Hulse
b4051fba69
Add basic email/url validation to General options page. Prevents users entering a invalid Admin email or WordPress/Site Address which is not in URL form. Props technosailor for initial patch, slightly reworked. See #12868
...
git-svn-id: https://develop.svn.wordpress.org/trunk@14231 602fd350-edb4-49c9-b593-d223f7449a82
2010-04-25 08:16:10 +00:00
Dion Hulse
929ff9692b
Make (\d)x(\d) texturization less greedy, requires a word boundary either side of the phrase. See #12118
...
git-svn-id: https://develop.svn.wordpress.org/trunk@14144 602fd350-edb4-49c9-b593-d223f7449a82
2010-04-18 08:26:38 +00:00
Peter Westwood
08d47899a5
Improve behaviour of wptexturize with respect to single quotes. See #4539 props jmstacey.
...
git-svn-id: https://develop.svn.wordpress.org/trunk@14095 602fd350-edb4-49c9-b593-d223f7449a82
2010-04-15 21:39:58 +00:00
Dion Hulse
491063c698
Tweak new strings for better typography. Props demetris. Fixes #12962
...
git-svn-id: https://develop.svn.wordpress.org/trunk@14070 602fd350-edb4-49c9-b593-d223f7449a82
2010-04-11 10:41:54 +00:00