Commit Graph

761 Commits

Author SHA1 Message Date
Andrew Ozz 5c0e3673e8 Updated List of HTTP status codes, props Askapache, fixes #9297
git-svn-id: https://develop.svn.wordpress.org/trunk@10740 602fd350-edb4-49c9-b593-d223f7449a82
2009-03-07 21:05:54 +00:00
Ryan Boren 1fb1534e8f Use wpdb::insert() and update(). Props DD32. see #6836
git-svn-id: https://develop.svn.wordpress.org/trunk@10730 602fd350-edb4-49c9-b593-d223f7449a82
2009-03-06 04:27:51 +00:00
Ryan Boren 8bab50a649 Fix inverted login in get_transient().
git-svn-id: https://develop.svn.wordpress.org/trunk@10665 602fd350-edb4-49c9-b593-d223f7449a82
2009-02-27 19:21:41 +00:00
Peter Westwood 8500070897 Wrap the apply_filters call in a function_exists check as this can be called before it is defined. See #9205.
git-svn-id: https://develop.svn.wordpress.org/trunk@10626 602fd350-edb4-49c9-b593-d223f7449a82
2009-02-22 10:09:30 +00:00
Peter Westwood 271e0f7742 Allow for the HTTP headers returned by WordPress to be filtered by a plugin. Fixes #9205 props filosofo.
git-svn-id: https://develop.svn.wordpress.org/trunk@10619 602fd350-edb4-49c9-b593-d223f7449a82
2009-02-21 21:39:06 +00:00
Peter Westwood cc6baace8f Remove version check against PHP 4.3.0 as this is the minimum version for WordPress. Fixes #9204 for trunk prop filosofo
git-svn-id: https://develop.svn.wordpress.org/trunk@10617 602fd350-edb4-49c9-b593-d223f7449a82
2009-02-21 17:22:18 +00:00
Ryan Boren 999851f2cb Add expiration for transients
git-svn-id: https://develop.svn.wordpress.org/trunk@10603 602fd350-edb4-49c9-b593-d223f7449a82
2009-02-20 02:23:11 +00:00
Ryan Boren bc444b8594 Make can_compress_scripts a site option. Add site option wrappers for WP.
git-svn-id: https://develop.svn.wordpress.org/trunk@10593 602fd350-edb4-49c9-b593-d223f7449a82
2009-02-18 23:38:11 +00:00
Andrew Ozz b3baf2224a Documentation correction: absint(), props mdawaffe, fixes #9079
git-svn-id: https://develop.svn.wordpress.org/trunk@10540 602fd350-edb4-49c9-b593-d223f7449a82
2009-02-10 21:17:44 +00:00
Ryan Boren 49a72a40f6 Add transient_* filter. see #9048
git-svn-id: https://develop.svn.wordpress.org/trunk@10533 602fd350-edb4-49c9-b593-d223f7449a82
2009-02-10 06:26:46 +00:00
Andrew Ozz ac427bbdcc Require smilies to be surrounded by spaces or be at the beginning or end of the line, see #6464
git-svn-id: https://develop.svn.wordpress.org/trunk@10514 602fd350-edb4-49c9-b593-d223f7449a82
2009-02-06 03:42:48 +00:00
Ryan Boren cb96fac899 Cookie support for HTTP API. Props beaulebens. fixes #9049 #9037 #8727
git-svn-id: https://develop.svn.wordpress.org/trunk@10512 602fd350-edb4-49c9-b593-d223f7449a82
2009-02-05 21:59:37 +00:00
Ryan Boren c34a272b1e Revert 10507. Had extra bits in. see #8702
git-svn-id: https://develop.svn.wordpress.org/trunk@10508 602fd350-edb4-49c9-b593-d223f7449a82
2009-02-05 20:47:30 +00:00
Ryan Boren c0ece11af5 HTTP API updates and fixes. Props sivel. see #8702
git-svn-id: https://develop.svn.wordpress.org/trunk@10507 602fd350-edb4-49c9-b593-d223f7449a82
2009-02-05 20:46:39 +00:00
Peter Westwood 0f8e0c3b74 Respect the translation argument of mysql2date again. Fixes #9035 and #8989.
git-svn-id: https://develop.svn.wordpress.org/trunk@10504 602fd350-edb4-49c9-b593-d223f7449a82
2009-02-04 21:45:55 +00:00
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