Commit Graph

1196 Commits

Author SHA1 Message Date
Ryan Boren 9599eaa2ca Respect time zone when displaying autosave and revision time. Props janbrasna, designsimply. fixes #8750 #6489 for trunk
git-svn-id: https://develop.svn.wordpress.org/trunk@10490 602fd350-edb4-49c9-b593-d223f7449a82
2009-02-03 23:04:31 +00:00
Peter Westwood 38ae553c14 Reduce code in mysql2date. Fixes #8166 props jacobsantos
git-svn-id: https://develop.svn.wordpress.org/trunk@10408 602fd350-edb4-49c9-b593-d223f7449a82
2009-01-22 21:05:55 +00:00
Andrew Ozz 6912126d8f Faster wp_clone function fix, props sambauers, fixes #8844 for trunk
git-svn-id: https://develop.svn.wordpress.org/trunk@10353 602fd350-edb4-49c9-b593-d223f7449a82
2009-01-13 14:45:50 +00:00
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
Mark Jaquith e542bbdde1 only strip question marks from the RIGHT side of the query string. fixes #4464 for trunk
git-svn-id: https://develop.svn.wordpress.org/trunk@5704 602fd350-edb4-49c9-b593-d223f7449a82
2007-06-14 04:44:06 +00:00
Ryan Boren b046d67f41 Trim empty lines. Nothing but newline.
git-svn-id: https://develop.svn.wordpress.org/trunk@5700 602fd350-edb4-49c9-b593-d223f7449a82
2007-06-14 02:25:30 +00:00
Mark Jaquith 37b3dc98fe correct CSS link for install. Props Viper007Bond. fixes #4443
git-svn-id: https://develop.svn.wordpress.org/trunk@5694 602fd350-edb4-49c9-b593-d223f7449a82
2007-06-13 06:33:17 +00:00
Mark Jaquith ce7fd94edf Force $autoload to be either "yes" or "no". see #4440. props Nazgul
git-svn-id: https://develop.svn.wordpress.org/trunk@5686 602fd350-edb4-49c9-b593-d223f7449a82
2007-06-12 20:57:58 +00:00
rob1n 12c2ef6be0 Content-Type, not Content-type, as headers are case sensitive. Props foolswisdom and Nazgul. fixes #3545
git-svn-id: https://develop.svn.wordpress.org/trunk@5640 602fd350-edb4-49c9-b593-d223f7449a82
2007-06-02 05:21:18 +00:00
rob1n 5b7256e644 Actually, this makes more sense.
git-svn-id: https://develop.svn.wordpress.org/trunk@5573 602fd350-edb4-49c9-b593-d223f7449a82
2007-05-28 17:11:42 +00:00
rob1n d5816ce68b Turn string to upper. Props Donncha. fixes #4350
git-svn-id: https://develop.svn.wordpress.org/trunk@5572 602fd350-edb4-49c9-b593-d223f7449a82
2007-05-28 17:05:46 +00:00
Ryan Boren 455d73121f Term cache work. see #4189
git-svn-id: https://develop.svn.wordpress.org/trunk@5555 602fd350-edb4-49c9-b593-d223f7449a82
2007-05-26 23:32:06 +00:00
Ryan Boren c018ceb6bd Make sure sanitize_option() is always called when updating options.
git-svn-id: https://develop.svn.wordpress.org/trunk@5541 602fd350-edb4-49c9-b593-d223f7449a82
2007-05-25 02:22:30 +00:00
Ryan Boren 510799abe8 More rel_type elimination. see #4189
git-svn-id: https://develop.svn.wordpress.org/trunk@5532 602fd350-edb4-49c9-b593-d223f7449a82
2007-05-23 20:59:11 +00:00
rob1n 62c94190fb Don't call is_wp_error() in wp_die() if it hasn't been defined yet. fixes #4308
git-svn-id: https://develop.svn.wordpress.org/trunk@5507 602fd350-edb4-49c9-b593-d223f7449a82
2007-05-21 22:50:32 +00:00
Ryan Boren e50ab910fb Check if is_array before unsetting array index. fixes #4306 for 2.3
git-svn-id: https://develop.svn.wordpress.org/trunk@5501 602fd350-edb4-49c9-b593-d223f7449a82
2007-05-21 16:39:08 +00:00
rob1n ac98122657 Check for switch_themes, not edit_themes. Props Denis de Bernardy. fixes #4292
git-svn-id: https://develop.svn.wordpress.org/trunk@5492 602fd350-edb4-49c9-b593-d223f7449a82
2007-05-19 04:38:51 +00:00
Ryan Boren fb8a712fdb Flush all output buffers during shutdown to avoid PHP 5 bustage. see #3354
git-svn-id: https://develop.svn.wordpress.org/trunk@5462 602fd350-edb4-49c9-b593-d223f7449a82
2007-05-12 22:06:31 +00:00
Ryan Boren d9da4028a2 Return proper protocol. fixes #3886 for 2.3
git-svn-id: https://develop.svn.wordpress.org/trunk@5460 602fd350-edb4-49c9-b593-d223f7449a82
2007-05-12 21:55:14 +00:00
rob1n 90dc5682f3 git-svn-id: https://develop.svn.wordpress.org/trunk@5451 602fd350-edb4-49c9-b593-d223f7449a82 2007-05-11 04:02:30 +00:00
rob1n 3deb0fe500 New status_header code, and WP-DB bail() errors send a 503 Service Unavailable. see #2409
Also, the new header code to text array has 302 as Found. fixes #4183


