Ryan Boren
|
ee0e7b23db
|
Resurrect hash_hmac() compat for hosts that --disable-hash. Props aaroncampbell. fixes #17647
git-svn-id: https://develop.svn.wordpress.org/trunk@18111 602fd350-edb4-49c9-b593-d223f7449a82
|
2011-06-02 14:21:09 +00:00 |
|
Mark Jaquith
|
cce6b87946
|
Add mb_substr() back to compat.php (it is non-default). see #16918. props joostdevalk
git-svn-id: https://develop.svn.wordpress.org/trunk@17621 602fd350-edb4-49c9-b593-d223f7449a82
|
2011-04-07 15:46:57 +00:00 |
|
Mark Jaquith
|
f5078e5c93
|
Add _() back to compat.php (it is non-default). see #16918. props aaroncampbell
git-svn-id: https://develop.svn.wordpress.org/trunk@17620 602fd350-edb4-49c9-b593-d223f7449a82
|
2011-04-07 15:46:48 +00:00 |
|
Ryan Boren
|
9691cb5eb2
|
Take out unnecessary compat functions from compat.php. Props hakre, ptahdunbar. see #16918
git-svn-id: https://develop.svn.wordpress.org/trunk@17603 602fd350-edb4-49c9-b593-d223f7449a82
|
2011-04-05 17:13:04 +00:00 |
|
Dion Hulse
|
a897bc0275
|
Fix invalid paths in requires. See r14139. See #12594
git-svn-id: https://develop.svn.wordpress.org/trunk@14151 602fd350-edb4-49c9-b593-d223f7449a82
|
2010-04-18 09:51:19 +00:00 |
|
Andrew Nacin
|
ec4f5b83bf
|
Use relative paths when including files, avoiding include_path. fixes #12594, props sorich87.
git-svn-id: https://develop.svn.wordpress.org/trunk@14139 602fd350-edb4-49c9-b593-d223f7449a82
|
2010-04-18 06:14:45 +00:00 |
|
Dion Hulse
|
9393b90872
|
Implement the 2nd parameter of json_decode() for back-compat purposes. Returns an associative array instead of an object. For the recursive object handling, Props carbolineum. Fixes #11963
git-svn-id: https://develop.svn.wordpress.org/trunk@13863 602fd350-edb4-49c9-b593-d223f7449a82
|
2010-03-28 04:42:44 +00:00 |
|
Dion Hulse
|
0773ef03a6
|
Implement the 2nd parameter of json_decode() for back-compat purposes. Returns an associative array instead of an object. Fixes #11963
git-svn-id: https://develop.svn.wordpress.org/trunk@13862 602fd350-edb4-49c9-b593-d223f7449a82
|
2010-03-28 04:35:42 +00:00 |
|
Ryan Boren
|
4a27f6549f
|
Update json lib. Use encodeUnsafe in our json wrapper. Props nacin. fixes #11537 for trunk
git-svn-id: https://develop.svn.wordpress.org/trunk@12491 602fd350-edb4-49c9-b593-d223f7449a82
|
2009-12-22 16:49:35 +00:00 |
|
Peter Westwood
|
a7311d5079
|
Correct key padding and add support for raw_output in hash_hmac. Fixes #10284 props mdawaffe.
git-svn-id: https://develop.svn.wordpress.org/trunk@11921 602fd350-edb4-49c9-b593-d223f7449a82
|
2009-09-12 22:03:14 +00:00 |
|
Peter Westwood
|
772b9e3392
|
Make our hash_hmac compatibility function unit testable even when the real one exists. See #10284.
git-svn-id: https://develop.svn.wordpress.org/trunk@11920 602fd350-edb4-49c9-b593-d223f7449a82
|
2009-09-12 08:26:44 +00:00 |
|
Andrew Ozz
|
4f22e99cf5
|
Image editing (first run). Includes code by stephanreiter, see #10528
git-svn-id: https://develop.svn.wordpress.org/trunk@11911 602fd350-edb4-49c9-b593-d223f7449a82
|
2009-09-10 22:07:33 +00:00 |
|
Andrew Ozz
|
aca0f9160d
|
Add JSON compat for PHP < 5.2, props Viper007Bond, see #10337
git-svn-id: https://develop.svn.wordpress.org/trunk@11875 602fd350-edb4-49c9-b593-d223f7449a82
|
2009-08-25 07:48:59 +00:00 |
|
Ryan Boren
|
b5d7564f50
|
Add compat for mb_substr rather than mb_strcut. fixes #9055
git-svn-id: https://develop.svn.wordpress.org/trunk@10707 602fd350-edb4-49c9-b593-d223f7449a82
|
2009-03-04 22:05:49 +00:00 |
|
Ryan Boren
|
3d71d8a32a
|
Use right variable name. Props stringfold. fixes #9090 for trunk
git-svn-id: https://develop.svn.wordpress.org/trunk@10543 602fd350-edb4-49c9-b593-d223f7449a82
|
2009-02-11 19:36:32 +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 |
|
Andrew Ozz
|
64f41a22fb
|
htmlspecialchars_decode() for php versions less than 5.1, props sivel, fixes #8679
git-svn-id: https://develop.svn.wordpress.org/trunk@10236 602fd350-edb4-49c9-b593-d223f7449a82
|
2008-12-21 09:03:23 +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
|
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
|
b42fec084c
|
Remove PHP 4.2 and 4.3 back compat functions. Props DD32. fixes #5415
git-svn-id: https://develop.svn.wordpress.org/trunk@6672 602fd350-edb4-49c9-b593-d223f7449a82
|
2008-01-28 20:15:20 +00:00 |
|
Peter Westwood
|
6c07e81826
|
Add file level documentation for compat.php. Fixes #5510 props darkdragon.
git-svn-id: https://develop.svn.wordpress.org/trunk@6485 602fd350-edb4-49c9-b593-d223f7449a82
|
2007-12-24 07:18:41 +00:00 |
|
Peter Westwood
|
afd0b9a623
|
Ensure we don't call exif_read_data() on unsupported file types. Fixes #5397 props DD32
git-svn-id: https://develop.svn.wordpress.org/trunk@6438 602fd350-edb4-49c9-b593-d223f7449a82
|
2007-12-20 22:18:28 +00:00 |
|
Ryan Boren
|
bb7922cd42
|
New secure cookie protocol. see #5367
git-svn-id: https://develop.svn.wordpress.org/trunk@6387 602fd350-edb4-49c9-b593-d223f7449a82
|
2007-12-16 17:41:59 +00:00 |
|
Peter Westwood
|
be99735638
|
Refactor of wp-admin/includes/image.php. Fixes #5312, #4151, #4709, #5304 props DD32.
git-svn-id: https://develop.svn.wordpress.org/trunk@6309 602fd350-edb4-49c9-b593-d223f7449a82
|
2007-11-03 18:33:19 +00:00 |
|
Mark Jaquith
|
605d95b344
|
Actually, we always need to URLencode square brackets... or wp_redirect() will strip them out. see #4935. see #4878
git-svn-id: https://develop.svn.wordpress.org/trunk@6070 602fd350-edb4-49c9-b593-d223f7449a82
|
2007-09-10 15:53:34 +00:00 |
|
Mark Jaquith
|
f88ae978d1
|
Forgot to use $lsb and $rsb in [6064]. Props mdawaffe. see #4935. see #4878
git-svn-id: https://develop.svn.wordpress.org/trunk@6069 602fd350-edb4-49c9-b593-d223f7449a82
|
2007-09-10 15:34:13 +00:00 |
|
Mark Jaquith
|
ed03cc32dc
|
Only urlencode previously existing values in add_query_arg() (more backwards compatible). fixes #4935. see #4084. see #4878
git-svn-id: https://develop.svn.wordpress.org/trunk@6064 602fd350-edb4-49c9-b593-d223f7449a82
|
2007-09-08 14:27:24 +00:00 |
|
Mark Jaquith
|
d5e3e96141
|
Preserve query string arrays in add_query_arg(). fixes #4878 for trunk
git-svn-id: https://develop.svn.wordpress.org/trunk@5999 602fd350-edb4-49c9-b593-d223f7449a82
|
2007-09-01 03:41:50 +00:00 |
|
rob1n
|
28066a110c
|
Add stripos() for compatibility for PHP < 5. This will be needed for a patch later, I think.
git-svn-id: https://develop.svn.wordpress.org/trunk@5187 602fd350-edb4-49c9-b593-d223f7449a82
|
2007-04-06 02:54:12 +00:00 |
|
Ryan Boren
|
e44ea1ff93
|
Remove trailing spaces and convert spaces to tabs. Props Nazgul. fixes #986
git-svn-id: https://develop.svn.wordpress.org/trunk@4495 602fd350-edb4-49c9-b593-d223f7449a82
|
2006-11-19 07:56:05 +00:00 |
|
Ryan Boren
|
4b3472c29f
|
Move _() to compat.php
git-svn-id: https://develop.svn.wordpress.org/trunk@3901 602fd350-edb4-49c9-b593-d223f7449a82
|
2006-06-22 19:45:49 +00:00 |
|
Ryan Boren
|
216546a0b8
|
Include file renames. #2525
git-svn-id: https://develop.svn.wordpress.org/trunk@3862 602fd350-edb4-49c9-b593-d223f7449a82
|
2006-06-11 06:43:54 +00:00 |
|