Commit Graph

701 Commits

Author SHA1 Message Date
Mark Jaquith 3cab99fbd2 Cast to array when using foreach(). Props santosj (and thanks for your perseverance!). fixes #2784
git-svn-id: https://develop.svn.wordpress.org/trunk@8572 602fd350-edb4-49c9-b593-d223f7449a82
2008-08-06 20:31:54 +00:00
Ryan Boren 3937bd9530 Fix variable name typo. Props ionfish. fixes #7471 for trunk
git-svn-id: https://develop.svn.wordpress.org/trunk@8570 602fd350-edb4-49c9-b593-d223f7449a82
2008-08-06 17:24:10 +00:00
Ryan Boren 2be6bcf255 Don't return if is_string(). Proceed to check if is_serialized(). fixes #7347 for trunk
git-svn-id: https://develop.svn.wordpress.org/trunk@8372 602fd350-edb4-49c9-b593-d223f7449a82
2008-07-18 16:43:23 +00:00
Ryan Boren 5000a39eb0 Image sideload and wp_upload_dir() fixes from noel. fixes #7342 for trunk
git-svn-id: https://develop.svn.wordpress.org/trunk@8369 602fd350-edb4-49c9-b593-d223f7449a82
2008-07-18 03:19:12 +00:00
Ryan Boren 55ee349c2e Derive the upload url from the upload path if no url given. fixes #7308 for trunk
git-svn-id: https://develop.svn.wordpress.org/trunk@8352 602fd350-edb4-49c9-b593-d223f7449a82
2008-07-16 16:49:22 +00:00
Ryan Boren 7d39052d9e Return base dir and url from wp_upload_dir(). Props DD32. fixes #6762
git-svn-id: https://develop.svn.wordpress.org/trunk@8280 602fd350-edb4-49c9-b593-d223f7449a82
2008-07-07 23:53:54 +00:00
Ryan Boren 8887dcc0a2 Notice fixes from jacobsantos. fixes #7255
git-svn-id: https://develop.svn.wordpress.org/trunk@8266 602fd350-edb4-49c9-b593-d223f7449a82
2008-07-07 14:21:47 +00:00
Ryan Boren 64f744edc9 pre_update_option_* filter from DD32. fixes #7233
git-svn-id: https://develop.svn.wordpress.org/trunk@8247 602fd350-edb4-49c9-b593-d223f7449a82
2008-07-03 15:51:53 +00:00
Ryan Boren 5bb069702e Use WP_CONTENT_URL in wp_upload_dir(). Props sambauers. fixes #7206
git-svn-id: https://develop.svn.wordpress.org/trunk@8216 602fd350-edb4-49c9-b593-d223f7449a82
2008-06-30 03:33:05 +00:00
Ryan Boren 12c069a943 phpdoc updates from jacobsantos. see #5639
git-svn-id: https://develop.svn.wordpress.org/trunk@8215 602fd350-edb4-49c9-b593-d223f7449a82
2008-06-30 03:23:44 +00:00
Mark Jaquith 817cb02671 make get_alloptions() consistent with get_option() WRT tag_base untrailingslashit()ing
git-svn-id: https://develop.svn.wordpress.org/trunk@8212 602fd350-edb4-49c9-b593-d223f7449a82
2008-06-29 07:44:32 +00:00
Ryan Boren dd23b72d1c Fix date() warning on Windows. Props ozh. fixes #7186
git-svn-id: https://develop.svn.wordpress.org/trunk@8199 602fd350-edb4-49c9-b593-d223f7449a82
2008-06-26 18:34:28 +00:00
Ryan Boren ce2dafe0e5 wp_guess_url() and install styling fixes from sambauers. fixes #7129 see #4732
git-svn-id: https://develop.svn.wordpress.org/trunk@8182 602fd350-edb4-49c9-b593-d223f7449a82
2008-06-24 17:36:21 +00:00
Ryan Boren b56481f330 Don't trim strings in maybe_serialize(). Props hakre. fixes #7132 #7133 #4781 for trunk
git-svn-id: https://develop.svn.wordpress.org/trunk@8100 602fd350-edb4-49c9-b593-d223f7449a82
2008-06-16 20:41:02 +00:00
Peter Westwood 578941e41a Fix the phpdoc comments so we don't lose a function :-(. Fixes #7144 props johnhennmacc.
git-svn-id: https://develop.svn.wordpress.org/trunk@8094 602fd350-edb4-49c9-b593-d223f7449a82
2008-06-15 19:11:15 +00:00
Peter Westwood 69c9cd5ccc PHPDoc updates for functions.php. See #5639 props jacobsantos.
git-svn-id: https://develop.svn.wordpress.org/trunk@8092 602fd350-edb4-49c9-b593-d223f7449a82
2008-06-15 09:38:32 +00:00
Peter Westwood 0cd764aac4 Make sure force_ssl_login and force_ssl_admin work as designed. Fixes #7140 props wet.
git-svn-id: https://develop.svn.wordpress.org/trunk@8087 602fd350-edb4-49c9-b593-d223f7449a82
2008-06-14 20:58:43 +00:00
Ryan Boren bab6fa872c Introduce logged_in cookie. Deliver auth cookies only to wp-admin. see #7001
git-svn-id: https://develop.svn.wordpress.org/trunk@8069 602fd350-edb4-49c9-b593-d223f7449a82
2008-06-11 17:25:55 +00:00
Ryan Boren 6cc11cbf1e Allow wp-content to exist outside of webroot. Props sambauers. see #6938
git-svn-id: https://develop.svn.wordpress.org/trunk@7999 602fd350-edb4-49c9-b593-d223f7449a82
2008-05-27 17:55:24 +00:00
Ryan Boren f213f87d59 First cut and better admin SSL support. see #7001
git-svn-id: https://develop.svn.wordpress.org/trunk@7998 602fd350-edb4-49c9-b593-d223f7449a82
2008-05-27 17:46:01 +00:00
Ryan Boren 9faab00411 Add some page template validation
git-svn-id: https://develop.svn.wordpress.org/trunk@7921 602fd350-edb4-49c9-b593-d223f7449a82
2008-05-12 23:51:54 +00:00
Peter Westwood 232bc0c1e2 Fix _deprecated_function() and _deprecated_file() so that they work correctly. Props JonathanRogers and DD32.
git-svn-id: https://develop.svn.wordpress.org/trunk@7884 602fd350-edb4-49c9-b593-d223f7449a82
2008-05-04 10:44:44 +00:00
Ryan Boren f9290af15d Strip percent signs when sanitizing filenames so the server doesn't try to decode entities. Props filosofo. fixes #5587 for trunk
git-svn-id: https://develop.svn.wordpress.org/trunk@7631 602fd350-edb4-49c9-b593-d223f7449a82
2008-04-08 17:22:20 +00:00
Ryan Boren 500e630afc Reture true from got_mod_rewrite if we can't determine if the module is loaded. Add got_rewrite filter. Props andy. fixes #6278
git-svn-id: https://develop.svn.wordpress.org/trunk@7508 602fd350-edb4-49c9-b593-d223f7449a82
2008-03-25 00:22:37 +00:00
Matt Mullenweg 64760ccecf Helper comment and lowercase filenames before playing around with them, to avoid extension duplication.
git-svn-id: https://develop.svn.wordpress.org/trunk@7478 602fd350-edb4-49c9-b593-d223f7449a82
2008-03-22 19:34:21 +00:00
Ryan Boren 6fa4ffe6f1 Cleanup slashing in wp_mkdir_p
git-svn-id: https://develop.svn.wordpress.org/trunk@7455 602fd350-edb4-49c9-b593-d223f7449a82
2008-03-21 18:27:56 +00:00
Peter Westwood 9954e0e3c2 Add sanitization of option values to add_option. Fixes #5209 props johnbillion.
git-svn-id: https://develop.svn.wordpress.org/trunk@7445 602fd350-edb4-49c9-b593-d223f7449a82
2008-03-21 08:56:29 +00:00
Mark Jaquith 6046048fc3 better Apache mod detection from andy. fixes #6278
git-svn-id: https://develop.svn.wordpress.org/trunk@7441 602fd350-edb4-49c9-b593-d223f7449a82
2008-03-21 04:10:01 +00:00
Mark Jaquith 2144eb11d6 Prevent uploads from overwriting each other. props neodude. fixes #6294
git-svn-id: https://develop.svn.wordpress.org/trunk@7440 602fd350-edb4-49c9-b593-d223f7449a82
2008-03-21 04:03:33 +00:00
Mark Jaquith 29475bd4be "Go back" link for admin-initiated post/page edits. e.g. do a search, edit a post, click the link to go back to the search.
git-svn-id: https://develop.svn.wordpress.org/trunk@7438 602fd350-edb4-49c9-b593-d223f7449a82
2008-03-21 03:31:12 +00:00
Ryan Boren 3e4d1197d5 Degrade flash upload if the server is lightttpd < 1.5. Props nbachyski. fixes #6243
git-svn-id: https://develop.svn.wordpress.org/trunk@7406 602fd350-edb4-49c9-b593-d223f7449a82
2008-03-20 00:33:59 +00:00
Ryan Boren a18dc5cb4d Suppress errors during option retrieval while installing. see #5771
git-svn-id: https://develop.svn.wordpress.org/trunk@7405 602fd350-edb4-49c9-b593-d223f7449a82
2008-03-19 23:17:23 +00:00
Mark Jaquith 1b27039e81 wp_nonce_ays() HTML fixes from DD32. fixes #6270
git-svn-id: https://develop.svn.wordpress.org/trunk@7395 602fd350-edb4-49c9-b593-d223f7449a82
2008-03-19 06:04:45 +00:00
Ryan Boren 88d5595024 Add explanatory text for upgrade plugin nonce. Props DD32. see #5586
git-svn-id: https://develop.svn.wordpress.org/trunk@7377 602fd350-edb4-49c9-b593-d223f7449a82
2008-03-18 05:04:18 +00:00
Peter Westwood 68097610a2 Allow for wp_nonce_field, wp_referrer_field and wp_original_referer_field be able to return output. Fixes #3628 props robmil.
git-svn-id: https://develop.svn.wordpress.org/trunk@7323 602fd350-edb4-49c9-b593-d223f7449a82
2008-03-15 22:44:34 +00:00
Ryan Boren 71827ccadf Suppress logging of DB errors when checking if blog is installed. see #5771
git-svn-id: https://develop.svn.wordpress.org/trunk@7269 602fd350-edb4-49c9-b593-d223f7449a82
2008-03-12 22:41:43 +00:00
Matt Mullenweg 8415bccde9 Deal correctly with empty upload_path option. Hat tip: tellyworth.
git-svn-id: https://develop.svn.wordpress.org/trunk@7134 602fd350-edb4-49c9-b593-d223f7449a82
2008-03-03 04:14:16 +00:00
Ryan Boren 6d7441c26e Remove trailing whites.
git-svn-id: https://develop.svn.wordpress.org/trunk@7130 602fd350-edb4-49c9-b593-d223f7449a82
2008-03-02 20:17:30 +00:00
Ryan Boren 4d02937e6d max width fixes from azaozz. fixes #6051
git-svn-id: https://develop.svn.wordpress.org/trunk@7114 602fd350-edb4-49c9-b593-d223f7449a82
2008-02-29 23:27:02 +00:00
Ryan Boren a02dc6a240 Media Library updates from andy. see #5911
git-svn-id: https://develop.svn.wordpress.org/trunk@7100 602fd350-edb4-49c9-b593-d223f7449a82
2008-02-29 06:54:15 +00:00
Ryan Boren a2af257bf4 gettext fixes from takayukister. fixes #6018
git-svn-id: https://develop.svn.wordpress.org/trunk@7063 602fd350-edb4-49c9-b593-d223f7449a82
2008-02-27 17:19:58 +00:00
Ryan Boren 82905a1f33 fix overuse of default mime icon and re-shuffle mp4/m4a file type matches. Props andy. see #5911
git-svn-id: https://develop.svn.wordpress.org/trunk@7045 602fd350-edb4-49c9-b593-d223f7449a82
2008-02-26 19:57:00 +00:00
Ryan Boren 78f9d0757a Return error when requesting invalid feed format. Props pishmishy. fixes #5446
git-svn-id: https://develop.svn.wordpress.org/trunk@7038 602fd350-edb4-49c9-b593-d223f7449a82
2008-02-26 10:05:05 +00:00
Ryan Boren 4b8ec983eb Error page styling from mt. fixes #5977
git-svn-id: https://develop.svn.wordpress.org/trunk@7001 602fd350-edb4-49c9-b593-d223f7449a82
2008-02-24 04:33:51 +00:00
Peter Westwood 02ab17364e Fix the display of human time difference when server timezone if different from blog timezone. Fixes #5970 props jhodgdon.
git-svn-id: https://develop.svn.wordpress.org/trunk@6995 602fd350-edb4-49c9-b593-d223f7449a82
2008-02-23 22:11:47 +00:00
Ryan Boren a3b716fd74 Upload path fixes from tellyworth. see #5953
git-svn-id: https://develop.svn.wordpress.org/trunk@6984 602fd350-edb4-49c9-b593-d223f7449a82
2008-02-22 17:46:03 +00:00
Ryan Boren 7ed364b2ce Notice fixes from nbachiyski. fixes #5961
git-svn-id: https://develop.svn.wordpress.org/trunk@6983 602fd350-edb4-49c9-b593-d223f7449a82
2008-02-22 17:43:56 +00:00
Ryan Boren d809dcd103 Add a prophylactic specialchars to the object in explain nonce. see #5838
git-svn-id: https://develop.svn.wordpress.org/trunk@6817 602fd350-edb4-49c9-b593-d223f7449a82
2008-02-13 18:14:38 +00:00
Ryan Boren d74220c598 Make Nonce Mismatch Fail Instead of AYS. Props filosofo. fixes #5838 for 2.5
git-svn-id: https://develop.svn.wordpress.org/trunk@6813 602fd350-edb4-49c9-b593-d223f7449a82
2008-02-13 17:39:40 +00:00
Ryan Boren 9094f86cd8 New gzip compressor for TinyMCE from azaozz. fixes #5807
git-svn-id: https://develop.svn.wordpress.org/trunk@6789 602fd350-edb4-49c9-b593-d223f7449a82
2008-02-11 17:45:18 +00:00