Commit Graph

19 Commits

Author SHA1 Message Date
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