Commit Graph

781 Commits

Author SHA1 Message Date
Ryan Boren af2d2e6bfa Eliminate unecessary preg_replace. Props bernzilla, Denis-de-Bernardy. fixes #5624
git-svn-id: https://develop.svn.wordpress.org/trunk@11024 602fd350-edb4-49c9-b593-d223f7449a82
2009-04-20 22:15:14 +00:00
Ryan Boren 021a12edf6 Fix warning in wp_ob_end_flush_all(). Props richcon. fixes #5109
git-svn-id: https://develop.svn.wordpress.org/trunk@11020 602fd350-edb4-49c9-b593-d223f7449a82
2009-04-20 20:35:31 +00:00
Ryan Boren 12c7093645 Trailing whitespace cleanup
git-svn-id: https://develop.svn.wordpress.org/trunk@11013 602fd350-edb4-49c9-b593-d223f7449a82
2009-04-20 18:18:39 +00:00
Mark Jaquith c4dc6ef860 Clean up is_blog_installed(), remove redundant or unnecessary code. see #8947
git-svn-id: https://develop.svn.wordpress.org/trunk@10974 602fd350-edb4-49c9-b593-d223f7449a82
2009-04-17 01:43:53 +00:00
Andrew Ozz 0fa639d585 Don't use get_catname() (deprecated), props filosofo, see #9550
git-svn-id: https://develop.svn.wordpress.org/trunk@10972 602fd350-edb4-49c9-b593-d223f7449a82
2009-04-17 01:11:31 +00:00
Ryan Boren fdc0e0b555 Optimize install check by checking alloptions cache before doing a separate query. Props joostdevalk. fixes #8947
git-svn-id: https://develop.svn.wordpress.org/trunk@10958 602fd350-edb4-49c9-b593-d223f7449a82
2009-04-16 22:00:39 +00:00
Mark Jaquith 84b875a903 Return false for corrupted serialized strings. props Denis-de-Bernardy. fixes #9549
git-svn-id: https://develop.svn.wordpress.org/trunk@10955 602fd350-edb4-49c9-b593-d223f7449a82
2009-04-16 21:03:18 +00:00
Ryan Boren 7c02549e4c Allow m4v. Props hailin. fixes #9541
git-svn-id: https://develop.svn.wordpress.org/trunk@10938 602fd350-edb4-49c9-b593-d223f7449a82
2009-04-15 19:36:09 +00:00
Ryan Boren 1528af55df Define wp_clone() before loading the cache.
git-svn-id: https://develop.svn.wordpress.org/trunk@10937 602fd350-edb4-49c9-b593-d223f7449a82
2009-04-15 19:14:43 +00:00
Ryan Boren 2eae08c088 Updates to wp_login_url() and wp_logout_url(). Use them in more places. Props wnorris. fixes #9536
git-svn-id: https://develop.svn.wordpress.org/trunk@10931 602fd350-edb4-49c9-b593-d223f7449a82
2009-04-14 18:31:49 +00:00
Ryan Boren ce72db431f Add date_i18n filter. Props Denis-de-Bernardy. fixes #9396
git-svn-id: https://develop.svn.wordpress.org/trunk@10897 602fd350-edb4-49c9-b593-d223f7449a82
2009-04-08 19:56:58 +00:00
Ryan Boren 9a238639a4 Add pre_transient filter
git-svn-id: https://develop.svn.wordpress.org/trunk@10862 602fd350-edb4-49c9-b593-d223f7449a82
2009-04-03 16:19:25 +00:00
Mark Jaquith a55e87736b PHP Notice fix for non-normative nonce action strings. props Viper007Bond. see #9393
git-svn-id: https://develop.svn.wordpress.org/trunk@10857 602fd350-edb4-49c9-b593-d223f7449a82
2009-04-01 05:52:05 +00:00
Peter Westwood 9fdd1163b5 Set a short timeout for the SSL discovery support so that we don't block requests until the attempt timesout. Fixes #9380 for trunk
git-svn-id: https://develop.svn.wordpress.org/trunk@10830 602fd350-edb4-49c9-b593-d223f7449a82
2009-03-23 22:05:04 +00:00
Ryan Boren 8d00b5d37d Trim trailing whitespace
git-svn-id: https://develop.svn.wordpress.org/trunk@10810 602fd350-edb4-49c9-b593-d223f7449a82
2009-03-18 02:43:45 +00:00
Ryan Boren 90931b60f0 Separate default widgets from widgets API. Always load API. fixes #9349
git-svn-id: https://develop.svn.wordpress.org/trunk@10795 602fd350-edb4-49c9-b593-d223f7449a82
2009-03-16 22:02:40 +00:00
Ryan Boren b3564121ba Show DST info. Map old offest to Etc zones. Props Otto42. see #3962
git-svn-id: https://develop.svn.wordpress.org/trunk@10757 602fd350-edb4-49c9-b593-d223f7449a82
2009-03-10 16:14:50 +00:00
Ryan Boren 47ddb47954 Filter continents in the first loop. see #3962
git-svn-id: https://develop.svn.wordpress.org/trunk@10756 602fd350-edb4-49c9-b593-d223f7449a82
2009-03-10 15:26:52 +00:00
Ryan Boren e370b4740f Exclude deprecated timezones. see #3962
git-svn-id: https://develop.svn.wordpress.org/trunk@10755 602fd350-edb4-49c9-b593-d223f7449a82
2009-03-10 15:24:12 +00:00
Ryan Boren 2e9a9d1426 Timezone support. Props Otto42. see #3962
git-svn-id: https://develop.svn.wordpress.org/trunk@10753 602fd350-edb4-49c9-b593-d223f7449a82
2009-03-10 00:50:00 +00:00
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