Commit Graph

843 Commits

Author SHA1 Message Date
Ryan Boren 09c323f120 Run version_compare only once for wp_clone(). Props sambauers. fixes #8844 for trunk
git-svn-id: https://develop.svn.wordpress.org/trunk@10350 602fd350-edb4-49c9-b593-d223f7449a82
2009-01-13 06:31:58 +00:00
Ryan Boren 34ba806985 Faster smilies. Props johanee. fixes #6464
git-svn-id: https://develop.svn.wordpress.org/trunk@10322 602fd350-edb4-49c9-b593-d223f7449a82
2009-01-06 18:20:47 +00:00
Ryan Boren e7cfd42af7 Remove debug. see #8757
git-svn-id: https://develop.svn.wordpress.org/trunk@10287 602fd350-edb4-49c9-b593-d223f7449a82
2008-12-31 22:10:41 +00:00
Ryan Boren 03d8f39149 Turn off magic_quotes_sybase. It prevents addslashes from escaping backslashes. fixes #8757 for trunk
git-svn-id: https://develop.svn.wordpress.org/trunk@10286 602fd350-edb4-49c9-b593-d223f7449a82
2008-12-31 22:09:57 +00:00
Ryan Boren e4f794ae3e Revert accidentally committed bits
git-svn-id: https://develop.svn.wordpress.org/trunk@10220 602fd350-edb4-49c9-b593-d223f7449a82
2008-12-18 03:34:29 +00:00
Ryan Boren b6ea89209c is_ssl() improvements. Props johnbillion. fixes #8641 for trunk
git-svn-id: https://develop.svn.wordpress.org/trunk@10217 602fd350-edb4-49c9-b593-d223f7449a82
2008-12-17 17:58:07 +00:00
Ryan Boren baaaa352ba Strip trailing whitespace
git-svn-id: https://develop.svn.wordpress.org/trunk@10150 602fd350-edb4-49c9-b593-d223f7449a82
2008-12-09 18:03:31 +00:00
Mark Jaquith 9c43e7304e Pad wp_die() error messages to be over 512 chars, so IE always displays our text. props DD32. fixes #7890
git-svn-id: https://develop.svn.wordpress.org/trunk@10105 602fd350-edb4-49c9-b593-d223f7449a82
2008-12-07 08:51:38 +00:00
Ryan Boren 3896afcf41 Make user-settings per blog
git-svn-id: https://develop.svn.wordpress.org/trunk@10098 602fd350-edb4-49c9-b593-d223f7449a82
2008-12-07 04:51:22 +00:00
Ryan Boren 6c98f491fa Make wp_user_settings() options global again. Clarify flag on get_user_option().
git-svn-id: https://develop.svn.wordpress.org/trunk@10095 602fd350-edb4-49c9-b593-d223f7449a82
2008-12-07 03:53:28 +00:00
Matt Mullenweg 39f668bf6a </anal>
git-svn-id: https://develop.svn.wordpress.org/trunk@10084 602fd350-edb4-49c9-b593-d223f7449a82
2008-12-06 07:18:04 +00:00
Matt Mullenweg c477def73e Continuation to [10060] to have both get_ and update_ use same $check_global setting. Coding style updates.
git-svn-id: https://develop.svn.wordpress.org/trunk@10083 602fd350-edb4-49c9-b593-d223f7449a82
2008-12-06 07:14:22 +00:00
Peter Westwood 971fac85ae Fix documentation for get_alloptions. Fixes #8491 props jeremyclarke.
git-svn-id: https://develop.svn.wordpress.org/trunk@10077 602fd350-edb4-49c9-b593-d223f7449a82
2008-12-05 22:39:59 +00:00
Ryan Boren fee741345b Don't check blog options for user-settings
git-svn-id: https://develop.svn.wordpress.org/trunk@10060 602fd350-edb4-49c9-b593-d223f7449a82
2008-12-05 06:08:46 +00:00
Ryan Boren d0560d1644 Don't check user settings if doing ajax.
git-svn-id: https://develop.svn.wordpress.org/trunk@10056 602fd350-edb4-49c9-b593-d223f7449a82
2008-12-05 05:10:05 +00:00
Peter Westwood 773fd1aeb8 Break out if we ever make it too far from home. Fixes #8428 props st_falcon.
git-svn-id: https://develop.svn.wordpress.org/trunk@9970 602fd350-edb4-49c9-b593-d223f7449a82
2008-11-29 23:24:20 +00:00
Andrew Ozz 807877938e Add DivX MIME type, props wfrantz, fixes #8289
git-svn-id: https://develop.svn.wordpress.org/trunk@9802 602fd350-edb4-49c9-b593-d223f7449a82
2008-11-20 01:11:45 +00:00
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
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
Matt Mullenweg bf2d50bf6b Blow out mem limit, slightly larger thumbnails.
git-svn-id: https://develop.svn.wordpress.org/trunk@6786 602fd350-edb4-49c9-b593-d223f7449a82
2008-02-11 09:02:44 +00:00
Matt Mullenweg 129dddd3a3 Lowercase extensions too, dynamically change when we try to create thumbnails by memory limit.
git-svn-id: https://develop.svn.wordpress.org/trunk@6783 602fd350-edb4-49c9-b593-d223f7449a82
2008-02-11 08:02:01 +00:00
Matt Mullenweg e5087bdeba Allow uploads outside of the WP path and custom URLs for the same.
git-svn-id: https://develop.svn.wordpress.org/trunk@6780 602fd350-edb4-49c9-b593-d223f7449a82
2008-02-11 06:35:24 +00:00
Ryan Boren d99739dac9 s/2.4/2.5/. Props ffemtcj. fixes #5810
git-svn-id: https://develop.svn.wordpress.org/trunk@6777 602fd350-edb4-49c9-b593-d223f7449a82
2008-02-10 07:59:34 +00:00
Ryan Boren 347f594c9f Remove gzip_compression(). Leave it to the server. fixes #4342
git-svn-id: https://develop.svn.wordpress.org/trunk@6775 602fd350-edb4-49c9-b593-d223f7449a82
2008-02-10 07:12:33 +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 a8eb580138 doubleval bytes. Props tellyworth. fixes #5246
git-svn-id: https://develop.svn.wordpress.org/trunk@6669 602fd350-edb4-49c9-b593-d223f7449a82
2008-01-28 04:55:54 +00:00
Peter Westwood 90e193bdab Notice fixing for wp-includes. See #5607 props filosofo.
git-svn-id: https://develop.svn.wordpress.org/trunk@6592 602fd350-edb4-49c9-b593-d223f7449a82
2008-01-10 20:51:07 +00:00
Ryan Boren 66415d7bba Encoding before title. Props RanYanivHartstein. fixes #5519 for 2.5
git-svn-id: https://develop.svn.wordpress.org/trunk@6568 602fd350-edb4-49c9-b593-d223f7449a82
2008-01-06 19:15:33 +00:00
Ryan Boren 791a7d7191 Unused var cleanup. Props DD32. see #5418
git-svn-id: https://develop.svn.wordpress.org/trunk@6551 602fd350-edb4-49c9-b593-d223f7449a82
2008-01-04 19:36:34 +00:00
Ryan Boren 72a79d489d Port autosave to jquery. Props rmccue. see #3824
git-svn-id: https://develop.svn.wordpress.org/trunk@6546 602fd350-edb4-49c9-b593-d223f7449a82
2008-01-04 08:46:33 +00:00
Matt Mullenweg 30224a0b3d New tag interface, tag auto-suggest while typing. Rough - suggest and parts of JS should probably be refactored. Hat tip: jhodgdon.
git-svn-id: https://develop.svn.wordpress.org/trunk@6542 602fd350-edb4-49c9-b593-d223f7449a82
2008-01-03 01:34:11 +00:00
Ryan Boren 8f6679c739 Properly close tags. Props ionfish. fixes #5568
git-svn-id: https://develop.svn.wordpress.org/trunk@6535 602fd350-edb4-49c9-b593-d223f7449a82
2008-01-02 17:31:00 +00:00
Peter Westwood 7a455e8b2b Mark functions and files as deprecated. Fixes #4361 props docwhat and darkdragon
git-svn-id: https://develop.svn.wordpress.org/trunk@6514 602fd350-edb4-49c9-b593-d223f7449a82
2007-12-28 21:17:42 +00:00
Ryan Boren 08920c2855 Custom DB error page. fixes #5500 for 2.4
git-svn-id: https://develop.svn.wordpress.org/trunk@6447 602fd350-edb4-49c9-b593-d223f7449a82
2007-12-21 02:53:57 +00:00
Ryan Boren 6aa006ce3c redirect fixes from ruckus and tellyworth. fixes #5479
git-svn-id: https://develop.svn.wordpress.org/trunk@6402 602fd350-edb4-49c9-b593-d223f7449a82
2007-12-18 05:28:44 +00:00
Ryan Boren 49d95f21c1 unique filename fixes from tellyworth. fixes #5482
git-svn-id: https://develop.svn.wordpress.org/trunk@6401 602fd350-edb4-49c9-b593-d223f7449a82
2007-12-18 03:32:43 +00:00
Ryan Boren a3058bdbc2 Suppress display of DB error messages by default. Props filosofo. see #5473
git-svn-id: https://develop.svn.wordpress.org/trunk@6391 602fd350-edb4-49c9-b593-d223f7449a82
2007-12-16 21:38:24 +00:00
Ryan Boren f4d8e3a731 Import file attachments. Props tellyworth. fixes #5466
git-svn-id: https://develop.svn.wordpress.org/trunk@6390 602fd350-edb4-49c9-b593-d223f7449a82
2007-12-16 21:34:48 +00:00
Peter Westwood bdeb4e3663 Remove triming from string options fixes #4781 props hakre
git-svn-id: https://develop.svn.wordpress.org/trunk@6367 602fd350-edb4-49c9-b593-d223f7449a82
2007-12-09 11:49:25 +00:00
Ryan Boren fb05263f15 New feed_link functions. Deprecate rss_link functions. Make default feed pluggable. Props rubys. see #5328
git-svn-id: https://develop.svn.wordpress.org/trunk@6365 602fd350-edb4-49c9-b593-d223f7449a82
2007-12-06 19:58:15 +00:00
Ryan Boren 3a8b2fcca3 Remove unused vars. Props DD32. see #5418
git-svn-id: https://develop.svn.wordpress.org/trunk@6364 602fd350-edb4-49c9-b593-d223f7449a82
2007-12-06 19:49:33 +00:00
Peter Westwood 2ab598e809 Actually return a url if SSL is not supported! Relates to #5298
git-svn-id: https://develop.svn.wordpress.org/trunk@6340 602fd350-edb4-49c9-b593-d223f7449a82
2007-11-17 11:27:01 +00:00
Peter Westwood fcd2063365 Ensure that we offer https access to atom if it is available. Fixes #5298 props rubys.
git-svn-id: https://develop.svn.wordpress.org/trunk@6339 602fd350-edb4-49c9-b593-d223f7449a82
2007-11-17 11:21:34 +00:00
Ryan Boren a5d56b0264 Kill unused var.
git-svn-id: https://develop.svn.wordpress.org/trunk@6250 602fd350-edb4-49c9-b593-d223f7449a82
2007-10-14 09:38:12 +00:00
Ryan Boren c77a783d55 Just cache the is_blog_installed value. If the options table goes away while the value is still cached, oh well. Very edge-case.
git-svn-id: https://develop.svn.wordpress.org/trunk@6249 602fd350-edb4-49c9-b593-d223f7449a82
2007-10-14 07:57:56 +00:00
Ryan Boren 27bc4a130f Set global is_blog_installed flag so we don't query the DB more than once per load.
git-svn-id: https://develop.svn.wordpress.org/trunk@6244 602fd350-edb4-49c9-b593-d223f7449a82
2007-10-13 18:39:28 +00:00
Ryan Boren a6076f7083 Fix category assigment during link import. fixes #5107 for trunk
git-svn-id: https://develop.svn.wordpress.org/trunk@6233 602fd350-edb4-49c9-b593-d223f7449a82
2007-10-12 21:47:34 +00:00
Mark Jaquith f1f150fd50 Code cleanup and standardization for functions.php
git-svn-id: https://develop.svn.wordpress.org/trunk@6223 602fd350-edb4-49c9-b593-d223f7449a82
2007-10-11 05:46:57 +00:00
Mark Jaquith 3cf979dd42 Introducing absint() for casting to an absolute integer. see #4762
git-svn-id: https://develop.svn.wordpress.org/trunk@6222 602fd350-edb4-49c9-b593-d223f7449a82
2007-10-10 22:11:18 +00:00
Peter Westwood 0919b3ca32 Move database class loading to a shared function to ensure all of WordPress is wp-content/wp-db.php aware. Fixes #5128 props ComputerGuru.
git-svn-id: https://develop.svn.wordpress.org/trunk@6198 602fd350-edb4-49c9-b593-d223f7449a82
2007-10-06 08:18:33 +00:00
Mark Jaquith 11e69b6820 prepare() for wp-includes/ link-template.php, post.php, general-template.php, pluggable.php, functions.php. see #4553
git-svn-id: https://develop.svn.wordpress.org/trunk@6180 602fd350-edb4-49c9-b593-d223f7449a82
2007-10-02 18:45:47 +00:00
Mark Jaquith 1c934d962c Add tag_base to list of untrailingslashed options, and standardize the unslashing. Prevents /mytags//tagname/
git-svn-id: https://develop.svn.wordpress.org/trunk@6153 602fd350-edb4-49c9-b593-d223f7449a82
2007-09-22 06:11:48 +00:00
Ryan Boren 6e8eb02d73 Fix includes for setup-config so that wp_die is defined. Props DD32. fixes #4997
git-svn-id: https://develop.svn.wordpress.org/trunk@6137 602fd350-edb4-49c9-b593-d223f7449a82
2007-09-19 04:27:56 +00:00
Mark Jaquith 5d12c48818 Use wp_die() for WPDB bails. Send 500 response and no-cache headers so wp_die()s are not cached. props DD32. fixes #3471
git-svn-id: https://develop.svn.wordpress.org/trunk@6110 602fd350-edb4-49c9-b593-d223f7449a82
2007-09-13 06:23:23 +00:00
Mark Jaquith ff71837a58 De-rabbit-hole compat.php
git-svn-id: https://develop.svn.wordpress.org/trunk@6108 602fd350-edb4-49c9-b593-d223f7449a82
2007-09-13 05:24:31 +00:00
Mark Jaquith 15be7fdab8 Check for apply_filters() in status_header() so that it can be called early on in load process
git-svn-id: https://develop.svn.wordpress.org/trunk@6107 602fd350-edb4-49c9-b593-d223f7449a82
2007-09-13 05:00:46 +00:00
Mark Jaquith d2b1b4ec3b Move $wp_header_to_desc array to get_status_header_desc() so that it can be called before vars.php is loaded.
git-svn-id: https://develop.svn.wordpress.org/trunk@6104 602fd350-edb4-49c9-b593-d223f7449a82
2007-09-13 04:48:41 +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 d065fe3cb8 Try more ways of getting wp-admin URL in wp_die(). props Nazgul. fixes #4006
git-svn-id: https://develop.svn.wordpress.org/trunk@6057 602fd350-edb4-49c9-b593-d223f7449a82
2007-09-07 02:25:54 +00:00
Mark Jaquith 88a4c73ec2 Deprecate option_can_override, option_type, option_width, option_height, option_description, option_admin_level from options table. Props Nazgul. fixes #4390
git-svn-id: https://develop.svn.wordpress.org/trunk@6039 602fd350-edb4-49c9-b593-d223f7449a82
2007-09-05 19:20:53 +00:00
Mark Jaquith a2afc64e79 Actually, let's just drop that slash check altogether. Equals sign is the best indicator. fixes #4903 for trunk
git-svn-id: https://develop.svn.wordpress.org/trunk@6031 602fd350-edb4-49c9-b593-d223f7449a82
2007-09-04 05:26:18 +00:00
Mark Jaquith 23bcbfcb05 Require a slash AND the absence of an equals sign to designate the passed $uri as a base (without a query string). fixes #4903 for trunk
git-svn-id: https://develop.svn.wordpress.org/trunk@6030 602fd350-edb4-49c9-b593-d223f7449a82
2007-09-04 05:21:54 +00:00
Ryan Boren 7a43c01e08 Remove trailing whitespace
git-svn-id: https://develop.svn.wordpress.org/trunk@6026 602fd350-edb4-49c9-b593-d223f7449a82
2007-09-03 23:32:58 +00:00
Ryan Boren e9391140a7 Strip lines that contain only whitespace down to newlines.
git-svn-id: https://develop.svn.wordpress.org/trunk@6025 602fd350-edb4-49c9-b593-d223f7449a82
2007-09-03 23:19:20 +00:00
Mark Jaquith d0d887d09d Eliminate double urlencode()ing in add_query_arg(). Move &amp;-to-& conversion to wp_nonce_url(). fixes #4884
git-svn-id: https://develop.svn.wordpress.org/trunk@6008 602fd350-edb4-49c9-b593-d223f7449a82
2007-09-02 05:49:54 +00:00
Mark Jaquith 3308252f00 Turn &amp; to & in add_query_arg(). fixes #4878
git-svn-id: https://develop.svn.wordpress.org/trunk@6005 602fd350-edb4-49c9-b593-d223f7449a82
2007-09-01 22:12:17 +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
Peter Westwood 897531ee27 Allow upload of all Open Office document types props nbachiyski fixes #4615
git-svn-id: https://develop.svn.wordpress.org/trunk@5929 602fd350-edb4-49c9-b593-d223f7449a82
2007-08-23 18:28:14 +00:00
Mark Jaquith c82cd99e96 Allow pre_option_ filters to return values that evaluate as false. fixes #4695
git-svn-id: https://develop.svn.wordpress.org/trunk@5842 602fd350-edb4-49c9-b593-d223f7449a82
2007-08-02 22:51:42 +00:00
Mark Jaquith c4889d1f21 add_option()/update_option() should pass the option name to get_option() pre-escaped. fixes #4690 for trunk
git-svn-id: https://develop.svn.wordpress.org/trunk@5829 602fd350-edb4-49c9-b593-d223f7449a82
2007-08-01 19:14:10 +00:00
Mark Jaquith 593eca6f21 ABSPATH already has a trailing slash. Props Nazgul. fixes #4607
git-svn-id: https://develop.svn.wordpress.org/trunk@5820 602fd350-edb4-49c9-b593-d223f7449a82
2007-07-27 21:28:01 +00:00
Peter Westwood 45226eae66 Only enable gzip compression if it is not enabled in php.ini. Fixes #4426
git-svn-id: https://develop.svn.wordpress.org/trunk@5810 602fd350-edb4-49c9-b593-d223f7449a82
2007-07-18 21:12:22 +00:00
Ryan Boren 4c70bb896e Show upload file size in upload browser. Props tellyworth. fixes #4561
git-svn-id: https://develop.svn.wordpress.org/trunk@5801 602fd350-edb4-49c9-b593-d223f7449a82
2007-07-15 17:52:50 +00:00
Ryan Boren 9fe6a868ca Post filter rework. see #4546
git-svn-id: https://develop.svn.wordpress.org/trunk@5796 602fd350-edb4-49c9-b593-d223f7449a82
2007-07-11 19:57:43 +00:00
Mark Jaquith 3e87a2b88d Properly unset notoptions cache in add_option() so that get_option() and update_option() work on the same load. fixes #4429 for trunk
git-svn-id: https://develop.svn.wordpress.org/trunk@5788 602fd350-edb4-49c9-b593-d223f7449a82
2007-07-07 04:06:29 +00:00
Ryan Boren 6b7bc3b1b6 wp_parse_str() from mdawaffe. see #4467
git-svn-id: https://develop.svn.wordpress.org/trunk@5709 602fd350-edb4-49c9-b593-d223f7449a82
2007-06-14 22:46:59 +00:00
Mark Jaquith 2a6e8a08be use FALSE to designate lack of user-supplied URL in *_query_arg() funcs. fixes #4465 for 2.3 (trunk)
git-svn-id: https://develop.svn.wordpress.org/trunk@5705 602fd350-edb4-49c9-b593-d223f7449a82
2007-06-14 05:12:22 +00:00