Commit Graph

917 Commits

Author SHA1 Message Date
azaozz
39e4f05a15 Trash status updates for posts, pages, comments and attachments, props caesarsgrunt, see #4529
git-svn-id: http://svn.automattic.com/wordpress/trunk@11749 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-07-30 13:39:34 +00:00
azaozz
2040971211 "Trash" status for comments updates, props caesarsgrunt, see #4529
git-svn-id: http://svn.automattic.com/wordpress/trunk@11741 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-07-24 07:23:11 +00:00
ryan
14047212f2 Revert tango smilies back to old school WP smilies due to public hue and cry. see #10145
git-svn-id: http://svn.automattic.com/wordpress/trunk@11736 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-07-22 00:18:09 +00:00
ryan
8c62b0e1d6 Tango/GNOME smilies. Props jdub. fixes #10145
git-svn-id: http://svn.automattic.com/wordpress/trunk@11685 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-07-03 18:50:28 +00:00
ryan
7e5166665c Output final optgroup. Props hakre. fixes #10292 for trunk
git-svn-id: http://svn.automattic.com/wordpress/trunk@11677 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-07-01 17:59:19 +00:00
azaozz
ec0eadf2c4 Use CSS instead of nbsp, props demetris, fixes #10206 for trunk
git-svn-id: http://svn.automattic.com/wordpress/trunk@11649 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-06-26 12:56:24 +00:00
ryan
c6838b1761 Pass delimiter to preg_quote(). Props Denis-de-Bernardy. see #9955
git-svn-id: http://svn.automattic.com/wordpress/trunk@11634 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-06-23 22:10:46 +00:00
ryan
b37b56a339 Optimize timezone dropdown creation. Props sambauers. fixes #10125 for trunk
git-svn-id: http://svn.automattic.com/wordpress/trunk@11597 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-06-18 17:40:40 +00:00
westi
0c2e8444c4 Replace the _ before sorting the timezones. Fixes #10066 props nbachiyski.
git-svn-id: http://svn.automattic.com/wordpress/trunk@11544 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-06-10 16:23:20 +00:00
azaozz
71b4ed94f2 Add translation domain to the timezone picker, props nbachiyski, fixes #10066
git-svn-id: http://svn.automattic.com/wordpress/trunk@11533 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-06-08 21:02:19 +00:00
azaozz
a71b8736cd Add "Accessibility Mode" for widgets screen (can be turned on from Screen Options). Add set_user_setting() to the UI state saving functions.
git-svn-id: http://svn.automattic.com/wordpress/trunk@11503 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-06-01 23:31:34 +00:00
westi
f04763c7f1 Move the upload_dir filter before the directory is created so that plugins can have a better effect. Fixes #9973 props dd32.
git-svn-id: http://svn.automattic.com/wordpress/trunk@11493 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-05-30 10:02:01 +00:00
ryan
2df887bd07 Trim tailing whitespace
git-svn-id: http://svn.automattic.com/wordpress/trunk@11450 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-05-24 23:47:49 +00:00
ryan
acfc3cdf1a Standardize on UTC. Props Denis-de-Bernardy. fixes #9793
git-svn-id: http://svn.automattic.com/wordpress/trunk@11434 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-05-22 18:16:40 +00:00
ryan
4e1feb62af Pass text direction to wp_die(). Allow locales to set text direction in local packages. Props nbachiyski. fixes #6132
git-svn-id: http://svn.automattic.com/wordpress/trunk@11408 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-05-20 16:32:22 +00:00
ryan
681f0ba58c Add number_format_i18n filter. Props kambiz.k. fixes #7753
git-svn-id: http://svn.automattic.com/wordpress/trunk@11407 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-05-20 16:08:35 +00:00
markjaquith
3ebf837ced Deprecate sanitize_url() and clean_url() in favor of esc_url_raw() and esc_url()
git-svn-id: http://svn.automattic.com/wordpress/trunk@11383 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-05-18 16:00:33 +00:00
markjaquith
119b39cec2 deprecate wp_specialchars() in favor of esc_html(). Encode quotes for esc_html() as in esc_attr(), to improve plugin security.
git-svn-id: http://svn.automattic.com/wordpress/trunk@11380 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-05-18 15:11:07 +00:00
westi
f4331cacbd Migrate final get_author_name() calls to use get_the_author_meta() instead. See #9393 props sivel.
git-svn-id: http://svn.automattic.com/wordpress/trunk@11370 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-05-16 22:32:48 +00:00
ryan
a99a8b886f Add option to wp_die to display a go back link. Props nbachiyski. fixes #5167
git-svn-id: http://svn.automattic.com/wordpress/trunk@11342 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-05-15 17:49:35 +00:00
azaozz
886c680a5d Fix IE 512-byte minimum page length bug, props hakre, fixes #8942
git-svn-id: http://svn.automattic.com/wordpress/trunk@11340 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-05-15 09:38:43 +00:00
ryan
e1fac77dca Give continents-cities their own textdomain. Props nbachiyski, Denis-de-Bernardy . fixes #9794
git-svn-id: http://svn.automattic.com/wordpress/trunk@11333 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-05-14 20:05:25 +00:00
ryan
4cda93b364 Sort tz continents and cities by translated names. Load translations from separate mo to avoid cluttering default pot. Props Denis-de-Bernardy. see #9794
git-svn-id: http://svn.automattic.com/wordpress/trunk@11332 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-05-14 18:58:37 +00:00
ryan
1f1a333449 Allow plugins to override tz support enable/disable. Props Otto42. fixes #3962
git-svn-id: http://svn.automattic.com/wordpress/trunk@11329 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-05-14 16:23:20 +00:00
ryan
1354d0660a Don't localize dates where not appropriate. Props Denis-de-Bernardy, hakre. fixes #9730
git-svn-id: http://svn.automattic.com/wordpress/trunk@11323 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-05-14 02:00:32 +00:00
ryan
646f11e78e Remove stale enclosures. Props mystyman. fixes #6840
git-svn-id: http://svn.automattic.com/wordpress/trunk@11315 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-05-13 05:15:27 +00:00
ryan
91411dde28 Translate continent and city names for timezone picker. see #9794
git-svn-id: http://svn.automattic.com/wordpress/trunk@11290 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-05-12 01:04:16 +00:00
ryan
c5e2d3dc99 Fix sign of GMT offsets. Props Denis-de-Bernardy. fixes #9758
git-svn-id: http://svn.automattic.com/wordpress/trunk@11288 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-05-12 00:32:36 +00:00
westi
0c5393432e Update phpDoc for update_option. See #8805 props rmccue.
git-svn-id: http://svn.automattic.com/wordpress/trunk@11221 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-05-06 20:33:59 +00:00
markjaquith
6c2ffddf31 _a(), _ea(), _xa(), attr() are now esc_attr__(), esc_attr_e(), esc_attr_x(), esc_attr() -- still short, but less cryptic. see #9650
git-svn-id: http://svn.automattic.com/wordpress/trunk@11204 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-05-05 19:43:53 +00:00
azaozz
83f674bf9a Banishing ASCII quotes and apostrophes, props demetris, fixes #9655
git-svn-id: http://svn.automattic.com/wordpress/trunk@11190 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-05-05 04:28:05 +00:00
ryan
3072fbb30d sanitize_file_name() improvements. Props sivel. fixes #9416
git-svn-id: http://svn.automattic.com/wordpress/trunk@11178 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-05-04 20:20:48 +00:00
westi
cce77d198a Move _cleanup_header_comment() to wp-includes so it is always available. Fixes #8497 props Denis-de-Bernardy.
git-svn-id: http://svn.automattic.com/wordpress/trunk@11170 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-05-04 09:33:58 +00:00
azaozz
6d535ce0c2 Load the menu folded (if set), load the editor earlier
git-svn-id: http://svn.automattic.com/wordpress/trunk@11118 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-04-29 05:43:03 +00:00
ryan
2d489767bb s/attribute_escape/attr/. see #9650
git-svn-id: http://svn.automattic.com/wordpress/trunk@11109 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-04-28 05:58:45 +00:00
ryan
07cc34e882 Fix wp_nonce_ays() go back link. fixes #7436
git-svn-id: http://svn.automattic.com/wordpress/trunk@11059 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-04-22 21:08:19 +00:00
ryan
6843183228 Eliminate unecessary preg_replace. Props bernzilla, Denis-de-Bernardy. fixes #5624
git-svn-id: http://svn.automattic.com/wordpress/trunk@11024 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-04-20 22:15:14 +00:00
ryan
e511111837 Fix warning in wp_ob_end_flush_all(). Props richcon. fixes #5109
git-svn-id: http://svn.automattic.com/wordpress/trunk@11020 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-04-20 20:35:31 +00:00
ryan
a61bc0ec8a Trailing whitespace cleanup
git-svn-id: http://svn.automattic.com/wordpress/trunk@11013 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-04-20 18:18:39 +00:00
markjaquith
9f5a39d759 Clean up is_blog_installed(), remove redundant or unnecessary code. see #8947
git-svn-id: http://svn.automattic.com/wordpress/trunk@10974 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-04-17 01:43:53 +00:00
azaozz
72456bcdbf Don't use get_catname() (deprecated), props filosofo, see #9550
git-svn-id: http://svn.automattic.com/wordpress/trunk@10972 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-04-17 01:11:31 +00:00
ryan
b8566c75cd Optimize install check by checking alloptions cache before doing a separate query. Props joostdevalk. fixes #8947
git-svn-id: http://svn.automattic.com/wordpress/trunk@10958 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-04-16 22:00:39 +00:00
markjaquith
8acacd62a0 Return false for corrupted serialized strings. props Denis-de-Bernardy. fixes #9549
git-svn-id: http://svn.automattic.com/wordpress/trunk@10955 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-04-16 21:03:18 +00:00
ryan
cbb5499088 Allow m4v. Props hailin. fixes #9541
git-svn-id: http://svn.automattic.com/wordpress/trunk@10938 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-04-15 19:36:09 +00:00
ryan
d2110af1b9 Define wp_clone() before loading the cache.
git-svn-id: http://svn.automattic.com/wordpress/trunk@10937 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-04-15 19:14:43 +00:00
ryan
fe648c9e20 Updates to wp_login_url() and wp_logout_url(). Use them in more places. Props wnorris. fixes #9536
git-svn-id: http://svn.automattic.com/wordpress/trunk@10931 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-04-14 18:31:49 +00:00
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
ryan
7ec57f9dea Use localized dates on General Options page. Props nbachiyski. fixes #8153
git-svn-id: http://svn.automattic.com/wordpress/trunk@9616 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-11-11 19:56:35 +00:00
ryan
bfb90a6922 Make user settings global
git-svn-id: http://svn.automattic.com/wordpress/trunk@9444 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-10-31 20:41:16 +00:00
ryan
e3517a9be4 Send 403 instead of 500 for comment flood protection. Allow specifying response code for wp_die(). Props DD32. fixes #7246
git-svn-id: http://svn.automattic.com/wordpress/trunk@9335 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-10-24 21:00:40 +00:00
ryan
2eb1ba967f Better error response when fetching attachments. Props DD32. see #7944
git-svn-id: http://svn.automattic.com/wordpress/trunk@9327 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-10-24 18:22:43 +00:00
ryan
77f5447071 wp_get_http() fixes. see #7944
git-svn-id: http://svn.automattic.com/wordpress/trunk@9301 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-10-23 19:39:17 +00:00
ryan
5a529cd216 Notice fixes from DD32. see #7509
git-svn-id: http://svn.automattic.com/wordpress/trunk@9270 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-10-21 23:54:18 +00:00
ryan
3fc6097a5a phpdoc corrections from jacobsantos. see #7918
git-svn-id: http://svn.automattic.com/wordpress/trunk@9243 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-10-18 20:46:30 +00:00
ryan
9af33a74a9 Suspend cache invalidation while importing posts with WP importer
git-svn-id: http://svn.automattic.com/wordpress/trunk@9106 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-10-09 00:50:52 +00:00
ryan
33bcf4ec87 Error checking for HTTP requests. Props jacobsantos. see #7793
git-svn-id: http://svn.automattic.com/wordpress/trunk@9051 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-10-02 00:32:21 +00:00
westi
f419d59754 Protect log out actions against CSRF. Props markjaquith and ionfish. Fixes #7790.
git-svn-id: http://svn.automattic.com/wordpress/trunk@9025 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-09-28 21:05:37 +00:00
westi
4e99179e62 Move the old simple http method to use the new HTTP api. See #7793 props jacobsantos.
git-svn-id: http://svn.automattic.com/wordpress/trunk@9013 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-09-27 21:41:19 +00:00
markjaquith
78f973ad2c Proper HTML for wp_nonce_ays
git-svn-id: http://svn.automattic.com/wordpress/trunk@8972 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-09-25 05:13:53 +00:00
westi
95e26235ad Notice fixes see #7509 props DD32 and jacobsantos.
git-svn-id: http://svn.automattic.com/wordpress/trunk@8944 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-09-21 20:41:25 +00:00
azaozz
e2b4009e66 Saving/restoring the user interface state, see #7654
git-svn-id: http://svn.automattic.com/wordpress/trunk@8784 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-08-31 06:34:43 +00:00
azaozz
5f476b32f1 Pass default value to get_option(), fixes #7637
git-svn-id: http://svn.automattic.com/wordpress/trunk@8770 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-08-29 07:25:45 +00:00
westi
3b9b906d3e Final phpdoc for functions. Fixes #5639 props jacobsantos.
git-svn-id: http://svn.automattic.com/wordpress/trunk@8608 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-08-10 20:31:49 +00:00
westi
840eb7e5e0 phpdoc for general functions. See #5639 props jacobsantos.
git-svn-id: http://svn.automattic.com/wordpress/trunk@8606 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-08-10 16:45:50 +00:00
ryan
35b18e5034 Trailing whitespace cleanup
git-svn-id: http://svn.automattic.com/wordpress/trunk@8600 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-08-09 05:36:14 +00:00
ryan
2f90aada53 phpdoc for functions.php. Props jacobsantos. fixes #5639
git-svn-id: http://svn.automattic.com/wordpress/trunk@8598 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-08-09 04:51:51 +00:00
westi
b3cb14fb80 Lots of fixes for Notices when WP_DEBUG is set. See #6669 props santosj.
git-svn-id: http://svn.automattic.com/wordpress/trunk@8589 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-08-08 17:05:10 +00:00
markjaquith
74c46749cb Cast to array when using foreach(). Props santosj (and thanks for your perseverance!). fixes #2784
git-svn-id: http://svn.automattic.com/wordpress/trunk@8572 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-08-06 20:31:54 +00:00
ryan
064b19958f Fix variable name typo. Props ionfish. fixes #7471 for trunk
git-svn-id: http://svn.automattic.com/wordpress/trunk@8570 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-08-06 17:24:10 +00:00
ryan
e97a8af5de Don't return if is_string(). Proceed to check if is_serialized(). fixes #7347 for trunk
git-svn-id: http://svn.automattic.com/wordpress/trunk@8372 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-07-18 16:43:23 +00:00
ryan
cdcd6ffdf6 Image sideload and wp_upload_dir() fixes from noel. fixes #7342 for trunk
git-svn-id: http://svn.automattic.com/wordpress/trunk@8369 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-07-18 03:19:12 +00:00
ryan
f555d94c3f Derive the upload url from the upload path if no url given. fixes #7308 for trunk
git-svn-id: http://svn.automattic.com/wordpress/trunk@8352 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-07-16 16:49:22 +00:00
ryan
cf566ef990 Return base dir and url from wp_upload_dir(). Props DD32. fixes #6762
git-svn-id: http://svn.automattic.com/wordpress/trunk@8280 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-07-07 23:53:54 +00:00
ryan
4957f5a4cc Notice fixes from jacobsantos. fixes #7255
git-svn-id: http://svn.automattic.com/wordpress/trunk@8266 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-07-07 14:21:47 +00:00
ryan
03932fa14f pre_update_option_* filter from DD32. fixes #7233
git-svn-id: http://svn.automattic.com/wordpress/trunk@8247 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-07-03 15:51:53 +00:00
ryan
af9c3b8896 Use WP_CONTENT_URL in wp_upload_dir(). Props sambauers. fixes #7206
git-svn-id: http://svn.automattic.com/wordpress/trunk@8216 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-06-30 03:33:05 +00:00
ryan
d3a532389d phpdoc updates from jacobsantos. see #5639
git-svn-id: http://svn.automattic.com/wordpress/trunk@8215 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-06-30 03:23:44 +00:00
markjaquith
a8dd6cb845 make get_alloptions() consistent with get_option() WRT tag_base untrailingslashit()ing
git-svn-id: http://svn.automattic.com/wordpress/trunk@8212 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-06-29 07:44:32 +00:00
ryan
3489826131 Fix date() warning on Windows. Props ozh. fixes #7186
git-svn-id: http://svn.automattic.com/wordpress/trunk@8199 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-06-26 18:34:28 +00:00
ryan
ce2ed91698 wp_guess_url() and install styling fixes from sambauers. fixes #7129 see #4732
git-svn-id: http://svn.automattic.com/wordpress/trunk@8182 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-06-24 17:36:21 +00:00
ryan
7c878c14ad Don't trim strings in maybe_serialize(). Props hakre. fixes #7132 #7133 #4781 for trunk
git-svn-id: http://svn.automattic.com/wordpress/trunk@8100 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-06-16 20:41:02 +00:00
westi
84a93d7c65 Fix the phpdoc comments so we don't lose a function :-(. Fixes #7144 props johnhennmacc.
git-svn-id: http://svn.automattic.com/wordpress/trunk@8094 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-06-15 19:11:15 +00:00
westi
d9d640809b PHPDoc updates for functions.php. See #5639 props jacobsantos.
git-svn-id: http://svn.automattic.com/wordpress/trunk@8092 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-06-15 09:38:32 +00:00
westi
0dcd6e0e9c Make sure force_ssl_login and force_ssl_admin work as designed. Fixes #7140 props wet.
git-svn-id: http://svn.automattic.com/wordpress/trunk@8087 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-06-14 20:58:43 +00:00
ryan
6adcab8b27 Introduce logged_in cookie. Deliver auth cookies only to wp-admin. see #7001
git-svn-id: http://svn.automattic.com/wordpress/trunk@8069 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-06-11 17:25:55 +00:00
ryan
6c8d35de32 Allow wp-content to exist outside of webroot. Props sambauers. see #6938
git-svn-id: http://svn.automattic.com/wordpress/trunk@7999 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-05-27 17:55:24 +00:00
ryan
9771ec5110 First cut and better admin SSL support. see #7001
git-svn-id: http://svn.automattic.com/wordpress/trunk@7998 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-05-27 17:46:01 +00:00
ryan
dcf35ab2ed Add some page template validation
git-svn-id: http://svn.automattic.com/wordpress/trunk@7921 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-05-12 23:51:54 +00:00
westi
38ebc1a0ee Fix _deprecated_function() and _deprecated_file() so that they work correctly. Props JonathanRogers and DD32.
git-svn-id: http://svn.automattic.com/wordpress/trunk@7884 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-05-04 10:44:44 +00:00
ryan
4a33d268ab Strip percent signs when sanitizing filenames so the server doesn't try to decode entities. Props filosofo. fixes #5587 for trunk
git-svn-id: http://svn.automattic.com/wordpress/trunk@7631 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-04-08 17:22:20 +00:00
ryan
064322eded 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: http://svn.automattic.com/wordpress/trunk@7508 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-03-25 00:22:37 +00:00
matt
712f33944b Helper comment and lowercase filenames before playing around with them, to avoid extension duplication.
git-svn-id: http://svn.automattic.com/wordpress/trunk@7478 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-03-22 19:34:21 +00:00
ryan
e6e3b1aa35 Cleanup slashing in wp_mkdir_p
git-svn-id: http://svn.automattic.com/wordpress/trunk@7455 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-03-21 18:27:56 +00:00
westi
6a50d730cb Add sanitization of option values to add_option. Fixes #5209 props johnbillion.
git-svn-id: http://svn.automattic.com/wordpress/trunk@7445 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-03-21 08:56:29 +00:00
markjaquith
f3e25d6df3 better Apache mod detection from andy. fixes #6278
git-svn-id: http://svn.automattic.com/wordpress/trunk@7441 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-03-21 04:10:01 +00:00
markjaquith
c5e0b789f6 Prevent uploads from overwriting each other. props neodude. fixes #6294
git-svn-id: http://svn.automattic.com/wordpress/trunk@7440 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-03-21 04:03:33 +00:00
markjaquith
62642cb9fe "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: http://svn.automattic.com/wordpress/trunk@7438 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-03-21 03:31:12 +00:00
ryan
95c51418d8 Degrade flash upload if the server is lightttpd < 1.5. Props nbachyski. fixes #6243
git-svn-id: http://svn.automattic.com/wordpress/trunk@7406 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-03-20 00:33:59 +00:00
ryan
7c83d7abd1 Suppress errors during option retrieval while installing. see #5771
git-svn-id: http://svn.automattic.com/wordpress/trunk@7405 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-03-19 23:17:23 +00:00
markjaquith
f704e592a9 wp_nonce_ays() HTML fixes from DD32. fixes #6270
git-svn-id: http://svn.automattic.com/wordpress/trunk@7395 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-03-19 06:04:45 +00:00
ryan
c700c87195 Add explanatory text for upgrade plugin nonce. Props DD32. see #5586
git-svn-id: http://svn.automattic.com/wordpress/trunk@7377 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-03-18 05:04:18 +00:00