git-svn-id: https://develop.svn.wordpress.org/trunk@5446 602fd350-edb4-49c9-b593-d223f7449a82
2007-05-11 03:34:50 +00:00
rob1n 222bb819b7 Don't discard non-default args in wp_parse_args(). see #4237
git-svn-id: https://develop.svn.wordpress.org/trunk@5428 602fd350-edb4-49c9-b593-d223f7449a82
2007-05-10 02:33:01 +00:00
rob1n 13d4d782a5 Bit of clean-up.
git-svn-id: https://develop.svn.wordpress.org/trunk@5415 602fd350-edb4-49c9-b593-d223f7449a82
2007-05-09 04:19:19 +00:00
Ryan Boren 3ae3baa8ff Don't send header from wp_die() if admin header already sent. fixes #4234 for 2.3.
git-svn-id: https://develop.svn.wordpress.org/trunk@5411 602fd350-edb4-49c9-b593-d223f7449a82
2007-05-07 23:24:44 +00:00
Ryan Boren e83f137798 Make sure Widgets menu comes after Themes. see #4169
git-svn-id: https://develop.svn.wordpress.org/trunk@5401 602fd350-edb4-49c9-b593-d223f7449a82
2007-05-06 20:36:11 +00:00
rob1n c30d0f3c57 Load order fixed.
git-svn-id: https://develop.svn.wordpress.org/trunk@5377 602fd350-edb4-49c9-b593-d223f7449a82
2007-05-03 00:52:14 +00:00
rob1n e6ab5d6f99 Don't show Widgets admin page if core widgets aren't enabled. fixes #4218
git-svn-id: https://develop.svn.wordpress.org/trunk@5376 602fd350-edb4-49c9-b593-d223f7449a82
2007-05-03 00:43:57 +00:00
Ryan Boren 9414b0a110 Call get_option('siteurl') outside the loop to save a few dozen get_option calls. Props andissimo.
git-svn-id: https://develop.svn.wordpress.org/trunk@5370 602fd350-edb4-49c9-b593-d223f7449a82
2007-05-02 00:32:22 +00:00
rob1n 0cf5f8cf12 New way of loading widgets that works with PHP 5. Thanks to filosofo for testing. see #4169
git-svn-id: https://develop.svn.wordpress.org/trunk@5363 602fd350-edb4-49c9-b593-d223f7449a82
2007-05-01 01:58:18 +00:00
rob1n 697a38d8e8 Move widget stuff around. see #4169
git-svn-id: https://develop.svn.wordpress.org/trunk@5360 602fd350-edb4-49c9-b593-d223f7449a82
2007-05-01 01:13:06 +00:00
rob1n a40b296021 Allow number_format to be internationalized. Props nbachiyski. fixes #3677
git-svn-id: https://develop.svn.wordpress.org/trunk@5308 602fd350-edb4-49c9-b593-d223f7449a82
2007-04-25 00:49:57 +00:00
rob1n 69e811bb7c Add ODT to allowed file types. Props Nazgul. fixes #4136
git-svn-id: https://develop.svn.wordpress.org/trunk@5304 602fd350-edb4-49c9-b593-d223f7449a82
2007-04-24 23:28:39 +00:00
rob1n 642b38246b Cast substr()'s to int before passing through mktime() to prevent warning. Props josephscott. fixes #4166
git-svn-id: https://develop.svn.wordpress.org/trunk@5284 602fd350-edb4-49c9-b593-d223f7449a82
2007-04-19 02:49:19 +00:00
rob1n 8c25d341d9 Add in another trim(), just in case $frag is actually something.
git-svn-id: https://develop.svn.wordpress.org/trunk@5269 602fd350-edb4-49c9-b593-d223f7449a82
2007-04-14 00:19:01 +00:00
rob1n 6d905c3341 trim() question marks *after* concatenating the string. fixes #4134
git-svn-id: https://develop.svn.wordpress.org/trunk@5267 602fd350-edb4-49c9-b593-d223f7449a82
2007-04-14 00:11:47 +00:00
rob1n eac89c8fdd Get add_query_arg() to urlencode all values of parse_str array. Props mdawaffe. fixes #4084
git-svn-id: https://develop.svn.wordpress.org/trunk@5261 602fd350-edb4-49c9-b593-d223f7449a82
2007-04-12 22:00:22 +00:00
Ryan Boren d8c8ecb711 Actually make use of wp_cache_add to avoid unnecessary cache writes. Props skeltoac. fixes #4138
git-svn-id: https://develop.svn.wordpress.org/trunk@5248 602fd350-edb4-49c9-b593-d223f7449a82
2007-04-12 02:27:12 +00:00
rob1n 5327a547db Rollback wonky part of [5193]. see #4084
git-svn-id: https://develop.svn.wordpress.org/trunk@5240 602fd350-edb4-49c9-b593-d223f7449a82
2007-04-11 03:41:42 +00:00
Ryan Boren e075553eba Tag clouds from mdawaffe. fixes #4129
git-svn-id: https://develop.svn.wordpress.org/trunk@5234 602fd350-edb4-49c9-b593-d223f7449a82
2007-04-10 19:52:15 +00:00
rob1n 2ea44df759 Move the stripslashes(), and change it to stripslashes_deep(). Props mdawaffe. fixes #4105
git-svn-id: https://develop.svn.wordpress.org/trunk@5200 602fd350-edb4-49c9-b593-d223f7449a82
2007-04-07 01:24:40 +00:00
rob1n 627cf79932 Re-encode query values after passed to add_query_arg(). Props mdawaffe. fixes #4084
git-svn-id: https://develop.svn.wordpress.org/trunk@5193 602fd350-edb4-49c9-b593-d223f7449a82
2007-04-06 04:21:21 +00:00
Ryan Boren 93cdc6deac Cache category hierarchy to make cat listing faster. Phase 1. see #3985
git-svn-id: https://develop.svn.wordpress.org/trunk@5178 602fd350-edb4-49c9-b593-d223f7449a82
2007-04-04 20:44:45 +00:00
Matt Mullenweg f600a397d1 Don't forget the tag_cache
git-svn-id: https://develop.svn.wordpress.org/trunk@5163 602fd350-edb4-49c9-b593-d223f7449a82
2007-04-01 08:44:10 +00:00
Matt Mullenweg a059392772 Now tag pretty permalinks should work, and support custom tag bases.
git-svn-id: https://develop.svn.wordpress.org/trunk@5150 602fd350-edb4-49c9-b593-d223f7449a82
2007-03-31 09:19:32 +00:00
rob1n 8f07a4c509 Add back in a question mark. Props foolswisdom. fixes #3143
git-svn-id: https://develop.svn.wordpress.org/trunk@5138 602fd350-edb4-49c9-b593-d223f7449a82
2007-03-29 02:24:25 +00:00
Ryan Boren 0d281aa632 Avoid non-object error when wp_die()ing before is instantiated. Props technosailor. fixes #4042
git-svn-id: https://develop.svn.wordpress.org/trunk@5129 602fd350-edb4-49c9-b593-d223f7449a82
2007-03-28 18:10:03 +00:00
Ryan Boren 58efc0e2b2 Change bookmark to link. Props foolswisdom. fixes #3143
git-svn-id: https://develop.svn.wordpress.org/trunk@5124 602fd350-edb4-49c9-b593-d223f7449a82
2007-03-27 23:54:48 +00:00
Ryan Boren 0ba70bb459 Serve robots.txt as text/plain. Props JeremyVisser. fixes #4037
git-svn-id: https://develop.svn.wordpress.org/trunk@5117 602fd350-edb4-49c9-b593-d223f7449a82
2007-03-27 16:44:36 +00:00
Matt Mullenweg bfb4b8c091 Basic theme support for tags.
git-svn-id: https://develop.svn.wordpress.org/trunk@5111 602fd350-edb4-49c9-b593-d223f7449a82
2007-03-26 08:08:31 +00:00
Ryan Boren 387c06a69f Revert [5102]
git-svn-id: https://develop.svn.wordpress.org/trunk@5109 602fd350-edb4-49c9-b593-d223f7449a82
2007-03-26 06:13:19 +00:00
Ryan Boren afd5de8f9d Correct reversed logic in maybe_serialize. Props takayukister. fixes #4029
git-svn-id: https://develop.svn.wordpress.org/trunk@5102 602fd350-edb4-49c9-b593-d223f7449a82
2007-03-25 23:23:52 +00:00
Ryan Boren de3198277a Allow siteurl and home to be defined as constants in wp-config, bypassing the DB. Props filosofo and charleshooper. fixes #4003
git-svn-id: https://develop.svn.wordpress.org/trunk@5093 602fd350-edb4-49c9-b593-d223f7449a82
2007-03-23 17:45:40 +00:00
Matt Mullenweg b1f6f9a6a8 (int)er the dragon.
git-svn-id: https://develop.svn.wordpress.org/trunk@5087 602fd350-edb4-49c9-b593-d223f7449a82
2007-03-23 00:59:21 +00:00
Mark Jaquith d8336eed5c use clean_url() instead of attribute_escape() when dealing with src/href to protect against XSS. props xknown. fixes #3986 for trunk.
git-svn-id: https://develop.svn.wordpress.org/trunk@5056 602fd350-edb4-49c9-b593-d223f7449a82
2007-03-17 08:46:59 +00:00
Ryan Boren d2aba83689 More attribute_escape().
git-svn-id: https://develop.svn.wordpress.org/trunk@5044 602fd350-edb4-49c9-b593-d223f7449a82
2007-03-16 01:20:53 +00:00
Mark Jaquith 096395f366 nonce-protect comments by users with unfiltered_html cap to prevent xsrf/xss. fixes #3973 for trunk
git-svn-id: https://develop.svn.wordpress.org/trunk@5039 602fd350-edb4-49c9-b593-d223f7449a82
2007-03-14 23:10:57 +00:00
Ryan Boren 01c199e20c Move smilies init to function and trigger from init. Props rob1n. fixes #1721
git-svn-id: https://develop.svn.wordpress.org/trunk@5032 602fd350-edb4-49c9-b593-d223f7449a82
2007-03-12 21:31:24 +00:00
Ryan Boren c79783485f Change xmlrpc upload logic. Props Joseph Scott.
git-svn-id: https://develop.svn.wordpress.org/trunk@5008 602fd350-edb4-49c9-b593-d223f7449a82
2007-03-09 20:14:52 +00:00
Mark Jaquith 56368548ad Use strpos instead of strstr where ever possible, for speed. Props rob1n. fixes #3920
git-svn-id: https://develop.svn.wordpress.org/trunk@4990 602fd350-edb4-49c9-b593-d223f7449a82
2007-03-07 05:29:15 +00:00
Ryan Boren 3e08976087 xmlrpc updates from Joseph Scott.
git-svn-id: https://develop.svn.wordpress.org/trunk@4961 602fd350-edb4-49c9-b593-d223f7449a82
2007-03-03 16:56:46 +00:00
Mark Jaquith b3fa98f0d1 attribute_escape() in nonce AYS
git-svn-id: https://develop.svn.wordpress.org/trunk@4951 602fd350-edb4-49c9-b593-d223f7449a82
2007-02-27 07:15:47 +00:00
Ryan Boren 2f191b4b56 Comment feeds everywhere. Props mdawaffe and rob1n. fixes #2485
git-svn-id: https://develop.svn.wordpress.org/trunk@4934 602fd350-edb4-49c9-b593-d223f7449a82
2007-02-24 07:33:29 +00:00
Ryan Boren 6c6458f7c9 Atom comments feed. First pass. Props kurtmckee and rob1n. fixes #1785
git-svn-id: https://develop.svn.wordpress.org/trunk@4928 602fd350-edb4-49c9-b593-d223f7449a82
2007-02-23 08:18:30 +00:00
Ryan Boren 9b6a6b632c Relocate feed templates to wp-includes. fixes #3846
git-svn-id: https://develop.svn.wordpress.org/trunk@4927 602fd350-edb4-49c9-b593-d223f7449a82
2007-02-23 02:50:05 +00:00
Ryan Boren 70e367f72f Use === to compare option values. Props roscohead and Viper007Bond. fixes #3394
git-svn-id: https://develop.svn.wordpress.org/trunk@4920 602fd350-edb4-49c9-b593-d223f7449a82
2007-02-23 00:49:37 +00:00
Ryan Boren 5816d942f0 xmlrpc updates from Joseph Scott.
git-svn-id: https://develop.svn.wordpress.org/trunk@4908 602fd350-edb4-49c9-b593-d223f7449a82
2007-02-22 01:42:21 +00:00
Ryan Boren 98e9f1ad0a Add WP_Error handling to wp_die(). Props mdawaffe. fixes #3791
git-svn-id: https://develop.svn.wordpress.org/trunk@4892 602fd350-edb4-49c9-b593-d223f7449a82
2007-02-20 01:24:31 +00:00
Ryan Boren 6fea4b0942 specialchars wp_explain_nonce() ouput.
git-svn-id: https://develop.svn.wordpress.org/trunk@4875 602fd350-edb4-49c9-b593-d223f7449a82
2007-02-13 18:19:24 +00:00
Ryan Boren 81cadfe118 Typo fix from charleshooper. fixes #3743
git-svn-id: https://develop.svn.wordpress.org/trunk@4865 602fd350-edb4-49c9-b593-d223f7449a82
2007-02-03 00:56:23 +00:00
Mark Jaquith ea8fc7def2 Introduce Notoptions and Alloptions caching, so that all options (and previously attempted Notoptions) are read from the cache in one go. Should reduce cache misses to zero or close to it. fixes #3726
git-svn-id: https://develop.svn.wordpress.org/trunk@4855 602fd350-edb4-49c9-b593-d223f7449a82
2007-02-01 08:53:08 +00:00
Ryan Boren 3301510db8 Add pre_option_* filter that allows plugins to short-circuit fetches.
git-svn-id: https://develop.svn.wordpress.org/trunk@4842 602fd350-edb4-49c9-b593-d223f7449a82
2007-01-30 18:34:18 +00:00
Ryan Boren b0f28a6dff Remove notoptions caching. Multile rewrite_rules options were being created. See #3692 #2268
git-svn-id: https://develop.svn.wordpress.org/trunk@4831 602fd350-edb4-49c9-b593-d223f7449a82
2007-01-30 01:43:39 +00:00
Mark Jaquith 2fd34af717 Have add_option() for options whose non-existence has been cached clear that cached non-existence before adding the option. Nice catch by Westi. fixes #3692
git-svn-id: https://develop.svn.wordpress.org/trunk@4820 602fd350-edb4-49c9-b593-d223f7449a82
2007-01-27 23:06:46 +00:00
Mark Jaquith 58ee51abe9 Cache the non-existence of options to prevent redundant queries. props davidhouse. fixes #2268
git-svn-id: https://develop.svn.wordpress.org/trunk@4798 602fd350-edb4-49c9-b593-d223f7449a82
2007-01-25 00:12:08 +00:00
Ryan Boren de62091671 Restrict wp_remote_fopen to remote files.
git-svn-id: https://develop.svn.wordpress.org/trunk@4752 602fd350-edb4-49c9-b593-d223f7449a82
2007-01-16 18:41:05 +00:00
Mark Jaquith 6dde066c14 That'll teach me to trust a code snippet from php.net ... typo fix from last commit. relates to #3528
git-svn-id: https://develop.svn.wordpress.org/trunk@4725 602fd350-edb4-49c9-b593-d223f7449a82
2007-01-12 21:46:29 +00:00
Mark Jaquith 61133b735f Use http_response_code for in status_header() on PHP >= 4.3.0 per Ryan's suggestion. relates to #3528
git-svn-id: https://develop.svn.wordpress.org/trunk@4724 602fd350-edb4-49c9-b593-d223f7449a82
2007-01-12 21:41:48 +00:00
Mark Jaquith 6fad793587 burn in Hades, status_header(), destroyer of souls. fixes #3528
git-svn-id: https://develop.svn.wordpress.org/trunk@4684 602fd350-edb4-49c9-b593-d223f7449a82
2007-01-06 08:22:12 +00:00
Mark Jaquith a011b23b47 Whitespace cleanup for [4656]
git-svn-id: https://develop.svn.wordpress.org/trunk@4657 602fd350-edb4-49c9-b593-d223f7449a82
2006-12-21 10:45:58 +00:00
Mark Jaquith 31c39f948d new function for escaping within attributes: attribute_escape()
git-svn-id: https://develop.svn.wordpress.org/trunk@4656 602fd350-edb4-49c9-b593-d223f7449a82
2006-12-21 10:10:04 +00:00
Ryan Boren 1b7d2a91d8 Move wp_generate_attachment_metadata() and friends to admin-functions.php and include admin-functions from xmlrpc.
git-svn-id: https://develop.svn.wordpress.org/trunk@4643 602fd350-edb4-49c9-b593-d223f7449a82
2006-12-12 08:36:16 +00:00
Ryan Boren ba54bd7839 Some caching cleanups.
git-svn-id: https://develop.svn.wordpress.org/trunk@4631 602fd350-edb4-49c9-b593-d223f7449a82
2006-12-08 07:35:45 +00:00
Ryan Boren e8184e1027 Create attachment metadata for xmlrpc uploads. Props mdawaffe. fixes #3452
git-svn-id: https://develop.svn.wordpress.org/trunk@4628 602fd350-edb4-49c9-b593-d223f7449a82
2006-12-07 22:42:22 +00:00
Ryan Boren f74d084276 Key caches by blog ID for those doing the multi blog trick.
git-svn-id: https://develop.svn.wordpress.org/trunk@4524 602fd350-edb4-49c9-b593-d223f7449a82
2006-11-23 20:39:39 +00:00
Matt Mullenweg 63d022fa1a This makes things a little more interesting and cacheable (sp?)
git-svn-id: https://develop.svn.wordpress.org/trunk@4517 602fd350-edb4-49c9-b593-d223f7449a82
2006-11-23 15:38:22 +00:00
Mark Jaquith 608fd4e44f trying Ryan's suggestion for #3215
git-svn-id: https://develop.svn.wordpress.org/trunk@4513 602fd350-edb4-49c9-b593-d223f7449a82
2006-11-22 04:58:31 +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 0e188c6859 Base last modified time for comment feeds on comments, not the post. Props mdawaffe. fixes #137
git-svn-id: https://develop.svn.wordpress.org/trunk@4483 602fd350-edb4-49c9-b593-d223f7449a82
2006-11-18 20:46:43 +00:00
Mark Jaquith 33a423a769 silence the fopen() in wp_remote_fopen()
git-svn-id: https://develop.svn.wordpress.org/trunk@4472 602fd350-edb4-49c9-b593-d223f7449a82
2006-11-15 22:46:35 +00:00
Mark Jaquith 697897019a possible solution for #3215
git-svn-id: https://develop.svn.wordpress.org/trunk@4445 602fd350-edb4-49c9-b593-d223f7449a82
2006-11-03 02:42:47 +00:00
Mark Jaquith 5ae75c9a44 Catch NULL, bool, and integer values in is_serialized(). Props mdawaffe. fixes #3310
git-svn-id: https://develop.svn.wordpress.org/trunk@4438 602fd350-edb4-49c9-b593-d223f7449a82
2006-10-31 08:24:09 +00:00
Mark Jaquith 3567fff3db Better preservation of query string when using add_query_arg(). Props in self- and Andy-flavored varieties. fixes #3308
git-svn-id: https://develop.svn.wordpress.org/trunk@4435 602fd350-edb4-49c9-b593-d223f7449a82
2006-10-31 05:49:14 +00:00
Mark Jaquith f3f5188f24 Fix post meta caching system to reduce queries and eliminate redundant WP code. fixes #3273
git-svn-id: https://develop.svn.wordpress.org/trunk@4419 602fd350-edb4-49c9-b593-d223f7449a82
2006-10-24 10:52:59 +00:00
Mark Jaquith f0a421f185 cleanup [4382] a bit
git-svn-id: https://develop.svn.wordpress.org/trunk@4383 602fd350-edb4-49c9-b593-d223f7449a82
2006-10-13 00:23:25 +00:00
Mark Jaquith 41ace9de74 Prevent users from entering strings that will be interpreted as serialized arrays/objects on the way out. fixes #2591
git-svn-id: https://develop.svn.wordpress.org/trunk@4382 602fd350-edb4-49c9-b593-d223f7449a82
2006-10-12 23:54:36 +00:00
Mark Jaquith c4d4830ed8 wp_die() fix for 5 minute install from alanjcastonguay. fixes #3231
git-svn-id: https://develop.svn.wordpress.org/trunk@4379 602fd350-edb4-49c9-b593-d223f7449a82
2006-10-12 02:33:03 +00:00
Mark Jaquith 836286e8ec Post meta caching fix by mdawaffe. fixes #3229
git-svn-id: https://develop.svn.wordpress.org/trunk@4372 602fd350-edb4-49c9-b593-d223f7449a82
2006-10-11 09:18:54 +00:00
Ryan Boren fddb91d85c RTL support for login sand wp_die() from Sewar. fixes #3136
git-svn-id: https://develop.svn.wordpress.org/trunk@4359 602fd350-edb4-49c9-b593-d223f7449a82
2006-10-07 19:12:33 +00:00
Ryan Boren 455dd7d763 RTL enhancements from Sewar. #3136
git-svn-id: https://develop.svn.wordpress.org/trunk@4258 602fd350-edb4-49c9-b593-d223f7449a82
2006-09-27 00:51:17 +00:00
Ryan Boren ae2a89aa46 RTL support. Props mani_monaj. #3136
git-svn-id: https://develop.svn.wordpress.org/trunk@4201 602fd350-edb4-49c9-b593-d223f7449a82
2006-09-21 00:34:34 +00:00
Matt Mullenweg 06f0097a94 Options cleanup and some styling changes.
git-svn-id: https://develop.svn.wordpress.org/trunk@4196 602fd350-edb4-49c9-b593-d223f7449a82
2006-09-19 06:11:42 +00:00
Ryan Boren d88ed56d55 Fix logo link in wp_die(). Props Sewar. fixes #3138
git-svn-id: https://develop.svn.wordpress.org/trunk@4194 602fd350-edb4-49c9-b593-d223f7449a82
2006-09-18 23:40:19 +00:00
Ryan Boren 5ec32c8eee Add explain_nonce filter. Props mdawaffe. fixes #3121
git-svn-id: https://develop.svn.wordpress.org/trunk@4181 602fd350-edb4-49c9-b593-d223f7449a82
2006-09-10 17:49:24 +00:00
Ryan Boren a60573f168 We no longer need the outer array.
git-svn-id: https://develop.svn.wordpress.org/trunk@4178 602fd350-edb4-49c9-b593-d223f7449a82
2006-09-09 01:09:21 +00:00
Ryan Boren 58370c3575 timer_stop() wanted to be near timer_start().
git-svn-id: https://develop.svn.wordpress.org/trunk@4174 602fd350-edb4-49c9-b593-d223f7449a82
2006-09-07 23:26:52 +00:00
Ryan Boren a28be38534 i18n fixes from nbachiyski. fixes #3109
git-svn-id: https://develop.svn.wordpress.org/trunk@4165 602fd350-edb4-49c9-b593-d223f7449a82
2006-09-05 18:52:24 +00:00
Ryan Boren 7e82eef627 Use get_option instead of get_settings. Just 'cause.
git-svn-id: https://develop.svn.wordpress.org/trunk@4144 602fd350-edb4-49c9-b593-d223f7449a82
2006-08-30 21:46:31 +00:00
Ryan Boren 0f6f0b20ae Feeds for singular object queries should be comment feeds.
git-svn-id: https://develop.svn.wordpress.org/trunk@4127 602fd350-edb4-49c9-b593-d223f7449a82
2006-08-30 03:34:17 +00:00
Ryan Boren 4185956fab Keep the frag at the end. Props mdawaffe. fixes #3078
git-svn-id: https://develop.svn.wordpress.org/trunk@4123 602fd350-edb4-49c9-b593-d223f7449a82
2006-08-30 01:02:45 +00:00
Ryan Boren 04e6ae9d7b comments-rss2 fix from Mark J. fixes #3055
git-svn-id: https://develop.svn.wordpress.org/trunk@4114 602fd350-edb4-49c9-b593-d223f7449a82
2006-08-24 23:32:47 +00:00
Ryan Boren 4a9ad00205 Make those chars feel special.
git-svn-id: https://develop.svn.wordpress.org/trunk@4112 602fd350-edb4-49c9-b593-d223f7449a82
2006-08-24 22:33:16 +00:00
Ryan Boren 33e6c8fbde cache_javascript_headers() from masquerade. fixes #3059 #2799
git-svn-id: https://develop.svn.wordpress.org/trunk@4109 602fd350-edb4-49c9-b593-d223f7449a82
2006-08-22 17:31:53 +00:00
Ryan Boren b86470f23b Fix proxy check regex. Props westi. fixes #3028
git-svn-id: https://develop.svn.wordpress.org/trunk@4091 602fd350-edb4-49c9-b593-d223f7449a82
2006-08-11 22:19:28 +00:00
Ryan Boren fa6b9e781a Use wp_die() in wp_nonce_ays(). fixes #2929
git-svn-id: https://develop.svn.wordpress.org/trunk@4009 602fd350-edb4-49c9-b593-d223f7449a82
2006-07-10 16:34:43 +00:00
Ryan Boren 4591c517ce wp_die() improvements from Sewar. fixes #2902
git-svn-id: https://develop.svn.wordpress.org/trunk@4006 602fd350-edb4-49c9-b593-d223f7449a82
2006-07-10 05:29:10 +00:00
Matt Mullenweg d75bc044ef Clean up how we address IP addresses throughout the code
git-svn-id: https://develop.svn.wordpress.org/trunk@3990 602fd350-edb4-49c9-b593-d223f7449a82
2006-07-06 00:04:24 +00:00
Ryan Boren ae64303c2e Die with style. Props Sewar. fixes #2902
git-svn-id: https://develop.svn.wordpress.org/trunk@3979 602fd350-edb4-49c9-b593-d223f7449a82
2006-07-05 19:13:26 +00:00
Ryan Boren 6bfc22facd wp_specialchars() within wp_nonce_url(). Props Nazgul. fixes #2857
git-svn-id: https://develop.svn.wordpress.org/trunk@3974 602fd350-edb4-49c9-b593-d223f7449a82
2006-07-05 09:55:24 +00:00
Ryan Boren ccb85676c3 Update RBL site and turn open proxy check off by default. Props Nazgul. fixes #2821
git-svn-id: https://develop.svn.wordpress.org/trunk@3960 602fd350-edb4-49c9-b593-d223f7449a82
2006-07-04 21:41:00 +00:00
Ryan Boren 8cfe03b684 More nonce strings. #2734
git-svn-id: https://develop.svn.wordpress.org/trunk@3935 602fd350-edb4-49c9-b593-d223f7449a82
2006-06-27 09:32:42 +00:00
Ryan Boren dd6aa45584 wp_explain_nonce() and wp_nonce_ays(). Props mdawaffe. #2734
git-svn-id: https://develop.svn.wordpress.org/trunk@3934 602fd350-edb4-49c9-b593-d223f7449a82
2006-06-27 08:06:00 +00:00
Ryan Boren 98b02c5e7c Have wp_referer_field() set the referer to the current page. fixes #2800
git-svn-id: https://develop.svn.wordpress.org/trunk@3919 602fd350-edb4-49c9-b593-d223f7449a82
2006-06-24 18:17:10 +00:00
Ryan Boren dbbb1802b6 wp_get_referer() and friends from robmiller and markjaquith. fixes #2800
git-svn-id: https://develop.svn.wordpress.org/trunk@3908 602fd350-edb4-49c9-b593-d223f7449a82
2006-06-24 05:38:37 +00:00
Ryan Boren ce51707da2 Avoid recursive action. Props itdamager. fixes #2852
git-svn-id: https://develop.svn.wordpress.org/trunk@3904 602fd350-edb4-49c9-b593-d223f7449a82
2006-06-23 20:05:23 +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 5e32c14d39 Move ping and trackback functions to comment.php (maybe to ping.php later?) #2525
git-svn-id: https://develop.svn.wordpress.org/trunk@3900 602fd350-edb4-49c9-b593-d223f7449a82
2006-06-22 19:44:36 +00:00
Ryan Boren 909671e026 Fix bug in add_query_arg when url like http://example.com (no trailing slash). Props skel to the ac.
git-svn-id: https://develop.svn.wordpress.org/trunk@3897 602fd350-edb4-49c9-b593-d223f7449a82
2006-06-22 03:40:28 +00:00
Ryan Boren 7d49c0ec7b wp_check_filetype() from skeltoac.
git-svn-id: https://develop.svn.wordpress.org/trunk@3894 602fd350-edb4-49c9-b593-d223f7449a82
2006-06-21 23:17:19 +00:00
Ryan Boren 2c8931c55d Move plugin API to plugin.php. #2525
git-svn-id: https://develop.svn.wordpress.org/trunk@3893 602fd350-edb4-49c9-b593-d223f7449a82
2006-06-20 02:03:24 +00:00
Matt Mullenweg 9aeb21aab1 Don't hide blog when option is blank!
git-svn-id: https://develop.svn.wordpress.org/trunk@3885 602fd350-edb4-49c9-b593-d223f7449a82
2006-06-17 23:38:45 +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
Ryan Boren a4c408af37 User management improvements from Mark Jaquith and David House. #2793
git-svn-id: https://develop.svn.wordpress.org/trunk@3857 602fd350-edb4-49c9-b593-d223f7449a82
2006-06-08 18:36:05 +00:00
Ryan Boren eae22f445e Make replacement strings backref safe without using \${1} so as to preserve php <= 4.2 compatible. Props mdawaffe. fixes #2774
git-svn-id: https://develop.svn.wordpress.org/trunk@3855 602fd350-edb4-49c9-b593-d223f7449a82
2006-06-08 03:17:01 +00:00
Ryan Boren 1041498585 Move user functions to user.php. Relocate more post functions to post.php. #2525
git-svn-id: https://develop.svn.wordpress.org/trunk@3854 602fd350-edb4-49c9-b593-d223f7449a82
2006-06-08 02:22:16 +00:00
Ryan Boren d3f6c3ca0d Reworg post/page/attachment functions. #2525
git-svn-id: https://develop.svn.wordpress.org/trunk@3851 602fd350-edb4-49c9-b593-d223f7449a82
2006-06-07 23:17:59 +00:00
Ryan Boren 58ed7bdc3b Reorg category functions. #2525
git-svn-id: https://develop.svn.wordpress.org/trunk@3843 602fd350-edb4-49c9-b593-d223f7449a82
2006-06-04 21:36:52 +00:00
Ryan Boren 56a3ec113b Undef var fix from Denis-de-Bernardy. fixes #2780
git-svn-id: https://develop.svn.wordpress.org/trunk@3842 602fd350-edb4-49c9-b593-d223f7449a82
2006-06-04 21:07:41 +00:00
Ryan Boren add8a92036 Enclosure redirect fix from aegrumet. fixes #2551
git-svn-id: https://develop.svn.wordpress.org/trunk@3793 602fd350-edb4-49c9-b593-d223f7449a82
2006-05-26 17:25:48 +00:00
Ryan Boren a868cae733 Handle robots.txt requests and obey blog_plubic setting.
git-svn-id: https://develop.svn.wordpress.org/trunk@3791 602fd350-edb4-49c9-b593-d223f7449a82
2006-05-22 22:06:06 +00:00
Ryan Boren b96cd6f60c nonce functions. #2678
git-svn-id: https://develop.svn.wordpress.org/trunk@3758 602fd350-edb4-49c9-b593-d223f7449a82
2006-05-02 22:08:34 +00:00
Ryan Boren 0d4e7d2db3 Move htmlentities2 to functions-formatting.php. #2525
git-svn-id: https://develop.svn.wordpress.org/trunk@3717 602fd350-edb4-49c9-b593-d223f7449a82
2006-04-19 03:03:27 +00:00
Ryan Boren be2be64b99 Remove comment_count_cache. fixes #2670
git-svn-id: https://develop.svn.wordpress.org/trunk@3716 602fd350-edb4-49c9-b593-d223f7449a82
2006-04-19 02:53:02 +00:00
Ryan Boren 63c32823bd Reorg comment functions. #2525
git-svn-id: https://develop.svn.wordpress.org/trunk@3714 602fd350-edb4-49c9-b593-d223f7449a82
2006-04-19 02:32:12 +00:00
Ryan Boren 8928035208 Move url_to_postid() to rewrite.php. #2525
git-svn-id: https://develop.svn.wordpress.org/trunk@3712 602fd350-edb4-49c9-b593-d223f7449a82
2006-04-18 04:47:26 +00:00
Ryan Boren 85ed7859d1 Move theme functions to theme.php. #2525
git-svn-id: https://develop.svn.wordpress.org/trunk@3711 602fd350-edb4-49c9-b593-d223f7449a82
2006-04-18 04:44:33 +00:00
Ryan Boren 112af5d381 Move page walkers to classes. Props David House. fixes #2593
git-svn-id: https://develop.svn.wordpress.org/trunk@3704 602fd350-edb4-49c9-b593-d223f7449a82
2006-04-13 04:40:48 +00:00
Matt Mullenweg 7caac09279 walk_tree broken, fixes #2608
git-svn-id: https://develop.svn.wordpress.org/trunk@3701 602fd350-edb4-49c9-b593-d223f7449a82
2006-04-09 22:08:18 +00:00
Ryan Boren e622346b7d WP_Locale. Props Sewar. fixes #2568
git-svn-id: https://develop.svn.wordpress.org/trunk@3676 602fd350-edb4-49c9-b593-d223f7449a82
2006-04-02 00:20:11 +00:00
Ryan Boren fa8d1959e2 Pluggable install functions. fixes #2616
git-svn-id: https://develop.svn.wordpress.org/trunk@3670 602fd350-edb4-49c9-b593-d223f7449a82
2006-03-31 08:07:39 +00:00
Ryan Boren e706f8cf36 Return after delete so we don't re-add an empty field.
git-svn-id: https://develop.svn.wordpress.org/trunk@3666 602fd350-edb4-49c9-b593-d223f7449a82
2006-03-30 23:15:35 +00:00
Ryan Boren bd6323c272 Future post pinging and cron fixups from masquerade. fixes #2469
git-svn-id: https://develop.svn.wordpress.org/trunk@3663 602fd350-edb4-49c9-b593-d223f7449a82
2006-03-30 07:36:54 +00:00
Ryan Boren 6d474bde7a update_option() action fix. fixes #2553
git-svn-id: https://develop.svn.wordpress.org/trunk@3659 602fd350-edb4-49c9-b593-d223f7449a82
2006-03-25 21:46:53 +00:00
Ryan Boren ff7c3f55e4 Add meta_key and meta_value options to get_posts() and get_pages(). Props MichaelH. fixes #2563
git-svn-id: https://develop.svn.wordpress.org/trunk@3656 602fd350-edb4-49c9-b593-d223f7449a82
2006-03-21 22:46:38 +00:00
Ryan Boren 956f814c41 Add include param to get_posts(), get_categories(), get_pages(), and get_bookmarks(). Props MichaelH. fixes #2562
git-svn-id: https://develop.svn.wordpress.org/trunk@3655 602fd350-edb4-49c9-b593-d223f7449a82
2006-03-21 04:26:50 +00:00
Ryan Boren 26d26f8ce6 Fix backreferences in mysql2date(). Props tenpura. fixes #2564
git-svn-id: https://develop.svn.wordpress.org/trunk@3654 602fd350-edb4-49c9-b593-d223f7449a82
2006-03-21 04:19:52 +00:00
Ryan Boren eab1586158 Comment feed fixes from David House. fixes #2570
git-svn-id: https://develop.svn.wordpress.org/trunk@3644 602fd350-edb4-49c9-b593-d223f7449a82
2006-03-17 01:16:22 +00:00
Ryan Boren e2108969c4 Move WP_Query and its wrapper functions to query.php. #2525
git-svn-id: https://develop.svn.wordpress.org/trunk@3639 602fd350-edb4-49c9-b593-d223f7449a82
2006-03-13 01:44:32 +00:00
Ryan Boren b573abbd16 Rewrite API additions and improvements from David House. #2433
git-svn-id: https://develop.svn.wordpress.org/trunk@3638 602fd350-edb4-49c9-b593-d223f7449a82
2006-03-12 22:57:00 +00:00
Ryan Boren 457b4b5251 Cron improvements from masquerade. #2425
git-svn-id: https://develop.svn.wordpress.org/trunk@3634 602fd350-edb4-49c9-b593-d223f7449a82
2006-03-07 21:43:59 +00:00
Ryan Boren 20c6baad57 Don't add UTC offset again when formatting 'U' in mysql2date. Props masquerade. fixes #2537
git-svn-id: https://develop.svn.wordpress.org/trunk@3633 602fd350-edb4-49c9-b593-d223f7449a82
2006-03-07 21:24:49 +00:00
Ryan Boren 0a30296803 Isolate backref. fixes #2521
git-svn-id: https://develop.svn.wordpress.org/trunk@3610 602fd350-edb4-49c9-b593-d223f7449a82
2006-03-04 22:41:16 +00:00
Ryan Boren 64173c9918 Move deprecated functions to deprecated.php. #2520
git-svn-id: https://develop.svn.wordpress.org/trunk@3589 602fd350-edb4-49c9-b593-d223f7449a82
2006-03-02 03:27:48 +00:00
Ryan Boren 93ec2ffd02 wp_list_cats() rework. Add walk_tree() and walk_category_tree(). Use get_categories() for query.
git-svn-id: https://develop.svn.wordpress.org/trunk@3582 602fd350-edb4-49c9-b593-d223f7449a82
2006-03-01 13:30:19 +00:00
Ryan Boren 0b9513d43c walk_page_tree() fix from Mark J. fixes #2516
git-svn-id: https://develop.svn.wordpress.org/trunk@3579 602fd350-edb4-49c9-b593-d223f7449a82
2006-02-28 21:02:10 +00:00
Ryan Boren 9055457e82 Fix page walk bug. fixes #2516
git-svn-id: https://develop.svn.wordpress.org/trunk@3578 602fd350-edb4-49c9-b593-d223f7449a82
2006-02-28 11:19:04 +00:00
Ryan Boren a1d0a8e672 Add get_category_by_path(). Remove old fullpath stuff.
git-svn-id: https://develop.svn.wordpress.org/trunk@3576 602fd350-edb4-49c9-b593-d223f7449a82
2006-02-28 08:00:39 +00:00
Ryan Boren 68b90359ea wp_dropdown_pages() and walk_page_tree()
git-svn-id: https://develop.svn.wordpress.org/trunk@3573 602fd350-edb4-49c9-b593-d223f7449a82
2006-02-28 03:57:08 +00:00
Ryan Boren a2f5fa5254 Bookmark/link rework. #2499
git-svn-id: https://develop.svn.wordpress.org/trunk@3570 602fd350-edb4-49c9-b593-d223f7449a82
2006-02-27 04:57:30 +00:00
Ryan Boren cd4a8a24c5 current user cleanup
git-svn-id: https://develop.svn.wordpress.org/trunk@3566 602fd350-edb4-49c9-b593-d223f7449a82
2006-02-22 19:08:55 +00:00
Ryan Boren 24f330346d Use current_time() instead of time(). fixes #2489
git-svn-id: https://develop.svn.wordpress.org/trunk@3559 602fd350-edb4-49c9-b593-d223f7449a82
2006-02-20 17:15:13 +00:00
Ryan Boren 5177b31702 Fix post/page slug out. Props donncha. fixes #2472
git-svn-id: https://develop.svn.wordpress.org/trunk@3558 602fd350-edb4-49c9-b593-d223f7449a82
2006-02-20 17:13:06 +00:00
Ryan Boren 28961b459c Blog privacy. fixes #2480
git-svn-id: https://develop.svn.wordpress.org/trunk@3548 602fd350-edb4-49c9-b593-d223f7449a82
2006-02-18 07:40:43 +00:00
Ryan Boren 181d539681 Use post_type not post_status.
git-svn-id: https://develop.svn.wordpress.org/trunk@3535 602fd350-edb4-49c9-b593-d223f7449a82
2006-02-15 07:16:58 +00:00
Ryan Boren 03f0909476 get_page_by_path() tweak.
git-svn-id: https://develop.svn.wordpress.org/trunk@3523 602fd350-edb4-49c9-b593-d223f7449a82
2006-02-13 07:04:14 +00:00
Ryan Boren 953064226a wp_cron() array warning fix ups from Owen. fixes #2436
git-svn-id: https://develop.svn.wordpress.org/trunk@3522 602fd350-edb4-49c9-b593-d223f7449a82
2006-02-13 05:30:44 +00:00
Ryan Boren 6008a133c4 Death to trailing tabs. Props Mark J. fixes #2405
git-svn-id: https://develop.svn.wordpress.org/trunk@3517 602fd350-edb4-49c9-b593-d223f7449a82
2006-02-12 07:53:23 +00:00
Ryan Boren f156e83af5 Post status = future. #2426
git-svn-id: https://develop.svn.wordpress.org/trunk@3514 602fd350-edb4-49c9-b593-d223f7449a82
2006-02-12 07:41:56 +00:00
Ryan Boren cf622439d5 Pseudo-cron first cut. Props Owen. #2425
git-svn-id: https://develop.svn.wordpress.org/trunk@3512 602fd350-edb4-49c9-b593-d223f7449a82
2006-02-11 02:24:47 +00:00
Ryan Boren 91421a7124 get_page_by_path. Some page uri cleanups.
git-svn-id: https://develop.svn.wordpress.org/trunk@3511 602fd350-edb4-49c9-b593-d223f7449a82
2006-02-10 00:54:16 +00:00
Ryan Boren f961003343 Allow draft pages. Use post_type for object types. Reserve post_status strictly for status. fixes #1820
git-svn-id: https://develop.svn.wordpress.org/trunk@3510 602fd350-edb4-49c9-b593-d223f7449a82
2006-02-09 10:03:48 +00:00
Ryan Boren b0907797f3 Delete usermeta field if set to empty string. Props David House. fixes #2341
git-svn-id: https://develop.svn.wordpress.org/trunk@3495 602fd350-edb4-49c9-b593-d223f7449a82
2006-01-29 19:48:09 +00:00
Ryan Boren e729765dca Allow empty usermeta fields. Props David House. fixes #2341
git-svn-id: https://develop.svn.wordpress.org/trunk@3494 602fd350-edb4-49c9-b593-d223f7449a82
2006-01-29 00:21:48 +00:00
Ryan Boren 2307a29c94 CGI ping fixes. fixes #2197
git-svn-id: https://develop.svn.wordpress.org/trunk@3491 602fd350-edb4-49c9-b593-d223f7449a82
2006-01-28 18:41:19 +00:00
Matt Mullenweg 88aba4e4c2 Caching typo.
git-svn-id: https://develop.svn.wordpress.org/trunk@3490 602fd350-edb4-49c9-b593-d223f7449a82
2006-01-28 06:19:11 +00:00
Ryan Boren e3834a8f51 Make sure we have an array. Props David House. fixes #2344
git-svn-id: https://develop.svn.wordpress.org/trunk@3489 602fd350-edb4-49c9-b593-d223f7449a82
2006-01-27 19:22:55 +00:00
Ryan Boren 9bd8f4ee17 Use double quotes. fixes #2332
git-svn-id: https://develop.svn.wordpress.org/trunk@3487 602fd350-edb4-49c9-b593-d223f7449a82
2006-01-26 02:33:14 +00:00
Ryan Boren 97c6c5ee4f update_option_* actions. fixes #2332
git-svn-id: https://develop.svn.wordpress.org/trunk@3485 602fd350-edb4-49c9-b593-d223f7449a82
2006-01-25 06:46:21 +00:00
Ryan Boren 017660016b add_query_arg() fix from majelbstoat. fixes #2326
git-svn-id: https://develop.svn.wordpress.org/trunk@3474 602fd350-edb4-49c9-b593-d223f7449a82
2006-01-23 23:42:25 +00:00
Ryan Boren 373ecf32fb Don't use glob. Props David House. fixes #2312
git-svn-id: https://develop.svn.wordpress.org/trunk@3468 602fd350-edb4-49c9-b593-d223f7449a82
2006-01-20 21:09:19 +00:00
Ryan Boren 10bc034888 8 not 7. fixes #2283
git-svn-id: https://develop.svn.wordpress.org/trunk@3464 602fd350-edb4-49c9-b593-d223f7449a82
2006-01-19 00:21:42 +00:00
Ryan Boren 769f95e6e6 Fall back to default theme if current theme is deleted. Props David House. fixes #2305
git-svn-id: https://develop.svn.wordpress.org/trunk@3459 602fd350-edb4-49c9-b593-d223f7449a82
2006-01-18 19:38:29 +00:00
Matt Mullenweg 07463c0755 Better HTTPS support - fixes #2283
git-svn-id: https://develop.svn.wordpress.org/trunk@3445 602fd350-edb4-49c9-b593-d223f7449a82
2006-01-16 23:04:09 +00:00
Ryan Boren ad6ed9c744 Add upload folder options. Props David House. fixes #2206
git-svn-id: https://develop.svn.wordpress.org/trunk@3413 602fd350-edb4-49c9-b593-d223f7449a82
2006-01-09 22:24:57 +00:00
Ryan Boren c4ba2f4bfe Fix get_post_meta() array return. fixes #2183
git-svn-id: https://develop.svn.wordpress.org/trunk@3410 602fd350-edb4-49c9-b593-d223f7449a82
2006-01-06 01:30:13 +00:00
Ryan Boren 8845339de9 Don't cache posts when importing. fixes #2224
git-svn-id: https://develop.svn.wordpress.org/trunk@3404 602fd350-edb4-49c9-b593-d223f7449a82
2006-01-05 05:34:28 +00:00
Ryan Boren 76c78b624d Make sure we have a valid timestamp. fixes #2148
git-svn-id: https://develop.svn.wordpress.org/trunk@3359 602fd350-edb4-49c9-b593-d223f7449a82
2005-12-25 21:42:07 +00:00
Ryan Boren 96d9aa75ae Reduce consecutive backslashes to one backslash. Handy when escaped windows paths are passed in.
git-svn-id: https://develop.svn.wordpress.org/trunk@3340 602fd350-edb4-49c9-b593-d223f7449a82
2005-12-22 05:18:18 +00:00
Ryan Boren 4957068837 Cache user ids and user logins separately to avoid collision. Props donncha. fixes #2096
git-svn-id: https://develop.svn.wordpress.org/trunk@3330 602fd350-edb4-49c9-b593-d223f7449a82
2005-12-19 19:14:22 +00:00
Ryan Boren 494df9b02d get_children()
git-svn-id: https://develop.svn.wordpress.org/trunk@3321 602fd350-edb4-49c9-b593-d223f7449a82
2005-12-16 09:50:10 +00:00
Ryan Boren b7ef286e0b Compression tweaks.
git-svn-id: https://develop.svn.wordpress.org/trunk@3320 602fd350-edb4-49c9-b593-d223f7449a82
2005-12-16 08:04:55 +00:00
Ryan Boren b239244636 New asyncronous ping method. fixes #2048
git-svn-id: https://develop.svn.wordpress.org/trunk@3317 602fd350-edb4-49c9-b593-d223f7449a82
2005-12-16 03:04:33 +00:00
Ryan Boren f160329f66 Attachment enhancements from skeltoac. fixes #2074
git-svn-id: https://develop.svn.wordpress.org/trunk@3303 602fd350-edb4-49c9-b593-d223f7449a82
2005-12-13 19:19:56 +00:00
Ryan Boren b1b88e415f Add optional user_id arg.
git-svn-id: https://develop.svn.wordpress.org/trunk@3298 602fd350-edb4-49c9-b593-d223f7449a82
2005-12-13 03:46:08 +00:00
Ryan Boren bbf06ccf54 get_post(), get_page() fixes from skeltoac. fixes #2057
git-svn-id: https://develop.svn.wordpress.org/trunk@3289 602fd350-edb4-49c9-b593-d223f7449a82
2005-12-11 18:01:19 +00:00
Ryan Boren 2c6e4421b4 Fix is_admin() for situations where the query is not run. fixes #1741
git-svn-id: https://develop.svn.wordpress.org/trunk@3286 602fd350-edb4-49c9-b593-d223f7449a82
2005-12-10 23:29:39 +00:00
Ryan Boren b6a751dc30 Make sure user_login keyed caches are cleared upon change.
git-svn-id: https://develop.svn.wordpress.org/trunk@3254 602fd350-edb4-49c9-b593-d223f7449a82
2005-12-01 17:38:37 +00:00
Ryan Boren aa6a393a50 Add delete_usermeta(). fixes #1992
git-svn-id: https://develop.svn.wordpress.org/trunk@3247 602fd350-edb4-49c9-b593-d223f7449a82
2005-11-30 19:19:47 +00:00
Ryan Boren 2520664ada Unserialize fix. fixes #1988
git-svn-id: https://develop.svn.wordpress.org/trunk@3239 602fd350-edb4-49c9-b593-d223f7449a82
2005-11-30 00:25:05 +00:00
Matt Mullenweg 92729e5fba Part of a healthy balanced breakfast - fixes #1980
git-svn-id: https://develop.svn.wordpress.org/trunk@3234 602fd350-edb4-49c9-b593-d223f7449a82
2005-11-29 07:58:50 +00:00
Ryan Boren 5e34745dc9 Use the full page hierarchy when matching page URIs. Props David House. fixes #1964
git-svn-id: https://develop.svn.wordpress.org/trunk@3229 602fd350-edb4-49c9-b593-d223f7449a82
2005-11-29 01:43:32 +00:00
Matt Mullenweg 83bca28d72 No need to do those big fancy joins.
git-svn-id: https://develop.svn.wordpress.org/trunk@3220 602fd350-edb4-49c9-b593-d223f7449a82
2005-11-28 09:44:56 +00:00
Matt Mullenweg 0d88ea9ef8 Another query bites the dust!
git-svn-id: https://develop.svn.wordpress.org/trunk@3219 602fd350-edb4-49c9-b593-d223f7449a82
2005-11-28 09:37:17 +00:00
Matt Mullenweg 062836b194 Don't create empty umeta values.
git-svn-id: https://develop.svn.wordpress.org/trunk@3218 602fd350-edb4-49c9-b593-d223f7449a82
2005-11-28 08:48:18 +00:00
Ryan Boren 43002e6cc1 Update meta before updating the post so that page_template is not stomped. fixes #1933
git-svn-id: https://develop.svn.wordpress.org/trunk@3190 602fd350-edb4-49c9-b593-d223f7449a82
2005-11-22 00:36:36 +00:00
Ryan Boren 5db06a0f98 Don't return undefined variable.
git-svn-id: https://develop.svn.wordpress.org/trunk@3142 602fd350-edb4-49c9-b593-d223f7449a82
2005-11-18 02:15:08 +00:00
Ryan Boren d13f35cdec Don't stripslashes() in plugin_basename() since this breaks established expectation of being able to pass a non-escaped FILE. Instead, stripslashes further up the stack. fixes #1866
git-svn-id: https://develop.svn.wordpress.org/trunk@3139 602fd350-edb4-49c9-b593-d223f7449a82
2005-11-17 23:01:28 +00:00
Ryan Boren da61a9f508 Add some comment API and update comment popup templates to use them. Props David Hose. fixes #1892
git-svn-id: https://develop.svn.wordpress.org/trunk@3115 602fd350-edb4-49c9-b593-d223f7449a82
2005-11-16 23:48:12 +00:00
Ryan Boren 376a04e7de Add comment_count to the posts table. Props donncha. fixes #1860
git-svn-id: https://develop.svn.wordpress.org/trunk@3104 602fd350-edb4-49c9-b593-d223f7449a82
2005-11-16 06:29:36 +00:00
Ryan Boren cae1b67170 Make sure plugins and themes are readable. Props Mike Little. fixes #1502
git-svn-id: https://develop.svn.wordpress.org/trunk@3103 602fd350-edb4-49c9-b593-d223f7449a82
2005-11-16 03:27:22 +00:00
Ryan Boren 62f1fd972b Pull the values in WP_User::data directly into WP_User so that we don't have to do ->data->blah.
git-svn-id: https://develop.svn.wordpress.org/trunk@3102 602fd350-edb4-49c9-b593-d223f7449a82
2005-11-16 02:54:23 +00:00
Ryan Boren 1a012b8b49 Renaming. object and subpost are now attachment. post_type is post_mime_type.
git-svn-id: https://develop.svn.wordpress.org/trunk@3092 602fd350-edb4-49c9-b593-d223f7449a82
2005-11-15 22:55:24 +00:00
Matt Mullenweg 5962ca9e11 Reverse that cleanup, there is reason in the madness ;)
git-svn-id: https://develop.svn.wordpress.org/trunk@3071 602fd350-edb4-49c9-b593-d223f7449a82
2005-11-14 09:08:27 +00:00
Matt Mullenweg e1b81babff Small cleanup
git-svn-id: https://develop.svn.wordpress.org/trunk@3068 602fd350-edb4-49c9-b593-d223f7449a82
2005-11-14 08:51:04 +00:00
Ryan Boren 3098fe172e Don't return false from get_settings() when installing. Use update_option() when setting the blog title and admin email so that the cache is kept in sync. fixes #1869
git-svn-id: https://develop.svn.wordpress.org/trunk@3067 602fd350-edb4-49c9-b593-d223f7449a82
2005-11-14 06:51:09 +00:00
Ryan Boren f10f98f0a7 Cleanup options save.
git-svn-id: https://develop.svn.wordpress.org/trunk@3054 602fd350-edb4-49c9-b593-d223f7449a82
2005-11-12 09:36:20 +00:00
Ryan Boren 66643f61c7 Don't use hard query. Remove unneeded line. fixes #1858
git-svn-id: https://develop.svn.wordpress.org/trunk@3052 602fd350-edb4-49c9-b593-d223f7449a82
2005-11-11 02:24:09 +00:00
Matt Mullenweg 4b6a074982 Add HTTPS support, fixes #1372
git-svn-id: https://develop.svn.wordpress.org/trunk@3041 602fd350-edb4-49c9-b593-d223f7449a82
2005-11-11 01:21:28 +00:00
Ryan Boren ad772b5e63 Return false if we don't find the option.
git-svn-id: https://develop.svn.wordpress.org/trunk@3028 602fd350-edb4-49c9-b593-d223f7449a82
2005-11-10 20:59:20 +00:00
Ryan Boren 49fa56367b Fix commit gone wild.
git-svn-id: https://develop.svn.wordpress.org/trunk@3026 602fd350-edb4-49c9-b593-d223f7449a82
2005-11-09 21:30:40 +00:00
Matt Mullenweg 222e32086e Missing semi, also fixes #1599
git-svn-id: https://develop.svn.wordpress.org/trunk@3025 602fd350-edb4-49c9-b593-d223f7449a82
2005-11-09 21:01:24 +00:00
Matt Mullenweg 8480fdda0a Should fix #1599 for IIS blogs.
git-svn-id: https://develop.svn.wordpress.org/trunk@3024 602fd350-edb4-49c9-b593-d223f7449a82
2005-11-09 20:58:58 +00:00
Ryan Boren 2077dcaf16 Options fixes from donncha. fixes #1859
git-svn-id: https://develop.svn.wordpress.org/trunk@3023 602fd350-edb4-49c9-b593-d223f7449a82
2005-11-09 18:15:55 +00:00
Ryan Boren 0069470818 Add LIMIT 1 to some of our gets.
git-svn-id: https://develop.svn.wordpress.org/trunk@3012 602fd350-edb4-49c9-b593-d223f7449a82
2005-11-07 23:09:09 +00:00
Ryan Boren c72a1f461e Object caching, round one.
git-svn-id: https://develop.svn.wordpress.org/trunk@3011 602fd350-edb4-49c9-b593-d223f7449a82
2005-11-07 21:56:03 +00:00
Matt Mullenweg df22877fdb Simplify status_header
git-svn-id: https://develop.svn.wordpress.org/trunk@3005 602fd350-edb4-49c9-b593-d223f7449a82
2005-11-07 09:05:47 +00:00
Ryan Boren a1fdbc44d0 Preview future dated posts. Props davidhouse. fixes #1795
git-svn-id: https://develop.svn.wordpress.org/trunk@3001 602fd350-edb4-49c9-b593-d223f7449a82
2005-11-06 07:04:46 +00:00
Matt Mullenweg cdb58724d2 Even better, array functions are fun.
git-svn-id: https://develop.svn.wordpress.org/trunk@2977 602fd350-edb4-49c9-b593-d223f7449a82
2005-10-29 23:28:05 +00:00
Matt Mullenweg 2b2c2e6c03 Some optimizations in queries and code.
git-svn-id: https://develop.svn.wordpress.org/trunk@2976 602fd350-edb4-49c9-b593-d223f7449a82
2005-10-29 23:23:17 +00:00
Ryan Boren b127cd82af Use full hierarchy when resolving category URIs. fixes #1787 Props: ringmaster Owen
git-svn-id: https://develop.svn.wordpress.org/trunk@2968 602fd350-edb4-49c9-b593-d223f7449a82
2005-10-28 01:14:57 +00:00
Ryan Boren 1da25e1927 Image fu from Andy. fixes #1776
git-svn-id: https://develop.svn.wordpress.org/trunk@2958 602fd350-edb4-49c9-b593-d223f7449a82
2005-10-20 20:48:32 +00:00
Matt Mullenweg d7605dd6ad Fix for header redirects - Hat tip: http://www.davidmeade.com/post/post.php?topicID=579
git-svn-id: https://develop.svn.wordpress.org/trunk@2956 602fd350-edb4-49c9-b593-d223f7449a82
2005-10-19 06:09:23 +00:00
Matt Mullenweg 4c18e778d0 Awesome fix from Dougal about ping timeout problems.
git-svn-id: https://develop.svn.wordpress.org/trunk@2942 602fd350-edb4-49c9-b593-d223f7449a82
2005-10-10 16:36:54 +00:00
Ryan Boren 9b7f201b11 Code cleanups from markjaquith. fixes #1743
git-svn-id: https://develop.svn.wordpress.org/trunk@2941 602fd350-edb4-49c9-b593-d223f7449a82
2005-10-10 09:25:38 +00:00
Ryan Boren 14abc74d54 Send User-Agent when confirming pingbacks. Props error. fixes #1713
git-svn-id: https://develop.svn.wordpress.org/trunk@2933 602fd350-edb4-49c9-b593-d223f7449a82
2005-10-05 23:29:56 +00:00
Matt Mullenweg 21cafc609c For apos in links.
git-svn-id: https://develop.svn.wordpress.org/trunk@2922 602fd350-edb4-49c9-b593-d223f7449a82
2005-09-27 03:34:37 +00:00
Ryan Boren 3fae411f9e Array and object support for post meta from skeltoac. fixes #1699
git-svn-id: https://develop.svn.wordpress.org/trunk@2907 602fd350-edb4-49c9-b593-d223f7449a82
2005-09-23 23:22:51 +00:00
Matt Mullenweg 6d4f063c69 Fixes #1681 and the annoying empty meta problem.
git-svn-id: https://develop.svn.wordpress.org/trunk@2887 602fd350-edb4-49c9-b593-d223f7449a82
2005-09-16 17:27:09 +00:00
Ryan Boren 3c12867919 Add clean_post_cache() and clean_page_cache(). Reset GUID when transitioning from draft to publish. fixes #1257
git-svn-id: https://develop.svn.wordpress.org/trunk@2873 602fd350-edb4-49c9-b593-d223f7449a82
2005-09-14 00:34:04 +00:00
Ryan Boren 8baae0c89e User create/update rework. Introduce wp_insert_user(), wp_create_user(), wp_update_user(), add_user(), update_user(), wp_new_user_notification().
git-svn-id: https://develop.svn.wordpress.org/trunk@2872 602fd350-edb4-49c9-b593-d223f7449a82
2005-09-14 00:03:02 +00:00
Ryan Boren d225c820cf Check the option cache before querying. Props westi. fixes #1499
git-svn-id: https://develop.svn.wordpress.org/trunk@2856 602fd350-edb4-49c9-b593-d223f7449a82
2005-09-08 21:08:48 +00:00
Ryan Boren 5932ee4425 Move pings out-of-band to speed up posting. Props to Owen. fixes #1644
git-svn-id: https://develop.svn.wordpress.org/trunk@2833 602fd350-edb4-49c9-b593-d223f7449a82
2005-09-02 16:56:28 +00:00
Ryan Boren 61409382ad url_to_postid() typo fix. Props markjaquith. fixes #1612
git-svn-id: https://develop.svn.wordpress.org/trunk@2822 602fd350-edb4-49c9-b593-d223f7449a82
2005-08-30 04:07:12 +00:00
Matt Mullenweg dde5ccd8ef Don't hardcode file type, fixes #1553
git-svn-id: https://develop.svn.wordpress.org/trunk@2805 602fd350-edb4-49c9-b593-d223f7449a82
2005-08-23 07:48:23 +00:00
Matt Mullenweg 355b4acec9 Disabled in safe mode.
git-svn-id: https://develop.svn.wordpress.org/trunk@2790 602fd350-edb4-49c9-b593-d223f7449a82
2005-08-18 21:21:24 +00:00
Matt Mullenweg fe3daa060e Adding personal options
git-svn-id: https://develop.svn.wordpress.org/trunk@2760 602fd350-edb4-49c9-b593-d223f7449a82
2005-08-07 19:23:41 +00:00
Matt Mullenweg 2165c50e82 Making the presentation page a little more intuitive
git-svn-id: https://develop.svn.wordpress.org/trunk@2757 602fd350-edb4-49c9-b593-d223f7449a82
2005-08-07 10:11:30 +00:00
Matt Mullenweg 42b54bdd1c Fixes #1370
git-svn-id: https://develop.svn.wordpress.org/trunk@2740 602fd350-edb4-49c9-b593-d223f7449a82
2005-08-03 00:24:13 +00:00
Matt Mullenweg b8f6638196 Negate that. Fixes #1490. Hat tip: mdawaffe
git-svn-id: https://develop.svn.wordpress.org/trunk@2731 602fd350-edb4-49c9-b593-d223f7449a82
2005-07-23 06:29:46 +00:00
Ryan Boren 1785b5aae3 Refactor level to cap upgrade code.
git-svn-id: https://develop.svn.wordpress.org/trunk@2727 602fd350-edb4-49c9-b593-d223f7449a82
2005-07-19 14:24:06 +00:00
Matt Mullenweg 3bb5555bb2 More cookie catchups
git-svn-id: https://develop.svn.wordpress.org/trunk@2726 602fd350-edb4-49c9-b593-d223f7449a82
2005-07-18 20:12:48 +00:00
Ryan Boren d44131b1b7 get_usermeta() fixes.
git-svn-id: https://develop.svn.wordpress.org/trunk@2721 602fd350-edb4-49c9-b593-d223f7449a82
2005-07-17 19:55:19 +00:00
Ryan Boren 1fdc779439 Trim option value only if it is a string. Don't trim objects and arrays. Props: Jason Bainbridge
git-svn-id: https://develop.svn.wordpress.org/trunk@2717 602fd350-edb4-49c9-b593-d223f7449a82
2005-07-17 18:41:11 +00:00
Ryan Boren 7623634aaf in_the_loop() Props: Mark Jaquith fixes #1518
git-svn-id: https://develop.svn.wordpress.org/trunk@2716 602fd350-edb4-49c9-b593-d223f7449a82
2005-07-17 16:58:13 +00:00
Matt Mullenweg 4d6ecc4943 Check it if matches before serializing, because get_option de-serializes. Hat tip: Donncha.
git-svn-id: https://develop.svn.wordpress.org/trunk@2715 602fd350-edb4-49c9-b593-d223f7449a82
2005-07-16 21:13:14 +00:00
Ryan Boren d77f5373ec Roles update + UI from Owen.
git-svn-id: https://develop.svn.wordpress.org/trunk@2704 602fd350-edb4-49c9-b593-d223f7449a82
2005-07-12 15:53:13 +00:00
Ryan Boren 19ab84315c Role/capability system. Round one. Props: Owen Winkler
git-svn-id: https://develop.svn.wordpress.org/trunk@2703 602fd350-edb4-49c9-b593-d223f7449a82
2005-07-11 22:39:50 +00:00
Matt Mullenweg 810e0018f4 Massive user_level fix. We were still using the user_level field in wp_users in some places, where we should just use the table prefixed usermeta value.
git-svn-id: https://develop.svn.wordpress.org/trunk@2702 602fd350-edb4-49c9-b593-d223f7449a82
2005-07-09 01:27:46 +00:00
Ryan Boren b3f7bd726c Use wpdb->escape instead of addslashes to prepare DB bound data.
git-svn-id: https://develop.svn.wordpress.org/trunk@2699 602fd350-edb4-49c9-b593-d223f7449a82
2005-07-05 20:47:22 +00:00
Ryan Boren 37f40b7935 register_activation_hook() and register_deactivation_hook(). Let's try these on.
git-svn-id: https://develop.svn.wordpress.org/trunk@2697 602fd350-edb4-49c9-b593-d223f7449a82
2005-07-04 21:53:26 +00:00
Matt Mullenweg 90afdb5e98 We don't think these are needed...
git-svn-id: https://develop.svn.wordpress.org/trunk@2671 602fd350-edb4-49c9-b593-d223f7449a82
2005-06-29 00:44:02 +00:00
Ryan Boren 03997fb239 url_to_postid() fixes from Mark Jaquith.
git-svn-id: https://develop.svn.wordpress.org/trunk@2665 602fd350-edb4-49c9-b593-d223f7449a82
2005-06-27 22:02:57 +00:00
Ryan Boren dfe87eb5f7 Quote IDs in get queries.
git-svn-id: https://develop.svn.wordpress.org/trunk@2663 602fd350-edb4-49c9-b593-d223f7449a82
2005-06-26 20:44:58 +00:00
Ryan Boren 706c897f32 Comment updating cleanup. Add get_comment(), edit_comment(), get_comment_to_edit(), and wp_update_comment().
git-svn-id: https://develop.svn.wordpress.org/trunk@2662 602fd350-edb4-49c9-b593-d223f7449a82
2005-06-26 19:55:12 +00:00
Ryan Boren 62366e5403 Return the modified query from remove_query_arg(). Props MC_incubus fixes #1362
git-svn-id: https://develop.svn.wordpress.org/trunk@2657 602fd350-edb4-49c9-b593-d223f7449a82
2005-06-20 02:03:35 +00:00
Matt Mullenweg cd7cb0c110 Encode stylesheet reference. Hit tip: Scott Yang
git-svn-id: https://develop.svn.wordpress.org/trunk@2642 602fd350-edb4-49c9-b593-d223f7449a82
2005-06-15 18:49:47 +00:00
Ryan Boren 1b4bc53f13 Wrap metavalue loop in is_array to check to avoid invalid argument warning.
git-svn-id: https://develop.svn.wordpress.org/trunk@2640 602fd350-edb4-49c9-b593-d223f7449a82
2005-06-14 22:54:58 +00:00
Matt Mullenweg f6ef88773f User data migration should be complete
git-svn-id: https://develop.svn.wordpress.org/trunk@2636 602fd350-edb4-49c9-b593-d223f7449a82
2005-06-13 08:32:44 +00:00
Matt Mullenweg 1165caab60 Beginning of user system overhaul, TODO: update all code that deals with user data
git-svn-id: https://develop.svn.wordpress.org/trunk@2631 602fd350-edb4-49c9-b593-d223f7449a82
2005-06-12 20:49:13 +00:00
Ryan Boren 7d6fc8af08 Break blog header up into functional chunks. Stick it all in a WP class for now. Make wp() the front door. Move template/theme loader code into template-loader.php. Clean up feed file loadup. Modularize.
git-svn-id: https://develop.svn.wordpress.org/trunk@2627 602fd350-edb4-49c9-b593-d223f7449a82
2005-06-10 23:15:13 +00:00
Matt Mullenweg a2fa5d6a70 Better headers for CGI enviroments
git-svn-id: https://develop.svn.wordpress.org/trunk@2623 602fd350-edb4-49c9-b593-d223f7449a82
2005-06-09 00:17:43 +00:00
Matt Mullenweg 64e674dad8 Bad cat ID cleanup
git-svn-id: https://develop.svn.wordpress.org/trunk@2616 602fd350-edb4-49c9-b593-d223f7449a82
2005-05-27 06:10:41 +00:00
Ryan Boren 0edec9ae9e Don't attempt to trackback an empty string. Fix file path in wp_get_http_headers(). This avoids 'File does not exist' server messages when processing enclosures.
git-svn-id: https://develop.svn.wordpress.org/trunk@2612 602fd350-edb4-49c9-b593-d223f7449a82
2005-05-18 03:17:55 +00:00
Ryan Boren 239462c326 More url_to_postid() fixes.
git-svn-id: https://develop.svn.wordpress.org/trunk@2611 602fd350-edb4-49c9-b593-d223f7449a82
2005-05-18 02:27:43 +00:00
Ryan Boren ec2938185d More url_to_postid() fixes. http://mosquito.wordpress.org/view.php?id=1324
git-svn-id: https://develop.svn.wordpress.org/trunk@2610 602fd350-edb4-49c9-b593-d223f7449a82
2005-05-18 00:04:30 +00:00
Ryan Boren c7783bbda4 Rework url_to_postid() to handle all supported permalink structs. Helps resolve pingback URIs to posts. http://mosquito.wordpress.org/view.php?id=1324
git-svn-id: https://develop.svn.wordpress.org/trunk@2609 602fd350-edb4-49c9-b593-d223f7449a82
2005-05-14 02:59:42 +00:00
Matt Mullenweg 7d07dc1201 fclose removed, only use curl if we have to - http://mosquito.wordpress.org/view.php?id=1324 - hat tip: rboren
git-svn-id: https://develop.svn.wordpress.org/trunk@2606 602fd350-edb4-49c9-b593-d223f7449a82
2005-05-13 21:53:18 +00:00
Matt Mullenweg 9648173c70 Use CURL if available, possible fix for http://mosquito.wordpress.org/view.php?id=1166
git-svn-id: https://develop.svn.wordpress.org/trunk@2581 602fd350-edb4-49c9-b593-d223f7449a82
2005-05-03 07:52:11 +00:00
Matt Mullenweg 9843451d11 Extended ping support
git-svn-id: https://develop.svn.wordpress.org/trunk@2572 602fd350-edb4-49c9-b593-d223f7449a82
2005-04-22 21:17:10 +00:00
Ryan Boren 685705d9f4 Handle theme name collisions more elegantly.
git-svn-id: https://develop.svn.wordpress.org/trunk@2568 602fd350-edb4-49c9-b593-d223f7449a82
2005-04-21 01:35:52 +00:00
Matt Mullenweg 1589419508 Don't enclose different things multiple times - http://mosquito.wordpress.org/view.php?id=1197
git-svn-id: https://develop.svn.wordpress.org/trunk@2560 602fd350-edb4-49c9-b593-d223f7449a82
2005-04-20 21:07:19 +00:00
Matt Mullenweg d0af63764e More consistent use of cat_ID vs category_id
git-svn-id: https://develop.svn.wordpress.org/trunk@2551 602fd350-edb4-49c9-b593-d223f7449a82
2005-04-19 17:17:36 +00:00
Matt Mullenweg d7c18937a1 Optimiation from Denis
git-svn-id: https://develop.svn.wordpress.org/trunk@2550 602fd350-edb4-49c9-b593-d223f7449a82
2005-04-19 05:27:24 +00:00
Ryan Boren 5cf9bdb5ae Fix post paging regex to avoid regex collision between posts with slugs that differ only by a trailing number. http://mosquito.wordpress.org/view.php?id=1235
git-svn-id: https://develop.svn.wordpress.org/trunk@2535 602fd350-edb4-49c9-b593-d223f7449a82
2005-04-14 04:24:22 +00:00
Ryan Boren 4d31612412 Better page and subpage support for url_to_postid(). http://mosquito.wordpress.org/view.php?id=1214 Props: MC_incubus
git-svn-id: https://develop.svn.wordpress.org/trunk@2527 602fd350-edb4-49c9-b593-d223f7449a82
2005-04-12 21:12:28 +00:00
Ryan Boren 1c623ee737 Weekly archives fixes. http://mosquito.wordpress.org/view.php?id=1217
git-svn-id: https://develop.svn.wordpress.org/trunk@2526 602fd350-edb4-49c9-b593-d223f7449a82
2005-04-10 20:07:46 +00:00
Ryan Boren 8324f6962a Implement order and orderby for get_posts(). http://mosquito.wordpress.org/view.php?id=1161 Props: RummandDan
git-svn-id: https://develop.svn.wordpress.org/trunk@2525 602fd350-edb4-49c9-b593-d223f7449a82
2005-04-09 17:30:57 +00:00
Ryan Boren 2e7c387207 Make get_postdata() use get_post(). Label get_postdata() as deprecated. Remove the one remaining call to get_postdata().
git-svn-id: https://develop.svn.wordpress.org/trunk@2524 602fd350-edb4-49c9-b593-d223f7449a82
2005-04-09 17:25:47 +00:00
Ryan Boren a0d5ea6ba2 Remove old preview stuff. Allow draft posts to be displayed if the logged in user has edit permissions on the draft. Don't use cruft-free links for drafts since they might not have a slug. http://mosquito.wordpress.org/view.php?id=1220
git-svn-id: https://develop.svn.wordpress.org/trunk@2523 602fd350-edb4-49c9-b593-d223f7449a82
2005-04-09 17:12:36 +00:00
Ryan Boren 0dd2abae98 Move plugin replacebale functions to pluggable-functions.php. http://mosquito.wordpress.org/view.php?id=1211
git-svn-id: https://develop.svn.wordpress.org/trunk@2516 602fd350-edb4-49c9-b593-d223f7449a82
2005-04-04 23:25:51 +00:00
Ryan Boren eca5d88e60 Make wp_mail() replaceable. http://mosquito.wordpress.org/view.php?id=1210
git-svn-id: https://develop.svn.wordpress.org/trunk@2515 602fd350-edb4-49c9-b593-d223f7449a82
2005-04-04 22:36:09 +00:00
Ryan Boren b6b4c04371 In get_category(), check for empty category id so that we do not create a malformed SQL query.
git-svn-id: https://develop.svn.wordpress.org/trunk@2509 602fd350-edb4-49c9-b593-d223f7449a82
2005-04-03 05:09:31 +00:00
Ryan Boren 185dbb4e7a Don't use i18n unfriendly substr operations in date_i18n. http://mosquito.wordpress.org/view.php?id=1200 Props: nbachiyski
git-svn-id: https://develop.svn.wordpress.org/trunk@2508 602fd350-edb4-49c9-b593-d223f7449a82
2005-04-02 19:51:12 +00:00
Ryan Boren db62c48897 add_query_arg() dropped the passed in query string if the string did not contain any path elements.
git-svn-id: https://develop.svn.wordpress.org/trunk@2506 602fd350-edb4-49c9-b593-d223f7449a82
2005-04-01 05:42:46 +00:00
Ryan Boren e2826065e4 More category cache cleanups.
git-svn-id: https://develop.svn.wordpress.org/trunk@2504 602fd350-edb4-49c9-b593-d223f7449a82
2005-03-31 05:25:54 +00:00
Ryan Boren 78d13aebb6 You can't index an array with an object ref. Silly Ryan.
git-svn-id: https://develop.svn.wordpress.org/trunk@2503 602fd350-edb4-49c9-b593-d223f7449a82
2005-03-31 05:00:39 +00:00
Ryan Boren 3122bbc8d2 Add support for new Status: theme header field. http://mosquito.wordpress.org/view.php?id=1192
git-svn-id: https://develop.svn.wordpress.org/trunk@2502 602fd350-edb4-49c9-b593-d223f7449a82
2005-03-31 04:44:50 +00:00
Ryan Boren 7d59187e7a Add some more cache handling to get_category().
git-svn-id: https://develop.svn.wordpress.org/trunk@2500 602fd350-edb4-49c9-b593-d223f7449a82
2005-03-30 23:33:37 +00:00
Ryan Boren 3ddc18abb9 Add wp_footer() to maintain fearful symmetry with our head. http://mosquito.wordpress.org/view.php?id=1147 Props: ringmaster
git-svn-id: https://develop.svn.wordpress.org/trunk@2492 602fd350-edb4-49c9-b593-d223f7449a82
2005-03-29 15:11:36 +00:00
Ryan Boren 198665bef2 get_post(): Don't use for cache lookup when a post id is passed.
git-svn-id: https://develop.svn.wordpress.org/trunk@2485 602fd350-edb4-49c9-b593-d223f7449a82
2005-03-29 03:33:56 +00:00
Ryan Boren 82d89d8d7c Add paging to Manage->Posts. http://mosquito.wordpress.org/view.php?id=1177
git-svn-id: https://develop.svn.wordpress.org/trunk@2481 602fd350-edb4-49c9-b593-d223f7449a82
2005-03-28 02:34:16 +00:00
Ryan Boren 9536835eb4 Split post and page caches.
git-svn-id: https://develop.svn.wordpress.org/trunk@2479 602fd350-edb4-49c9-b593-d223f7449a82
2005-03-27 21:56:10 +00:00
Ryan Boren 8dec99fddb Cacheing cleanup. Introduce get_post() and get_category(). http://mosquito.wordpress.org/view.php?id=1157
git-svn-id: https://develop.svn.wordpress.org/trunk@2478 602fd350-edb4-49c9-b593-d223f7449a82
2005-03-27 20:45:01 +00:00
Ryan Boren 8480784cda Localize email messages. http://mosquito.wordpress.org/view.php?id=1168 Props: slebog
git-svn-id: https://develop.svn.wordpress.org/trunk@2477 602fd350-edb4-49c9-b593-d223f7449a82
2005-03-25 21:41:45 +00:00
Matt Mullenweg 91bae528d5 Missing UA - http://mosquito.wordpress.org/view.php?id=1086
git-svn-id: https://develop.svn.wordpress.org/trunk@2457 602fd350-edb4-49c9-b593-d223f7449a82
2005-03-18 15:48:30 +00:00
Matt Mullenweg 408ca99efe Fix from Kimmo/Craig
git-svn-id: https://develop.svn.wordpress.org/trunk@2456 602fd350-edb4-49c9-b593-d223f7449a82
2005-03-18 06:07:36 +00:00
Matt Mullenweg 5b52ad1017 Use installing variable (from Donncha)
git-svn-id: https://develop.svn.wordpress.org/trunk@2455 602fd350-edb4-49c9-b593-d223f7449a82
2005-03-17 23:34:06 +00:00
Ryan Boren af3b90cc1e Change login noun to Username. http://mosquito.wordpress.org/view.php?id=1088 Props: Albert
git-svn-id: https://develop.svn.wordpress.org/trunk@2437 602fd350-edb4-49c9-b593-d223f7449a82
2005-03-13 17:06:18 +00:00
Ryan Boren df3fb34a70 Introducing wp_redirect(), first cut. http://mosquito.wordpress.org/view.php?id=592 Props: Toby Simmons
git-svn-id: https://develop.svn.wordpress.org/trunk@2436 602fd350-edb4-49c9-b593-d223f7449a82
2005-03-13 16:36:09 +00:00
Ryan Boren 57f958a020 Mark strings for translation. http://mosquito.wordpress.org/view.php?id=1033 Hat tip: slebog
git-svn-id: https://develop.svn.wordpress.org/trunk@2432 602fd350-edb4-49c9-b593-d223f7449a82
2005-03-11 03:41:04 +00:00
Ryan Boren 96c87298e8 Fix do_action arg handling. http://mosquito.wordpress.org/view.php?id=901
git-svn-id: https://develop.svn.wordpress.org/trunk@2430 602fd350-edb4-49c9-b593-d223f7449a82
2005-03-11 00:57:34 +00:00
Ryan Boren 3bacf431ae Page caching fixes. Mosquito bugs 920, 927, and 934.
git-svn-id: https://develop.svn.wordpress.org/trunk@2421 602fd350-edb4-49c9-b593-d223f7449a82
2005-03-09 03:16:30 +00:00
Matt Mullenweg d22dd5f1bd http://mosquito.wordpress.org/view.php?id=1049
git-svn-id: https://develop.svn.wordpress.org/trunk@2418 602fd350-edb4-49c9-b593-d223f7449a82
2005-03-07 15:20:56 +00:00
Matt Mullenweg 6470c3f14f Cleaned up enclosures, factored out header code, fixed validation -
http://mosquito.wordpress.org/view.php?id=963


