Commit Graph

726 Commits

Author SHA1 Message Date
Ryan Boren d936afccf9 PHPDoc for wp_clone. Props filosofo. fixes #8263
git-svn-id: https://develop.svn.wordpress.org/trunk@9744 602fd350-edb4-49c9-b593-d223f7449a82
2008-11-17 22:02:32 +00:00
Ryan Boren bde6d0c67e date_i18n() fixes. Props nbachiyski. fixes #8153
git-svn-id: https://develop.svn.wordpress.org/trunk@9742 602fd350-edb4-49c9-b593-d223f7449a82
2008-11-17 21:31:46 +00:00
Ryan Boren 0aba3305b3 Use clone to break object refs when setting and getting cache. see #8146 #8191
git-svn-id: https://develop.svn.wordpress.org/trunk@9740 602fd350-edb4-49c9-b593-d223f7449a82
2008-11-17 21:01:12 +00:00
Andrew Ozz 6a0d610cb3 Add file upload support for MS Office 2007+ filetypes (docx pptx xlsx), props misterbisson, fixes #8194
git-svn-id: https://develop.svn.wordpress.org/trunk@9662 602fd350-edb4-49c9-b593-d223f7449a82
2008-11-13 15:17:26 +00:00
Ryan Boren aa6d3c91f5 Fix warnings. Props nbachiyski. fixes #8153
git-svn-id: https://develop.svn.wordpress.org/trunk@9618 602fd350-edb4-49c9-b593-d223f7449a82
2008-11-11 20:40:36 +00:00
Ryan Boren 5b8e04db57 Use localized dates on General Options page. Props nbachiyski. fixes #8153
git-svn-id: https://develop.svn.wordpress.org/trunk@9616 602fd350-edb4-49c9-b593-d223f7449a82
2008-11-11 19:56:35 +00:00
Ryan Boren 802ad67058 Make user settings global
git-svn-id: https://develop.svn.wordpress.org/trunk@9444 602fd350-edb4-49c9-b593-d223f7449a82
2008-10-31 20:41:16 +00:00
Ryan Boren 4a28191916 Send 403 instead of 500 for comment flood protection. Allow specifying response code for wp_die(). Props DD32. fixes #7246
git-svn-id: https://develop.svn.wordpress.org/trunk@9335 602fd350-edb4-49c9-b593-d223f7449a82
2008-10-24 21:00:40 +00:00
Ryan Boren 9e467a6850 Better error response when fetching attachments. Props DD32. see #7944
git-svn-id: https://develop.svn.wordpress.org/trunk@9327 602fd350-edb4-49c9-b593-d223f7449a82
2008-10-24 18:22:43 +00:00
Ryan Boren fde3dc72bd wp_get_http() fixes. see #7944
git-svn-id: https://develop.svn.wordpress.org/trunk@9301 602fd350-edb4-49c9-b593-d223f7449a82
2008-10-23 19:39:17 +00:00
Ryan Boren c368483c2d Notice fixes from DD32. see #7509
git-svn-id: https://develop.svn.wordpress.org/trunk@9270 602fd350-edb4-49c9-b593-d223f7449a82
2008-10-21 23:54:18 +00:00
Ryan Boren b406bec607 phpdoc corrections from jacobsantos. see #7918
git-svn-id: https://develop.svn.wordpress.org/trunk@9243 602fd350-edb4-49c9-b593-d223f7449a82
2008-10-18 20:46:30 +00:00
Ryan Boren ec205359bc Suspend cache invalidation while importing posts with WP importer
git-svn-id: https://develop.svn.wordpress.org/trunk@9106 602fd350-edb4-49c9-b593-d223f7449a82
2008-10-09 00:50:52 +00:00
Ryan Boren 4e7c5375fa Error checking for HTTP requests. Props jacobsantos. see #7793
git-svn-id: https://develop.svn.wordpress.org/trunk@9051 602fd350-edb4-49c9-b593-d223f7449a82
2008-10-02 00:32:21 +00:00
Peter Westwood 15f99a6338 Protect log out actions against CSRF. Props markjaquith and ionfish. Fixes #7790.
git-svn-id: https://develop.svn.wordpress.org/trunk@9025 602fd350-edb4-49c9-b593-d223f7449a82
2008-09-28 21:05:37 +00:00
Peter Westwood 1601facb9e Move the old simple http method to use the new HTTP api. See #7793 props jacobsantos.
git-svn-id: https://develop.svn.wordpress.org/trunk@9013 602fd350-edb4-49c9-b593-d223f7449a82
2008-09-27 21:41:19 +00:00
Mark Jaquith 2f943e7cc5 Proper HTML for wp_nonce_ays
git-svn-id: https://develop.svn.wordpress.org/trunk@8972 602fd350-edb4-49c9-b593-d223f7449a82
2008-09-25 05:13:53 +00:00
Peter Westwood 8e25586a4e Notice fixes see #7509 props DD32 and jacobsantos.
git-svn-id: https://develop.svn.wordpress.org/trunk@8944 602fd350-edb4-49c9-b593-d223f7449a82
2008-09-21 20:41:25 +00:00
Andrew Ozz 9ed6500c5b Saving/restoring the user interface state, see #7654
git-svn-id: https://develop.svn.wordpress.org/trunk@8784 602fd350-edb4-49c9-b593-d223f7449a82
2008-08-31 06:34:43 +00:00
Andrew Ozz 6d8233700e Pass default value to get_option(), fixes #7637
git-svn-id: https://develop.svn.wordpress.org/trunk@8770 602fd350-edb4-49c9-b593-d223f7449a82
2008-08-29 07:25:45 +00:00
Peter Westwood 036af45075 Final phpdoc for functions. Fixes #5639 props jacobsantos.
git-svn-id: https://develop.svn.wordpress.org/trunk@8608 602fd350-edb4-49c9-b593-d223f7449a82
2008-08-10 20:31:49 +00:00
Peter Westwood a6e4e79f3a phpdoc for general functions. See #5639 props jacobsantos.
git-svn-id: https://develop.svn.wordpress.org/trunk@8606 602fd350-edb4-49c9-b593-d223f7449a82
2008-08-10 16:45:50 +00:00
Ryan Boren 2272a1a950 Trailing whitespace cleanup
git-svn-id: https://develop.svn.wordpress.org/trunk@8600 602fd350-edb4-49c9-b593-d223f7449a82
2008-08-09 05:36:14 +00:00
Ryan Boren 13d16e176d phpdoc for functions.php. Props jacobsantos. fixes #5639
git-svn-id: https://develop.svn.wordpress.org/trunk@8598 602fd350-edb4-49c9-b593-d223f7449a82
2008-08-09 04:51:51 +00:00
Peter Westwood 010f5ed7b2 Lots of fixes for Notices when WP_DEBUG is set. See #6669 props santosj.
git-svn-id: https://develop.svn.wordpress.org/trunk@8589 602fd350-edb4-49c9-b593-d223f7449a82
2008-08-08 17:05:10 +00:00
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