Commit Graph

771 Commits

Author SHA1 Message Date
ryan 1b975b73c7 Add date_i18n filter. Props Denis-de-Bernardy. fixes #9396
git-svn-id: http://svn.automattic.com/wordpress/trunk@10897 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-04-08 19:56:58 +00:00
ryan ef9237e7b0 Add pre_transient filter
git-svn-id: http://svn.automattic.com/wordpress/trunk@10862 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-04-03 16:19:25 +00:00
markjaquith e1feb9dc86 PHP Notice fix for non-normative nonce action strings. props Viper007Bond. see #9393
git-svn-id: http://svn.automattic.com/wordpress/trunk@10857 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-04-01 05:52:05 +00:00
westi ada56c9310 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: http://svn.automattic.com/wordpress/trunk@10830 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-03-23 22:05:04 +00:00
ryan e8b6fe7347 Trim trailing whitespace
git-svn-id: http://svn.automattic.com/wordpress/trunk@10810 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-03-18 02:43:45 +00:00
ryan 48000c9225 Separate default widgets from widgets API. Always load API. fixes #9349
git-svn-id: http://svn.automattic.com/wordpress/trunk@10795 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-03-16 22:02:40 +00:00
ryan a4963d5ff4 Show DST info. Map old offest to Etc zones. Props Otto42. see #3962
git-svn-id: http://svn.automattic.com/wordpress/trunk@10757 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-03-10 16:14:50 +00:00
ryan 4510a068d4 Filter continents in the first loop. see #3962
git-svn-id: http://svn.automattic.com/wordpress/trunk@10756 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-03-10 15:26:52 +00:00
ryan 61b14efeba Exclude deprecated timezones. see #3962
git-svn-id: http://svn.automattic.com/wordpress/trunk@10755 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-03-10 15:24:12 +00:00
ryan d8c9781995 Timezone support. Props Otto42. see #3962
git-svn-id: http://svn.automattic.com/wordpress/trunk@10753 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-03-10 00:50:00 +00:00
azaozz 957fa2e686 Updated List of HTTP status codes, props Askapache, fixes #9297
git-svn-id: http://svn.automattic.com/wordpress/trunk@10740 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-03-07 21:05:54 +00:00
ryan d43bd8177c Use wpdb::insert() and update(). Props DD32. see #6836
git-svn-id: http://svn.automattic.com/wordpress/trunk@10730 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-03-06 04:27:51 +00:00
ryan b8d8a346d5 Fix inverted login in get_transient().
git-svn-id: http://svn.automattic.com/wordpress/trunk@10665 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-02-27 19:21:41 +00:00
westi e82379cee2 Wrap the apply_filters call in a function_exists check as this can be called before it is defined. See #9205.
git-svn-id: http://svn.automattic.com/wordpress/trunk@10626 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-02-22 10:09:30 +00:00
westi 5930ffdfc4 Allow for the HTTP headers returned by WordPress to be filtered by a plugin. Fixes #9205 props filosofo.
git-svn-id: http://svn.automattic.com/wordpress/trunk@10619 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-02-21 21:39:06 +00:00
westi 5c4f21c4fe 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: http://svn.automattic.com/wordpress/trunk@10617 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-02-21 17:22:18 +00:00
ryan 0a6a9d0024 Add expiration for transients
git-svn-id: http://svn.automattic.com/wordpress/trunk@10603 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-02-20 02:23:11 +00:00
ryan 4290916159 Make can_compress_scripts a site option. Add site option wrappers for WP.
git-svn-id: http://svn.automattic.com/wordpress/trunk@10593 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-02-18 23:38:11 +00:00
azaozz 48d47bee32 Documentation correction: absint(), props mdawaffe, fixes #9079
git-svn-id: http://svn.automattic.com/wordpress/trunk@10540 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-02-10 21:17:44 +00:00
ryan af8ed79529 Add transient_* filter. see #9048
git-svn-id: http://svn.automattic.com/wordpress/trunk@10533 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-02-10 06:26:46 +00:00
azaozz 0d258926e7 Require smilies to be surrounded by spaces or be at the beginning or end of the line, see #6464
git-svn-id: http://svn.automattic.com/wordpress/trunk@10514 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-02-06 03:42:48 +00:00
ryan e8dc44ad07 Cookie support for HTTP API. Props beaulebens. fixes #9049 #9037 #8727
git-svn-id: http://svn.automattic.com/wordpress/trunk@10512 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-02-05 21:59:37 +00:00
ryan 091b7a876b Revert 10507. Had extra bits in. see #8702
git-svn-id: http://svn.automattic.com/wordpress/trunk@10508 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-02-05 20:47:30 +00:00
ryan 80a6b13f81 HTTP API updates and fixes. Props sivel. see #8702
git-svn-id: http://svn.automattic.com/wordpress/trunk@10507 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-02-05 20:46:39 +00:00
westi 09f0789e08 Respect the translation argument of mysql2date again. Fixes #9035 and #8989.
git-svn-id: http://svn.automattic.com/wordpress/trunk@10504 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-02-04 21:45:55 +00:00
ryan 691eaf1f13 Respect time zone when displaying autosave and revision time. Props janbrasna, designsimply. fixes #8750 #6489 for trunk
git-svn-id: http://svn.automattic.com/wordpress/trunk@10490 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-02-03 23:04:31 +00:00
westi f03329322c Reduce code in mysql2date. Fixes #8166 props jacobsantos
git-svn-id: http://svn.automattic.com/wordpress/trunk@10408 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-01-22 21:05:55 +00:00
azaozz b619cefe1d Faster wp_clone function fix, props sambauers, fixes #8844 for trunk
git-svn-id: http://svn.automattic.com/wordpress/trunk@10353 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-01-13 14:45:50 +00:00
ryan 4ebcf9c358 Run version_compare only once for wp_clone(). Props sambauers. fixes #8844 for trunk
git-svn-id: http://svn.automattic.com/wordpress/trunk@10350 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-01-13 06:31:58 +00:00
ryan 69914b0ae2 Faster smilies. Props johanee. fixes #6464
git-svn-id: http://svn.automattic.com/wordpress/trunk@10322 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-01-06 18:20:47 +00:00
ryan 0e8d3701eb Remove debug. see #8757
git-svn-id: http://svn.automattic.com/wordpress/trunk@10287 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-12-31 22:10:41 +00:00
ryan 8b349590bb Turn off magic_quotes_sybase. It prevents addslashes from escaping backslashes. fixes #8757 for trunk
git-svn-id: http://svn.automattic.com/wordpress/trunk@10286 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-12-31 22:09:57 +00:00
ryan dc24f08567 Revert accidentally committed bits
git-svn-id: http://svn.automattic.com/wordpress/trunk@10220 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-12-18 03:34:29 +00:00
ryan bdb67d76ee is_ssl() improvements. Props johnbillion. fixes #8641 for trunk
git-svn-id: http://svn.automattic.com/wordpress/trunk@10217 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-12-17 17:58:07 +00:00
ryan e89192b1a8 Strip trailing whitespace
git-svn-id: http://svn.automattic.com/wordpress/trunk@10150 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-12-09 18:03:31 +00:00
markjaquith b11357a497 Pad wp_die() error messages to be over 512 chars, so IE always displays our text. props DD32. fixes #7890
git-svn-id: http://svn.automattic.com/wordpress/trunk@10105 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-12-07 08:51:38 +00:00
ryan 48c618bc32 Make user-settings per blog
git-svn-id: http://svn.automattic.com/wordpress/trunk@10098 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-12-07 04:51:22 +00:00
ryan 3897eef6c9 Make wp_user_settings() options global again. Clarify flag on get_user_option().
git-svn-id: http://svn.automattic.com/wordpress/trunk@10095 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-12-07 03:53:28 +00:00
matt 65029aef6b </anal>
git-svn-id: http://svn.automattic.com/wordpress/trunk@10084 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-12-06 07:18:04 +00:00
matt a04000fdcc Continuation to [10060] to have both get_ and update_ use same $check_global setting. Coding style updates.
git-svn-id: http://svn.automattic.com/wordpress/trunk@10083 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-12-06 07:14:22 +00:00
westi 3533c19fa2 Fix documentation for get_alloptions. Fixes #8491 props jeremyclarke.
git-svn-id: http://svn.automattic.com/wordpress/trunk@10077 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-12-05 22:39:59 +00:00
ryan 420eef18f2 Don't check blog options for user-settings
git-svn-id: http://svn.automattic.com/wordpress/trunk@10060 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-12-05 06:08:46 +00:00
ryan 9629712581 Don't check user settings if doing ajax.
git-svn-id: http://svn.automattic.com/wordpress/trunk@10056 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-12-05 05:10:05 +00:00
westi f0c3ee66da Break out if we ever make it too far from home. Fixes #8428 props st_falcon.
git-svn-id: http://svn.automattic.com/wordpress/trunk@9970 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-11-29 23:24:20 +00:00
azaozz 4b253013e2 Add DivX MIME type, props wfrantz, fixes #8289
git-svn-id: http://svn.automattic.com/wordpress/trunk@9802 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-11-20 01:11:45 +00:00
ryan e1fea167e6 PHPDoc for wp_clone. Props filosofo. fixes #8263
git-svn-id: http://svn.automattic.com/wordpress/trunk@9744 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-11-17 22:02:32 +00:00
ryan 222159d16c date_i18n() fixes. Props nbachiyski. fixes #8153
git-svn-id: http://svn.automattic.com/wordpress/trunk@9742 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-11-17 21:31:46 +00:00
ryan f6c2de0141 Use clone to break object refs when setting and getting cache. see #8146 #8191
git-svn-id: http://svn.automattic.com/wordpress/trunk@9740 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-11-17 21:01:12 +00:00
azaozz 706f9a2c9c Add file upload support for MS Office 2007+ filetypes (docx pptx xlsx), props misterbisson, fixes #8194
git-svn-id: http://svn.automattic.com/wordpress/trunk@9662 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-11-13 15:17:26 +00:00
ryan 633c920a9e Fix warnings. Props nbachiyski. fixes #8153
git-svn-id: http://svn.automattic.com/wordpress/trunk@9618 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-11-11 20:40:36 +00:00