git-svn-id: https://develop.svn.wordpress.org/trunk@2416 602fd350-edb4-49c9-b593-d223f7449a82
2005-03-07 08:56:47 +00:00
Matt Mullenweg 794f7cf7fe Fix for http://mosquito.wordpress.org/view.php?id=980
git-svn-id: https://develop.svn.wordpress.org/trunk@2415 602fd350-edb4-49c9-b593-d223f7449a82
2005-03-07 06:48:57 +00:00
Matt Mullenweg 2bacf5606e Don't count drafts/etc against post count - http://mosquito.wordpress.org/view.php?id=1010
git-svn-id: https://develop.svn.wordpress.org/trunk@2403 602fd350-edb4-49c9-b593-d223f7449a82
2005-03-02 17:59:19 +00:00
Ryan Boren 7f5937bc6b apply_filter fixes from michel. http://mosquito.wordpress.org/view.php?id=901
git-svn-id: https://develop.svn.wordpress.org/trunk@2398 602fd350-edb4-49c9-b593-d223f7449a82
2005-03-02 15:28:32 +00:00
Matt Mullenweg a0eba624c5 Category query speedup and indentation fixes. Hat tip: Scott. http://mosquito.wordpress.org/view.php?id=1005
git-svn-id: https://develop.svn.wordpress.org/trunk@2396 602fd350-edb4-49c9-b593-d223f7449a82
2005-03-01 09:10:12 +00:00
Ryan Boren f22a3f3283 Do not translate dates in feeds. http://mosquito.wordpress.org/view.php?id=924. Reviewed by morganiq.
git-svn-id: https://develop.svn.wordpress.org/trunk@2366 602fd350-edb4-49c9-b593-d223f7449a82
2005-02-21 04:19:43 +00:00
Ryan Boren 7ba461a96c Remove option from wp_mail(). The additional parameters argument to mail() is non-portable and not useful to us. Props: dalziel. http://mosquito.wordpress.org/view.php?id=855
git-svn-id: https://develop.svn.wordpress.org/trunk@2365 602fd350-edb4-49c9-b593-d223f7449a82
2005-02-19 04:17:34 +00:00
Matt Mullenweg 0f15eb8785 Trackback ending http://mosquito.wordpress.org/view.php?id=884
git-svn-id: https://develop.svn.wordpress.org/trunk@2361 602fd350-edb4-49c9-b593-d223f7449a82
2005-02-17 09:03:23 +00:00
michelvaldrighi efc4b4e54d added cache_pages to avoid making 1+X queries everytime wp_list_pages is called, where X is the number of pages
git-svn-id: https://develop.svn.wordpress.org/trunk@2354 602fd350-edb4-49c9-b593-d223f7449a82
2005-02-16 15:12:04 +00:00
michelvaldrighi 68d7c93974 unified cache_userdata indexes by referencing user_login to ID, got rid of the useless, and broken, get_userid (get_userdatabylogin provides the same functionnality anyway)
git-svn-id: https://develop.svn.wordpress.org/trunk@2353 602fd350-edb4-49c9-b593-d223f7449a82
2005-02-16 14:29:55 +00:00
Dougal Campbell 83a9308954 I'm pretty sure that this should be get_theme_root(), not get_theme_base()
git-svn-id: https://develop.svn.wordpress.org/trunk@2350 602fd350-edb4-49c9-b593-d223f7449a82
2005-02-15 19:55:12 +00:00
Ryan Boren fe2c881868 Make wp_setcookie() and wp_clearcookie() replaceable.
git-svn-id: https://develop.svn.wordpress.org/trunk@2340 602fd350-edb4-49c9-b593-d223f7449a82
2005-02-15 00:17:21 +00:00
Matt Mullenweg bb46173adf User agent in trackbacks, good idea - http://mosquito.wordpress.org/view.php?id=873
git-svn-id: https://develop.svn.wordpress.org/trunk@2334 602fd350-edb4-49c9-b593-d223f7449a82
2005-02-14 09:48:48 +00:00
Ryan Boren 35b685cb65 Load comments-popup template through the index.
git-svn-id: https://develop.svn.wordpress.org/trunk@2332 602fd350-edb4-49c9-b593-d223f7449a82
2005-02-14 09:17:23 +00:00
Matt Mullenweg 1fb676a13d Better pinging
git-svn-id: https://develop.svn.wordpress.org/trunk@2312 602fd350-edb4-49c9-b593-d223f7449a82
2005-02-14 01:57:48 +00:00
Matt Mullenweg 3b25d5706b Support for categories - http://mosquito.wordpress.org/view.php?id=52
git-svn-id: https://develop.svn.wordpress.org/trunk@2311 602fd350-edb4-49c9-b593-d223f7449a82
2005-02-14 00:58:51 +00:00
Ryan Boren e5ba4f2302 Add theme directory location hooks.
git-svn-id: https://develop.svn.wordpress.org/trunk@2292 602fd350-edb4-49c9-b593-d223f7449a82
2005-02-12 19:06:06 +00:00
Matt Mullenweg fd66fc02c6 Enclosure cleanups
git-svn-id: https://develop.svn.wordpress.org/trunk@2288 602fd350-edb4-49c9-b593-d223f7449a82
2005-02-12 08:58:10 +00:00
Matt Mullenweg dd7a83f22c We send the charset so we shouldn't need to do character conversion
git-svn-id: https://develop.svn.wordpress.org/trunk@2277 602fd350-edb4-49c9-b593-d223f7449a82
2005-02-12 01:22:36 +00:00
Matt Mullenweg 9b55bd6c62 Don't show email errors for people who don't have it.
git-svn-id: https://develop.svn.wordpress.org/trunk@2256 602fd350-edb4-49c9-b593-d223f7449a82
2005-02-11 01:31:23 +00:00
Matt Mullenweg e9915276e7 Some filter action and cleanup
git-svn-id: https://develop.svn.wordpress.org/trunk@2240 602fd350-edb4-49c9-b593-d223f7449a82
2005-02-07 07:46:41 +00:00
Matt Mullenweg cb39e25512 Mail and reset fixes
git-svn-id: https://develop.svn.wordpress.org/trunk@2236 602fd350-edb4-49c9-b593-d223f7449a82
2005-02-07 06:43:23 +00:00
Ryan Boren 21c3726951 Do some caching in get_postdata().
git-svn-id: https://develop.svn.wordpress.org/trunk@2230 602fd350-edb4-49c9-b593-d223f7449a82
2005-02-06 18:21:20 +00:00
Ryan Boren 042acc0a4a Don't array_slice in loop. Move it up.
git-svn-id: https://develop.svn.wordpress.org/trunk@2229 602fd350-edb4-49c9-b593-d223f7449a82
2005-02-06 06:13:26 +00:00
Ryan Boren f79c6cdf7a Oops. Inverted logic and typo.
git-svn-id: https://develop.svn.wordpress.org/trunk@2228 602fd350-edb4-49c9-b593-d223f7449a82
2005-02-06 03:42:53 +00:00
Ryan Boren e90040e79b Correctly add args to strings that contain only a query string and not a full URI.
git-svn-id: https://develop.svn.wordpress.org/trunk@2227 602fd350-edb4-49c9-b593-d223f7449a82
2005-02-06 03:40:08 +00:00
Ryan Boren 7831c4c3b4 Add home.php template.
git-svn-id: https://develop.svn.wordpress.org/trunk@2223 602fd350-edb4-49c9-b593-d223f7449a82
2005-02-05 18:10:05 +00:00
Matt Mullenweg d6b5164e88 Make more login stuff pluggable.
git-svn-id: https://develop.svn.wordpress.org/trunk@2204 602fd350-edb4-49c9-b593-d223f7449a82
2005-02-02 10:48:54 +00:00
Ryan Boren 6872bdba06 Fix apply_filters. Bug 777.
git-svn-id: https://develop.svn.wordpress.org/trunk@2198 602fd350-edb4-49c9-b593-d223f7449a82
2005-02-02 06:07:11 +00:00