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 |
|
westi
|
5cd2e835d8
|
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: http://svn.automattic.com/wordpress/trunk@7323 1a063a9b-81f0-0310-95a4-ce76da25c4cd
|
2008-03-15 22:44:34 +00:00 |
|
ryan
|
eda7e0e8bc
|
Suppress logging of DB errors when checking if blog is installed. see #5771
git-svn-id: http://svn.automattic.com/wordpress/trunk@7269 1a063a9b-81f0-0310-95a4-ce76da25c4cd
|
2008-03-12 22:41:43 +00:00 |
|
matt
|
bf18e2fd3f
|
Deal correctly with empty upload_path option. Hat tip: tellyworth.
git-svn-id: http://svn.automattic.com/wordpress/trunk@7134 1a063a9b-81f0-0310-95a4-ce76da25c4cd
|
2008-03-03 04:14:16 +00:00 |
|
ryan
|
04c9051a7d
|
Remove trailing whites.
git-svn-id: http://svn.automattic.com/wordpress/trunk@7130 1a063a9b-81f0-0310-95a4-ce76da25c4cd
|
2008-03-02 20:17:30 +00:00 |
|
ryan
|
73b84563d3
|
max width fixes from azaozz. fixes #6051
git-svn-id: http://svn.automattic.com/wordpress/trunk@7114 1a063a9b-81f0-0310-95a4-ce76da25c4cd
|
2008-02-29 23:27:02 +00:00 |
|
ryan
|
daf37cc98c
|
Media Library updates from andy. see #5911
git-svn-id: http://svn.automattic.com/wordpress/trunk@7100 1a063a9b-81f0-0310-95a4-ce76da25c4cd
|
2008-02-29 06:54:15 +00:00 |
|
ryan
|
5367493b1e
|
gettext fixes from takayukister. fixes #6018
git-svn-id: http://svn.automattic.com/wordpress/trunk@7063 1a063a9b-81f0-0310-95a4-ce76da25c4cd
|
2008-02-27 17:19:58 +00:00 |
|
ryan
|
77f215393c
|
fix overuse of default mime icon and re-shuffle mp4/m4a file type matches. Props andy. see #5911
git-svn-id: http://svn.automattic.com/wordpress/trunk@7045 1a063a9b-81f0-0310-95a4-ce76da25c4cd
|
2008-02-26 19:57:00 +00:00 |
|
ryan
|
4446c81177
|
Return error when requesting invalid feed format. Props pishmishy. fixes #5446
git-svn-id: http://svn.automattic.com/wordpress/trunk@7038 1a063a9b-81f0-0310-95a4-ce76da25c4cd
|
2008-02-26 10:05:05 +00:00 |
|
ryan
|
2e38b04136
|
Error page styling from mt. fixes #5977
git-svn-id: http://svn.automattic.com/wordpress/trunk@7001 1a063a9b-81f0-0310-95a4-ce76da25c4cd
|
2008-02-24 04:33:51 +00:00 |
|
westi
|
8d42a5d342
|
Fix the display of human time difference when server timezone if different from blog timezone. Fixes #5970 props jhodgdon.
git-svn-id: http://svn.automattic.com/wordpress/trunk@6995 1a063a9b-81f0-0310-95a4-ce76da25c4cd
|
2008-02-23 22:11:47 +00:00 |
|
ryan
|
038910ae4e
|
Upload path fixes from tellyworth. see #5953
git-svn-id: http://svn.automattic.com/wordpress/trunk@6984 1a063a9b-81f0-0310-95a4-ce76da25c4cd
|
2008-02-22 17:46:03 +00:00 |
|
ryan
|
dce0978cee
|
Notice fixes from nbachiyski. fixes #5961
git-svn-id: http://svn.automattic.com/wordpress/trunk@6983 1a063a9b-81f0-0310-95a4-ce76da25c4cd
|
2008-02-22 17:43:56 +00:00 |
|
ryan
|
0ac5af1f6e
|
Add a prophylactic specialchars to the object in explain nonce. see #5838
git-svn-id: http://svn.automattic.com/wordpress/trunk@6817 1a063a9b-81f0-0310-95a4-ce76da25c4cd
|
2008-02-13 18:14:38 +00:00 |
|
ryan
|
6199f2dc76
|
Make Nonce Mismatch Fail Instead of AYS. Props filosofo. fixes #5838 for 2.5
git-svn-id: http://svn.automattic.com/wordpress/trunk@6813 1a063a9b-81f0-0310-95a4-ce76da25c4cd
|
2008-02-13 17:39:40 +00:00 |
|
ryan
|
9c7db11219
|
New gzip compressor for TinyMCE from azaozz. fixes #5807
git-svn-id: http://svn.automattic.com/wordpress/trunk@6789 1a063a9b-81f0-0310-95a4-ce76da25c4cd
|
2008-02-11 17:45:18 +00:00 |
|
matt
|
3b82a74e29
|
Blow out mem limit, slightly larger thumbnails.
git-svn-id: http://svn.automattic.com/wordpress/trunk@6786 1a063a9b-81f0-0310-95a4-ce76da25c4cd
|
2008-02-11 09:02:44 +00:00 |
|
matt
|
f55e3feab2
|
Lowercase extensions too, dynamically change when we try to create thumbnails by memory limit.
git-svn-id: http://svn.automattic.com/wordpress/trunk@6783 1a063a9b-81f0-0310-95a4-ce76da25c4cd
|
2008-02-11 08:02:01 +00:00 |
|
matt
|
d9738d6cfb
|
Allow uploads outside of the WP path and custom URLs for the same.
git-svn-id: http://svn.automattic.com/wordpress/trunk@6780 1a063a9b-81f0-0310-95a4-ce76da25c4cd
|
2008-02-11 06:35:24 +00:00 |
|
ryan
|
1edf014a54
|
s/2.4/2.5/. Props ffemtcj. fixes #5810
git-svn-id: http://svn.automattic.com/wordpress/trunk@6777 1a063a9b-81f0-0310-95a4-ce76da25c4cd
|
2008-02-10 07:59:34 +00:00 |
|
ryan
|
6f108ce6f3
|
Remove gzip_compression(). Leave it to the server. fixes #4342
git-svn-id: http://svn.automattic.com/wordpress/trunk@6775 1a063a9b-81f0-0310-95a4-ce76da25c4cd
|
2008-02-10 07:12:33 +00:00 |
|
ryan
|
d88983793b
|
Trailing whitespace cleanup
git-svn-id: http://svn.automattic.com/wordpress/trunk@6726 1a063a9b-81f0-0310-95a4-ce76da25c4cd
|
2008-02-05 06:47:27 +00:00 |
|
ryan
|
80643d6ed9
|
doubleval bytes. Props tellyworth. fixes #5246
git-svn-id: http://svn.automattic.com/wordpress/trunk@6669 1a063a9b-81f0-0310-95a4-ce76da25c4cd
|
2008-01-28 04:55:54 +00:00 |
|
westi
|
1aaec4ff30
|
Notice fixing for wp-includes. See #5607 props filosofo.
git-svn-id: http://svn.automattic.com/wordpress/trunk@6592 1a063a9b-81f0-0310-95a4-ce76da25c4cd
|
2008-01-10 20:51:07 +00:00 |
|
ryan
|
fdb577cfd3
|
Encoding before title. Props RanYanivHartstein. fixes #5519 for 2.5
git-svn-id: http://svn.automattic.com/wordpress/trunk@6568 1a063a9b-81f0-0310-95a4-ce76da25c4cd
|
2008-01-06 19:15:33 +00:00 |
|
ryan
|
1ae1811dd0
|
Unused var cleanup. Props DD32. see #5418
git-svn-id: http://svn.automattic.com/wordpress/trunk@6551 1a063a9b-81f0-0310-95a4-ce76da25c4cd
|
2008-01-04 19:36:34 +00:00 |
|
ryan
|
e46b5e6bc2
|
Port autosave to jquery. Props rmccue. see #3824
git-svn-id: http://svn.automattic.com/wordpress/trunk@6546 1a063a9b-81f0-0310-95a4-ce76da25c4cd
|
2008-01-04 08:46:33 +00:00 |
|
matt
|
ae18e22598
|
New tag interface, tag auto-suggest while typing. Rough - suggest and parts of JS should probably be refactored. Hat tip: jhodgdon.
git-svn-id: http://svn.automattic.com/wordpress/trunk@6542 1a063a9b-81f0-0310-95a4-ce76da25c4cd
|
2008-01-03 01:34:11 +00:00 |
|
ryan
|
ee80716944
|
Properly close tags. Props ionfish. fixes #5568
git-svn-id: http://svn.automattic.com/wordpress/trunk@6535 1a063a9b-81f0-0310-95a4-ce76da25c4cd
|
2008-01-02 17:31:00 +00:00 |
|
westi
|
d49cece4a3
|
Mark functions and files as deprecated. Fixes #4361 props docwhat and darkdragon
git-svn-id: http://svn.automattic.com/wordpress/trunk@6514 1a063a9b-81f0-0310-95a4-ce76da25c4cd
|
2007-12-28 21:17:42 +00:00 |
|
ryan
|
e8dc86950e
|
Custom DB error page. fixes #5500 for 2.4
git-svn-id: http://svn.automattic.com/wordpress/trunk@6447 1a063a9b-81f0-0310-95a4-ce76da25c4cd
|
2007-12-21 02:53:57 +00:00 |
|
ryan
|
49d8db4cbe
|
redirect fixes from ruckus and tellyworth. fixes #5479
git-svn-id: http://svn.automattic.com/wordpress/trunk@6402 1a063a9b-81f0-0310-95a4-ce76da25c4cd
|
2007-12-18 05:28:44 +00:00 |
|
ryan
|
83ccac4372
|
unique filename fixes from tellyworth. fixes #5482
git-svn-id: http://svn.automattic.com/wordpress/trunk@6401 1a063a9b-81f0-0310-95a4-ce76da25c4cd
|
2007-12-18 03:32:43 +00:00 |
|
ryan
|
0cbe2f0d84
|
Suppress display of DB error messages by default. Props filosofo. see #5473
git-svn-id: http://svn.automattic.com/wordpress/trunk@6391 1a063a9b-81f0-0310-95a4-ce76da25c4cd
|
2007-12-16 21:38:24 +00:00 |
|
ryan
|
e9c9b1fbf2
|
Import file attachments. Props tellyworth. fixes #5466
git-svn-id: http://svn.automattic.com/wordpress/trunk@6390 1a063a9b-81f0-0310-95a4-ce76da25c4cd
|
2007-12-16 21:34:48 +00:00 |
|
westi
|
d26bff6a38
|
Remove triming from string options fixes #4781 props hakre
git-svn-id: http://svn.automattic.com/wordpress/trunk@6367 1a063a9b-81f0-0310-95a4-ce76da25c4cd
|
2007-12-09 11:49:25 +00:00 |
|
ryan
|
83afcae858
|
New feed_link functions. Deprecate rss_link functions. Make default feed pluggable. Props rubys. see #5328
git-svn-id: http://svn.automattic.com/wordpress/trunk@6365 1a063a9b-81f0-0310-95a4-ce76da25c4cd
|
2007-12-06 19:58:15 +00:00 |
|
ryan
|
028a159440
|
Remove unused vars. Props DD32. see #5418
git-svn-id: http://svn.automattic.com/wordpress/trunk@6364 1a063a9b-81f0-0310-95a4-ce76da25c4cd
|
2007-12-06 19:49:33 +00:00 |
|
westi
|
15f67c97f9
|
Actually return a url if SSL is not supported! Relates to #5298
git-svn-id: http://svn.automattic.com/wordpress/trunk@6340 1a063a9b-81f0-0310-95a4-ce76da25c4cd
|
2007-11-17 11:27:01 +00:00 |
|
westi
|
b296c5f19e
|
Ensure that we offer https access to atom if it is available. Fixes #5298 props rubys.
git-svn-id: http://svn.automattic.com/wordpress/trunk@6339 1a063a9b-81f0-0310-95a4-ce76da25c4cd
|
2007-11-17 11:21:34 +00:00 |
|
ryan
|
20f655d83b
|
Kill unused var.
git-svn-id: http://svn.automattic.com/wordpress/trunk@6250 1a063a9b-81f0-0310-95a4-ce76da25c4cd
|
2007-10-14 09:38:12 +00:00 |
|
ryan
|
808cd79992
|
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: http://svn.automattic.com/wordpress/trunk@6249 1a063a9b-81f0-0310-95a4-ce76da25c4cd
|
2007-10-14 07:57:56 +00:00 |
|
ryan
|
16411f9c7b
|
Set global is_blog_installed flag so we don't query the DB more than once per load.
git-svn-id: http://svn.automattic.com/wordpress/trunk@6244 1a063a9b-81f0-0310-95a4-ce76da25c4cd
|
2007-10-13 18:39:28 +00:00 |
|
ryan
|
42fee85546
|
Fix category assigment during link import. fixes #5107 for trunk
git-svn-id: http://svn.automattic.com/wordpress/trunk@6233 1a063a9b-81f0-0310-95a4-ce76da25c4cd
|
2007-10-12 21:47:34 +00:00 |
|
markjaquith
|
a30ed0ded5
|
Code cleanup and standardization for functions.php
git-svn-id: http://svn.automattic.com/wordpress/trunk@6223 1a063a9b-81f0-0310-95a4-ce76da25c4cd
|
2007-10-11 05:46:57 +00:00 |
|
markjaquith
|
c23352bedf
|
Introducing absint() for casting to an absolute integer. see #4762
git-svn-id: http://svn.automattic.com/wordpress/trunk@6222 1a063a9b-81f0-0310-95a4-ce76da25c4cd
|
2007-10-10 22:11:18 +00:00 |
|
westi
|
61f8b8f569
|
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: http://svn.automattic.com/wordpress/trunk@6198 1a063a9b-81f0-0310-95a4-ce76da25c4cd
|
2007-10-06 08:18:33 +00:00 |
|
markjaquith
|
21c25b5566
|
prepare() for wp-includes/ link-template.php, post.php, general-template.php, pluggable.php, functions.php. see #4553
git-svn-id: http://svn.automattic.com/wordpress/trunk@6180 1a063a9b-81f0-0310-95a4-ce76da25c4cd
|
2007-10-02 18:45:47 +00:00 |
|
markjaquith
|
0fb4233fdf
|
Add tag_base to list of untrailingslashed options, and standardize the unslashing. Prevents /mytags//tagname/
git-svn-id: http://svn.automattic.com/wordpress/trunk@6153 1a063a9b-81f0-0310-95a4-ce76da25c4cd
|
2007-09-22 06:11:48 +00:00 |
|
ryan
|
3ac0df5170
|
Fix includes for setup-config so that wp_die is defined. Props DD32. fixes #4997
git-svn-id: http://svn.automattic.com/wordpress/trunk@6137 1a063a9b-81f0-0310-95a4-ce76da25c4cd
|
2007-09-19 04:27:56 +00:00 |
|
markjaquith
|
b36471d4cf
|
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: http://svn.automattic.com/wordpress/trunk@6110 1a063a9b-81f0-0310-95a4-ce76da25c4cd
|
2007-09-13 06:23:23 +00:00 |
|
markjaquith
|
3fc1d4f08d
|
De-rabbit-hole compat.php
git-svn-id: http://svn.automattic.com/wordpress/trunk@6108 1a063a9b-81f0-0310-95a4-ce76da25c4cd
|
2007-09-13 05:24:31 +00:00 |
|
markjaquith
|
76d0f29698
|
Check for apply_filters() in status_header() so that it can be called early on in load process
git-svn-id: http://svn.automattic.com/wordpress/trunk@6107 1a063a9b-81f0-0310-95a4-ce76da25c4cd
|
2007-09-13 05:00:46 +00:00 |
|
markjaquith
|
95908afb48
|
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: http://svn.automattic.com/wordpress/trunk@6104 1a063a9b-81f0-0310-95a4-ce76da25c4cd
|
2007-09-13 04:48:41 +00:00 |
|
markjaquith
|
79c4324e01
|
Only urlencode previously existing values in add_query_arg() (more backwards compatible). fixes #4935. see #4084. see #4878
git-svn-id: http://svn.automattic.com/wordpress/trunk@6064 1a063a9b-81f0-0310-95a4-ce76da25c4cd
|
2007-09-08 14:27:24 +00:00 |
|
markjaquith
|
ead6bfebf7
|
Try more ways of getting wp-admin URL in wp_die(). props Nazgul. fixes #4006
git-svn-id: http://svn.automattic.com/wordpress/trunk@6057 1a063a9b-81f0-0310-95a4-ce76da25c4cd
|
2007-09-07 02:25:54 +00:00 |
|
markjaquith
|
98a92950a3
|
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: http://svn.automattic.com/wordpress/trunk@6039 1a063a9b-81f0-0310-95a4-ce76da25c4cd
|
2007-09-05 19:20:53 +00:00 |
|
markjaquith
|
1e8e248b97
|
Actually, let's just drop that slash check altogether. Equals sign is the best indicator. fixes #4903 for trunk
git-svn-id: http://svn.automattic.com/wordpress/trunk@6031 1a063a9b-81f0-0310-95a4-ce76da25c4cd
|
2007-09-04 05:26:18 +00:00 |
|
markjaquith
|
ab71cc4a4f
|
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: http://svn.automattic.com/wordpress/trunk@6030 1a063a9b-81f0-0310-95a4-ce76da25c4cd
|
2007-09-04 05:21:54 +00:00 |
|
ryan
|
321c310717
|
Remove trailing whitespace
git-svn-id: http://svn.automattic.com/wordpress/trunk@6026 1a063a9b-81f0-0310-95a4-ce76da25c4cd
|
2007-09-03 23:32:58 +00:00 |
|
ryan
|
87c4f3a17f
|
Strip lines that contain only whitespace down to newlines.
git-svn-id: http://svn.automattic.com/wordpress/trunk@6025 1a063a9b-81f0-0310-95a4-ce76da25c4cd
|
2007-09-03 23:19:20 +00:00 |
|
markjaquith
|
7e45ed193a
|
Eliminate double urlencode()ing in add_query_arg(). Move &-to-& conversion to wp_nonce_url(). fixes #4884
git-svn-id: http://svn.automattic.com/wordpress/trunk@6008 1a063a9b-81f0-0310-95a4-ce76da25c4cd
|
2007-09-02 05:49:54 +00:00 |
|
markjaquith
|
d60384b385
|
Turn & to & in add_query_arg(). fixes #4878
git-svn-id: http://svn.automattic.com/wordpress/trunk@6005 1a063a9b-81f0-0310-95a4-ce76da25c4cd
|
2007-09-01 22:12:17 +00:00 |
|
markjaquith
|
0906863d2c
|
Preserve query string arrays in add_query_arg(). fixes #4878 for trunk
git-svn-id: http://svn.automattic.com/wordpress/trunk@5999 1a063a9b-81f0-0310-95a4-ce76da25c4cd
|
2007-09-01 03:41:50 +00:00 |
|
westi
|
31992bac0d
|
Allow upload of all Open Office document types props nbachiyski fixes #4615
git-svn-id: http://svn.automattic.com/wordpress/trunk@5929 1a063a9b-81f0-0310-95a4-ce76da25c4cd
|
2007-08-23 18:28:14 +00:00 |
|
markjaquith
|
3ba71111de
|
Allow pre_option_ filters to return values that evaluate as false. fixes #4695
git-svn-id: http://svn.automattic.com/wordpress/trunk@5842 1a063a9b-81f0-0310-95a4-ce76da25c4cd
|
2007-08-02 22:51:42 +00:00 |
|
markjaquith
|
ad81604c8c
|
add_option()/update_option() should pass the option name to get_option() pre-escaped. fixes #4690 for trunk
git-svn-id: http://svn.automattic.com/wordpress/trunk@5829 1a063a9b-81f0-0310-95a4-ce76da25c4cd
|
2007-08-01 19:14:10 +00:00 |
|
markjaquith
|
764f50bd3d
|
ABSPATH already has a trailing slash. Props Nazgul. fixes #4607
git-svn-id: http://svn.automattic.com/wordpress/trunk@5820 1a063a9b-81f0-0310-95a4-ce76da25c4cd
|
2007-07-27 21:28:01 +00:00 |
|
westi
|
75a3af7d17
|
Only enable gzip compression if it is not enabled in php.ini. Fixes #4426
git-svn-id: http://svn.automattic.com/wordpress/trunk@5810 1a063a9b-81f0-0310-95a4-ce76da25c4cd
|
2007-07-18 21:12:22 +00:00 |
|
ryan
|
d8d651221c
|
Show upload file size in upload browser. Props tellyworth. fixes #4561
git-svn-id: http://svn.automattic.com/wordpress/trunk@5801 1a063a9b-81f0-0310-95a4-ce76da25c4cd
|
2007-07-15 17:52:50 +00:00 |
|
ryan
|
ebf520f0d7
|
Post filter rework. see #4546
git-svn-id: http://svn.automattic.com/wordpress/trunk@5796 1a063a9b-81f0-0310-95a4-ce76da25c4cd
|
2007-07-11 19:57:43 +00:00 |
|
markjaquith
|
9b0c0d56db
|
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: http://svn.automattic.com/wordpress/trunk@5788 1a063a9b-81f0-0310-95a4-ce76da25c4cd
|
2007-07-07 04:06:29 +00:00 |
|
ryan
|
aac03a2066
|
wp_parse_str() from mdawaffe. see #4467
git-svn-id: http://svn.automattic.com/wordpress/trunk@5709 1a063a9b-81f0-0310-95a4-ce76da25c4cd
|
2007-06-14 22:46:59 +00:00 |
|
markjaquith
|
e211aa64e7
|
use FALSE to designate lack of user-supplied URL in *_query_arg() funcs. fixes #4465 for 2.3 (trunk)
git-svn-id: http://svn.automattic.com/wordpress/trunk@5705 1a063a9b-81f0-0310-95a4-ce76da25c4cd
|
2007-06-14 05:12:22 +00:00 |
|
markjaquith
|
99f0971b73
|
only strip question marks from the RIGHT side of the query string. fixes #4464 for trunk
git-svn-id: http://svn.automattic.com/wordpress/trunk@5704 1a063a9b-81f0-0310-95a4-ce76da25c4cd
|
2007-06-14 04:44:06 +00:00 |
|
ryan
|
2f09416258
|
Trim empty lines. Nothing but newline.
git-svn-id: http://svn.automattic.com/wordpress/trunk@5700 1a063a9b-81f0-0310-95a4-ce76da25c4cd
|
2007-06-14 02:25:30 +00:00 |
|
markjaquith
|
8187ddb3d7
|
correct CSS link for install. Props Viper007Bond. fixes #4443
git-svn-id: http://svn.automattic.com/wordpress/trunk@5694 1a063a9b-81f0-0310-95a4-ce76da25c4cd
|
2007-06-13 06:33:17 +00:00 |
|
markjaquith
|
6d5da3e33c
|
Force $autoload to be either "yes" or "no". see #4440. props Nazgul
git-svn-id: http://svn.automattic.com/wordpress/trunk@5686 1a063a9b-81f0-0310-95a4-ce76da25c4cd
|
2007-06-12 20:57:58 +00:00 |
|
rob1n
|
9ce729e656
|
Content-Type, not Content-type, as headers are case sensitive. Props foolswisdom and Nazgul. fixes #3545
git-svn-id: http://svn.automattic.com/wordpress/trunk@5640 1a063a9b-81f0-0310-95a4-ce76da25c4cd
|
2007-06-02 05:21:18 +00:00 |
|
rob1n
|
6800fa5564
|
Actually, this makes more sense.
git-svn-id: http://svn.automattic.com/wordpress/trunk@5573 1a063a9b-81f0-0310-95a4-ce76da25c4cd
|
2007-05-28 17:11:42 +00:00 |
|
rob1n
|
673cab8183
|
Turn string to upper. Props Donncha. fixes #4350
git-svn-id: http://svn.automattic.com/wordpress/trunk@5572 1a063a9b-81f0-0310-95a4-ce76da25c4cd
|
2007-05-28 17:05:46 +00:00 |
|
ryan
|
2918f50e90
|
Term cache work. see #4189
git-svn-id: http://svn.automattic.com/wordpress/trunk@5555 1a063a9b-81f0-0310-95a4-ce76da25c4cd
|
2007-05-26 23:32:06 +00:00 |
|
ryan
|
92e7d3c3bc
|
Make sure sanitize_option() is always called when updating options.
git-svn-id: http://svn.automattic.com/wordpress/trunk@5541 1a063a9b-81f0-0310-95a4-ce76da25c4cd
|
2007-05-25 02:22:30 +00:00 |
|
ryan
|
1b783b9b9a
|
More rel_type elimination. see #4189
git-svn-id: http://svn.automattic.com/wordpress/trunk@5532 1a063a9b-81f0-0310-95a4-ce76da25c4cd
|
2007-05-23 20:59:11 +00:00 |
|
rob1n
|
7048b27ede
|
Don't call is_wp_error() in wp_die() if it hasn't been defined yet. fixes #4308
git-svn-id: http://svn.automattic.com/wordpress/trunk@5507 1a063a9b-81f0-0310-95a4-ce76da25c4cd
|
2007-05-21 22:50:32 +00:00 |
|
ryan
|
b634b18433
|
Check if is_array before unsetting array index. fixes #4306 for 2.3
git-svn-id: http://svn.automattic.com/wordpress/trunk@5501 1a063a9b-81f0-0310-95a4-ce76da25c4cd
|
2007-05-21 16:39:08 +00:00 |
|
rob1n
|
4a83568904
|
Check for switch_themes, not edit_themes. Props Denis de Bernardy. fixes #4292
git-svn-id: http://svn.automattic.com/wordpress/trunk@5492 1a063a9b-81f0-0310-95a4-ce76da25c4cd
|
2007-05-19 04:38:51 +00:00 |
|
ryan
|
f5b4234c59
|
Flush all output buffers during shutdown to avoid PHP 5 bustage. see #3354
git-svn-id: http://svn.automattic.com/wordpress/trunk@5462 1a063a9b-81f0-0310-95a4-ce76da25c4cd
|
2007-05-12 22:06:31 +00:00 |
|
ryan
|
b820d101d6
|
Return proper protocol. fixes #3886 for 2.3
git-svn-id: http://svn.automattic.com/wordpress/trunk@5460 1a063a9b-81f0-0310-95a4-ce76da25c4cd
|
2007-05-12 21:55:14 +00:00 |
|
rob1n
|
65454107d1
|
git-svn-id: http://svn.automattic.com/wordpress/trunk@5451 1a063a9b-81f0-0310-95a4-ce76da25c4cd
|
2007-05-11 04:02:30 +00:00 |
|
rob1n
|
ee7d9e9e18
|
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: http://svn.automattic.com/wordpress/trunk@5446 1a063a9b-81f0-0310-95a4-ce76da25c4cd
|
2007-05-11 03:34:50 +00:00 |
|
rob1n
|
56a1232923
|
Don't discard non-default args in wp_parse_args(). see #4237
git-svn-id: http://svn.automattic.com/wordpress/trunk@5428 1a063a9b-81f0-0310-95a4-ce76da25c4cd
|
2007-05-10 02:33:01 +00:00 |
|
rob1n
|
1e30a12eb5
|
Bit of clean-up.
git-svn-id: http://svn.automattic.com/wordpress/trunk@5415 1a063a9b-81f0-0310-95a4-ce76da25c4cd
|
2007-05-09 04:19:19 +00:00 |
|
ryan
|
bbad336b10
|
Don't send header from wp_die() if admin header already sent. fixes #4234 for 2.3.
git-svn-id: http://svn.automattic.com/wordpress/trunk@5411 1a063a9b-81f0-0310-95a4-ce76da25c4cd
|
2007-05-07 23:24:44 +00:00 |
|
ryan
|
9805be9f11
|
Make sure Widgets menu comes after Themes. see #4169
git-svn-id: http://svn.automattic.com/wordpress/trunk@5401 1a063a9b-81f0-0310-95a4-ce76da25c4cd
|
2007-05-06 20:36:11 +00:00 |
|
rob1n
|
f8b2a63e57
|
Load order fixed.
git-svn-id: http://svn.automattic.com/wordpress/trunk@5377 1a063a9b-81f0-0310-95a4-ce76da25c4cd
|
2007-05-03 00:52:14 +00:00 |
|
rob1n
|
ab530a67d5
|
Don't show Widgets admin page if core widgets aren't enabled. fixes #4218
git-svn-id: http://svn.automattic.com/wordpress/trunk@5376 1a063a9b-81f0-0310-95a4-ce76da25c4cd
|
2007-05-03 00:43:57 +00:00 |
|
ryan
|
9e54a128b8
|
Call get_option('siteurl') outside the loop to save a few dozen get_option calls. Props andissimo.
git-svn-id: http://svn.automattic.com/wordpress/trunk@5370 1a063a9b-81f0-0310-95a4-ce76da25c4cd
|
2007-05-02 00:32:22 +00:00 |
|
rob1n
|
b21f9bdc98
|
New way of loading widgets that works with PHP 5. Thanks to filosofo for testing. see #4169
git-svn-id: http://svn.automattic.com/wordpress/trunk@5363 1a063a9b-81f0-0310-95a4-ce76da25c4cd
|
2007-05-01 01:58:18 +00:00 |
|
rob1n
|
58d8ed1284
|
Move widget stuff around. see #4169
git-svn-id: http://svn.automattic.com/wordpress/trunk@5360 1a063a9b-81f0-0310-95a4-ce76da25c4cd
|
2007-05-01 01:13:06 +00:00 |
|
rob1n
|
d3f52c3b45
|
Allow number_format to be internationalized. Props nbachiyski. fixes #3677
git-svn-id: http://svn.automattic.com/wordpress/trunk@5308 1a063a9b-81f0-0310-95a4-ce76da25c4cd
|
2007-04-25 00:49:57 +00:00 |
|
rob1n
|
559fa91b8d
|
Add ODT to allowed file types. Props Nazgul. fixes #4136
git-svn-id: http://svn.automattic.com/wordpress/trunk@5304 1a063a9b-81f0-0310-95a4-ce76da25c4cd
|
2007-04-24 23:28:39 +00:00 |
|
rob1n
|
f2d8504d16
|
Cast substr()'s to int before passing through mktime() to prevent warning. Props josephscott. fixes #4166
git-svn-id: http://svn.automattic.com/wordpress/trunk@5284 1a063a9b-81f0-0310-95a4-ce76da25c4cd
|
2007-04-19 02:49:19 +00:00 |
|
rob1n
|
d7a828c373
|
Add in another trim(), just in case $frag is actually something.
git-svn-id: http://svn.automattic.com/wordpress/trunk@5269 1a063a9b-81f0-0310-95a4-ce76da25c4cd
|
2007-04-14 00:19:01 +00:00 |
|
rob1n
|
999e232f12
|
trim() question marks *after* concatenating the string. fixes #4134
git-svn-id: http://svn.automattic.com/wordpress/trunk@5267 1a063a9b-81f0-0310-95a4-ce76da25c4cd
|
2007-04-14 00:11:47 +00:00 |
|
rob1n
|
30d6c1ad15
|
Get add_query_arg() to urlencode all values of parse_str array. Props mdawaffe. fixes #4084
git-svn-id: http://svn.automattic.com/wordpress/trunk@5261 1a063a9b-81f0-0310-95a4-ce76da25c4cd
|
2007-04-12 22:00:22 +00:00 |
|
ryan
|
0e28e967ad
|
Actually make use of wp_cache_add to avoid unnecessary cache writes. Props skeltoac. fixes #4138
git-svn-id: http://svn.automattic.com/wordpress/trunk@5248 1a063a9b-81f0-0310-95a4-ce76da25c4cd
|
2007-04-12 02:27:12 +00:00 |
|
rob1n
|
25191fabb8
|
Rollback wonky part of [5193]. see #4084
git-svn-id: http://svn.automattic.com/wordpress/trunk@5240 1a063a9b-81f0-0310-95a4-ce76da25c4cd
|
2007-04-11 03:41:42 +00:00 |
|
ryan
|
77cdde3f87
|
Tag clouds from mdawaffe. fixes #4129
git-svn-id: http://svn.automattic.com/wordpress/trunk@5234 1a063a9b-81f0-0310-95a4-ce76da25c4cd
|
2007-04-10 19:52:15 +00:00 |
|
rob1n
|
f826cb98cc
|
Move the stripslashes(), and change it to stripslashes_deep(). Props mdawaffe. fixes #4105
git-svn-id: http://svn.automattic.com/wordpress/trunk@5200 1a063a9b-81f0-0310-95a4-ce76da25c4cd
|
2007-04-07 01:24:40 +00:00 |
|
rob1n
|
a7d8f6aa74
|
Re-encode query values after passed to add_query_arg(). Props mdawaffe. fixes #4084
git-svn-id: http://svn.automattic.com/wordpress/trunk@5193 1a063a9b-81f0-0310-95a4-ce76da25c4cd
|
2007-04-06 04:21:21 +00:00 |
|
ryan
|
7f0a905ee6
|
Cache category hierarchy to make cat listing faster. Phase 1. see #3985
git-svn-id: http://svn.automattic.com/wordpress/trunk@5178 1a063a9b-81f0-0310-95a4-ce76da25c4cd
|
2007-04-04 20:44:45 +00:00 |
|
matt
|
afb8aafcbf
|
Don't forget the tag_cache
git-svn-id: http://svn.automattic.com/wordpress/trunk@5163 1a063a9b-81f0-0310-95a4-ce76da25c4cd
|
2007-04-01 08:44:10 +00:00 |
|
matt
|
c86599b85c
|
Now tag pretty permalinks should work, and support custom tag bases.
git-svn-id: http://svn.automattic.com/wordpress/trunk@5150 1a063a9b-81f0-0310-95a4-ce76da25c4cd
|
2007-03-31 09:19:32 +00:00 |
|
rob1n
|
347657de7e
|
Add back in a question mark. Props foolswisdom. fixes #3143
git-svn-id: http://svn.automattic.com/wordpress/trunk@5138 1a063a9b-81f0-0310-95a4-ce76da25c4cd
|
2007-03-29 02:24:25 +00:00 |
|
ryan
|
9ca2d36ada
|
Avoid non-object error when wp_die()ing before is instantiated. Props technosailor. fixes #4042
git-svn-id: http://svn.automattic.com/wordpress/trunk@5129 1a063a9b-81f0-0310-95a4-ce76da25c4cd
|
2007-03-28 18:10:03 +00:00 |
|
ryan
|
68ef70bf19
|
Change bookmark to link. Props foolswisdom. fixes #3143
git-svn-id: http://svn.automattic.com/wordpress/trunk@5124 1a063a9b-81f0-0310-95a4-ce76da25c4cd
|
2007-03-27 23:54:48 +00:00 |
|
ryan
|
3d9418194f
|
Serve robots.txt as text/plain. Props JeremyVisser. fixes #4037
git-svn-id: http://svn.automattic.com/wordpress/trunk@5117 1a063a9b-81f0-0310-95a4-ce76da25c4cd
|
2007-03-27 16:44:36 +00:00 |
|
matt
|
cbe226d621
|
Basic theme support for tags.
git-svn-id: http://svn.automattic.com/wordpress/trunk@5111 1a063a9b-81f0-0310-95a4-ce76da25c4cd
|
2007-03-26 08:08:31 +00:00 |
|
ryan
|
ee323a457b
|
Revert [5102]
git-svn-id: http://svn.automattic.com/wordpress/trunk@5109 1a063a9b-81f0-0310-95a4-ce76da25c4cd
|
2007-03-26 06:13:19 +00:00 |
|
ryan
|
3f82bf5819
|
Correct reversed logic in maybe_serialize. Props takayukister. fixes #4029
git-svn-id: http://svn.automattic.com/wordpress/trunk@5102 1a063a9b-81f0-0310-95a4-ce76da25c4cd
|
2007-03-25 23:23:52 +00:00 |
|
ryan
|
eed1eedc5f
|
Allow siteurl and home to be defined as constants in wp-config, bypassing the DB. Props filosofo and charleshooper. fixes #4003
git-svn-id: http://svn.automattic.com/wordpress/trunk@5093 1a063a9b-81f0-0310-95a4-ce76da25c4cd
|
2007-03-23 17:45:40 +00:00 |
|
matt
|
7602d17899
|
(int)er the dragon.
git-svn-id: http://svn.automattic.com/wordpress/trunk@5087 1a063a9b-81f0-0310-95a4-ce76da25c4cd
|
2007-03-23 00:59:21 +00:00 |
|
markjaquith
|
611b037efa
|
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: http://svn.automattic.com/wordpress/trunk@5056 1a063a9b-81f0-0310-95a4-ce76da25c4cd
|
2007-03-17 08:46:59 +00:00 |
|
ryan
|
12be68075e
|
More attribute_escape().
git-svn-id: http://svn.automattic.com/wordpress/trunk@5044 1a063a9b-81f0-0310-95a4-ce76da25c4cd
|
2007-03-16 01:20:53 +00:00 |
|
markjaquith
|
95df22248d
|
nonce-protect comments by users with unfiltered_html cap to prevent xsrf/xss. fixes #3973 for trunk
git-svn-id: http://svn.automattic.com/wordpress/trunk@5039 1a063a9b-81f0-0310-95a4-ce76da25c4cd
|
2007-03-14 23:10:57 +00:00 |
|
ryan
|
7aa7d0668f
|
Move smilies init to function and trigger from init. Props rob1n. fixes #1721
git-svn-id: http://svn.automattic.com/wordpress/trunk@5032 1a063a9b-81f0-0310-95a4-ce76da25c4cd
|
2007-03-12 21:31:24 +00:00 |
|
ryan
|
2051c80cac
|
Change xmlrpc upload logic. Props Joseph Scott.
git-svn-id: http://svn.automattic.com/wordpress/trunk@5008 1a063a9b-81f0-0310-95a4-ce76da25c4cd
|
2007-03-09 20:14:52 +00:00 |
|
markjaquith
|
3320dd1380
|
Use strpos instead of strstr where ever possible, for speed. Props rob1n. fixes #3920
git-svn-id: http://svn.automattic.com/wordpress/trunk@4990 1a063a9b-81f0-0310-95a4-ce76da25c4cd
|
2007-03-07 05:29:15 +00:00 |
|
ryan
|
7f1945b310
|
xmlrpc updates from Joseph Scott.
git-svn-id: http://svn.automattic.com/wordpress/trunk@4961 1a063a9b-81f0-0310-95a4-ce76da25c4cd
|
2007-03-03 16:56:46 +00:00 |
|
markjaquith
|
c7ce6107ad
|
attribute_escape() in nonce AYS
git-svn-id: http://svn.automattic.com/wordpress/trunk@4951 1a063a9b-81f0-0310-95a4-ce76da25c4cd
|
2007-02-27 07:15:47 +00:00 |
|
ryan
|
4bec99a338
|
Comment feeds everywhere. Props mdawaffe and rob1n. fixes #2485
git-svn-id: http://svn.automattic.com/wordpress/trunk@4934 1a063a9b-81f0-0310-95a4-ce76da25c4cd
|
2007-02-24 07:33:29 +00:00 |
|
ryan
|
891662aaed
|
Atom comments feed. First pass. Props kurtmckee and rob1n. fixes #1785
git-svn-id: http://svn.automattic.com/wordpress/trunk@4928 1a063a9b-81f0-0310-95a4-ce76da25c4cd
|
2007-02-23 08:18:30 +00:00 |
|
ryan
|
dbedd143e4
|
Relocate feed templates to wp-includes. fixes #3846
git-svn-id: http://svn.automattic.com/wordpress/trunk@4927 1a063a9b-81f0-0310-95a4-ce76da25c4cd
|
2007-02-23 02:50:05 +00:00 |
|
ryan
|
d672c73072
|
Use === to compare option values. Props roscohead and Viper007Bond. fixes #3394
git-svn-id: http://svn.automattic.com/wordpress/trunk@4920 1a063a9b-81f0-0310-95a4-ce76da25c4cd
|
2007-02-23 00:49:37 +00:00 |
|
ryan
|
fea2a6e503
|
xmlrpc updates from Joseph Scott.
git-svn-id: http://svn.automattic.com/wordpress/trunk@4908 1a063a9b-81f0-0310-95a4-ce76da25c4cd
|
2007-02-22 01:42:21 +00:00 |
|
ryan
|
a4d57ead4c
|
Add WP_Error handling to wp_die(). Props mdawaffe. fixes #3791
git-svn-id: http://svn.automattic.com/wordpress/trunk@4892 1a063a9b-81f0-0310-95a4-ce76da25c4cd
|
2007-02-20 01:24:31 +00:00 |
|
ryan
|
dff5f19b6b
|
specialchars wp_explain_nonce() ouput.
git-svn-id: http://svn.automattic.com/wordpress/trunk@4875 1a063a9b-81f0-0310-95a4-ce76da25c4cd
|
2007-02-13 18:19:24 +00:00 |
|
ryan
|
cab399a6ae
|
Typo fix from charleshooper. fixes #3743
git-svn-id: http://svn.automattic.com/wordpress/trunk@4865 1a063a9b-81f0-0310-95a4-ce76da25c4cd
|
2007-02-03 00:56:23 +00:00 |
|
markjaquith
|
12e9cabfb7
|
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: http://svn.automattic.com/wordpress/trunk@4855 1a063a9b-81f0-0310-95a4-ce76da25c4cd
|
2007-02-01 08:53:08 +00:00 |
|
ryan
|
771e8bdb8d
|
Add pre_option_* filter that allows plugins to short-circuit fetches.
git-svn-id: http://svn.automattic.com/wordpress/trunk@4842 1a063a9b-81f0-0310-95a4-ce76da25c4cd
|
2007-01-30 18:34:18 +00:00 |
|
ryan
|
f8c689b4f0
|
Remove notoptions caching. Multile rewrite_rules options were being created. See #3692 #2268
git-svn-id: http://svn.automattic.com/wordpress/trunk@4831 1a063a9b-81f0-0310-95a4-ce76da25c4cd
|
2007-01-30 01:43:39 +00:00 |
|
markjaquith
|
7873820f8c
|
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: http://svn.automattic.com/wordpress/trunk@4820 1a063a9b-81f0-0310-95a4-ce76da25c4cd
|
2007-01-27 23:06:46 +00:00 |
|
markjaquith
|
a741e0d350
|
Cache the non-existence of options to prevent redundant queries. props davidhouse. fixes #2268
git-svn-id: http://svn.automattic.com/wordpress/trunk@4798 1a063a9b-81f0-0310-95a4-ce76da25c4cd
|
2007-01-25 00:12:08 +00:00 |
|
ryan
|
8f84936e4b
|
Restrict wp_remote_fopen to remote files.
git-svn-id: http://svn.automattic.com/wordpress/trunk@4752 1a063a9b-81f0-0310-95a4-ce76da25c4cd
|
2007-01-16 18:41:05 +00:00 |
|
markjaquith
|
ddf32533e6
|
That'll teach me to trust a code snippet from php.net ... typo fix from last commit. relates to #3528
git-svn-id: http://svn.automattic.com/wordpress/trunk@4725 1a063a9b-81f0-0310-95a4-ce76da25c4cd
|
2007-01-12 21:46:29 +00:00 |
|
markjaquith
|
de879172d7
|
Use http_response_code for in status_header() on PHP >= 4.3.0 per Ryan's suggestion. relates to #3528
git-svn-id: http://svn.automattic.com/wordpress/trunk@4724 1a063a9b-81f0-0310-95a4-ce76da25c4cd
|
2007-01-12 21:41:48 +00:00 |
|
markjaquith
|
7b18a414db
|
burn in Hades, status_header(), destroyer of souls. fixes #3528
git-svn-id: http://svn.automattic.com/wordpress/trunk@4684 1a063a9b-81f0-0310-95a4-ce76da25c4cd
|
2007-01-06 08:22:12 +00:00 |
|
markjaquith
|
bdd210972c
|
Whitespace cleanup for [4656]
git-svn-id: http://svn.automattic.com/wordpress/trunk@4657 1a063a9b-81f0-0310-95a4-ce76da25c4cd
|
2006-12-21 10:45:58 +00:00 |
|
markjaquith
|
5a76c03203
|
new function for escaping within attributes: attribute_escape()
git-svn-id: http://svn.automattic.com/wordpress/trunk@4656 1a063a9b-81f0-0310-95a4-ce76da25c4cd
|
2006-12-21 10:10:04 +00:00 |
|
ryan
|
4ea0406712
|
Move wp_generate_attachment_metadata() and friends to admin-functions.php and include admin-functions from xmlrpc.
git-svn-id: http://svn.automattic.com/wordpress/trunk@4643 1a063a9b-81f0-0310-95a4-ce76da25c4cd
|
2006-12-12 08:36:16 +00:00 |
|
ryan
|
203f6c5ab4
|
Some caching cleanups.
git-svn-id: http://svn.automattic.com/wordpress/trunk@4631 1a063a9b-81f0-0310-95a4-ce76da25c4cd
|
2006-12-08 07:35:45 +00:00 |
|
ryan
|
3b09e48f19
|
Create attachment metadata for xmlrpc uploads. Props mdawaffe. fixes #3452
git-svn-id: http://svn.automattic.com/wordpress/trunk@4628 1a063a9b-81f0-0310-95a4-ce76da25c4cd
|
2006-12-07 22:42:22 +00:00 |
|
ryan
|
814a2b0c1c
|
Key caches by blog ID for those doing the multi blog trick.
git-svn-id: http://svn.automattic.com/wordpress/trunk@4524 1a063a9b-81f0-0310-95a4-ce76da25c4cd
|
2006-11-23 20:39:39 +00:00 |
|
matt
|
624c94b57e
|
This makes things a little more interesting and cacheable (sp?)
git-svn-id: http://svn.automattic.com/wordpress/trunk@4517 1a063a9b-81f0-0310-95a4-ce76da25c4cd
|
2006-11-23 15:38:22 +00:00 |
|
markjaquith
|
16998c6bb3
|
trying Ryan's suggestion for #3215
git-svn-id: http://svn.automattic.com/wordpress/trunk@4513 1a063a9b-81f0-0310-95a4-ce76da25c4cd
|
2006-11-22 04:58:31 +00:00 |
|
ryan
|
9f534ebae6
|
Remove trailing spaces and convert spaces to tabs. Props Nazgul. fixes #986
git-svn-id: http://svn.automattic.com/wordpress/trunk@4495 1a063a9b-81f0-0310-95a4-ce76da25c4cd
|
2006-11-19 07:56:05 +00:00 |
|
ryan
|
80550746c6
|
Base last modified time for comment feeds on comments, not the post. Props mdawaffe. fixes #137
git-svn-id: http://svn.automattic.com/wordpress/trunk@4483 1a063a9b-81f0-0310-95a4-ce76da25c4cd
|
2006-11-18 20:46:43 +00:00 |
|
markjaquith
|
a8889fb947
|
silence the fopen() in wp_remote_fopen()
git-svn-id: http://svn.automattic.com/wordpress/trunk@4472 1a063a9b-81f0-0310-95a4-ce76da25c4cd
|
2006-11-15 22:46:35 +00:00 |
|
markjaquith
|
5cd38edafe
|
possible solution for #3215
git-svn-id: http://svn.automattic.com/wordpress/trunk@4445 1a063a9b-81f0-0310-95a4-ce76da25c4cd
|
2006-11-03 02:42:47 +00:00 |
|
markjaquith
|
439538aa5b
|
Catch NULL, bool, and integer values in is_serialized(). Props mdawaffe. fixes #3310
git-svn-id: http://svn.automattic.com/wordpress/trunk@4438 1a063a9b-81f0-0310-95a4-ce76da25c4cd
|
2006-10-31 08:24:09 +00:00 |
|
markjaquith
|
9b0c765df6
|
Better preservation of query string when using add_query_arg(). Props in self- and Andy-flavored varieties. fixes #3308
git-svn-id: http://svn.automattic.com/wordpress/trunk@4435 1a063a9b-81f0-0310-95a4-ce76da25c4cd
|
2006-10-31 05:49:14 +00:00 |
|
markjaquith
|
3795560bc6
|
Fix post meta caching system to reduce queries and eliminate redundant WP code. fixes #3273
git-svn-id: http://svn.automattic.com/wordpress/trunk@4419 1a063a9b-81f0-0310-95a4-ce76da25c4cd
|
2006-10-24 10:52:59 +00:00 |
|
markjaquith
|
21d1fc231c
|
cleanup [4382] a bit
git-svn-id: http://svn.automattic.com/wordpress/trunk@4383 1a063a9b-81f0-0310-95a4-ce76da25c4cd
|
2006-10-13 00:23:25 +00:00 |
|
markjaquith
|
854cf56a7d
|
Prevent users from entering strings that will be interpreted as serialized arrays/objects on the way out. fixes #2591
git-svn-id: http://svn.automattic.com/wordpress/trunk@4382 1a063a9b-81f0-0310-95a4-ce76da25c4cd
|
2006-10-12 23:54:36 +00:00 |
|
markjaquith
|
b6349f87ce
|
wp_die() fix for 5 minute install from alanjcastonguay. fixes #3231
git-svn-id: http://svn.automattic.com/wordpress/trunk@4379 1a063a9b-81f0-0310-95a4-ce76da25c4cd
|
2006-10-12 02:33:03 +00:00 |
|
markjaquith
|
6e8d3ba537
|
Post meta caching fix by mdawaffe. fixes #3229
git-svn-id: http://svn.automattic.com/wordpress/trunk@4372 1a063a9b-81f0-0310-95a4-ce76da25c4cd
|
2006-10-11 09:18:54 +00:00 |
|
ryan
|
fce38c2c1f
|
RTL support for login sand wp_die() from Sewar. fixes #3136
git-svn-id: http://svn.automattic.com/wordpress/trunk@4359 1a063a9b-81f0-0310-95a4-ce76da25c4cd
|
2006-10-07 19:12:33 +00:00 |
|
ryan
|
43f36aab78
|
RTL enhancements from Sewar. #3136
git-svn-id: http://svn.automattic.com/wordpress/trunk@4258 1a063a9b-81f0-0310-95a4-ce76da25c4cd
|
2006-09-27 00:51:17 +00:00 |
|
ryan
|
8ca163a2d2
|
RTL support. Props mani_monaj. #3136
git-svn-id: http://svn.automattic.com/wordpress/trunk@4201 1a063a9b-81f0-0310-95a4-ce76da25c4cd
|
2006-09-21 00:34:34 +00:00 |
|
matt
|
67d5a6d3c7
|
Options cleanup and some styling changes.
git-svn-id: http://svn.automattic.com/wordpress/trunk@4196 1a063a9b-81f0-0310-95a4-ce76da25c4cd
|
2006-09-19 06:11:42 +00:00 |
|
ryan
|
5dc154c1e2
|
Fix logo link in wp_die(). Props Sewar. fixes #3138
git-svn-id: http://svn.automattic.com/wordpress/trunk@4194 1a063a9b-81f0-0310-95a4-ce76da25c4cd
|
2006-09-18 23:40:19 +00:00 |
|
ryan
|
adb2e50e8d
|
Add explain_nonce filter. Props mdawaffe. fixes #3121
git-svn-id: http://svn.automattic.com/wordpress/trunk@4181 1a063a9b-81f0-0310-95a4-ce76da25c4cd
|
2006-09-10 17:49:24 +00:00 |
|
ryan
|
5af4905706
|
We no longer need the outer array.
git-svn-id: http://svn.automattic.com/wordpress/trunk@4178 1a063a9b-81f0-0310-95a4-ce76da25c4cd
|
2006-09-09 01:09:21 +00:00 |
|
ryan
|
0f7bb42a79
|
timer_stop() wanted to be near timer_start().
git-svn-id: http://svn.automattic.com/wordpress/trunk@4174 1a063a9b-81f0-0310-95a4-ce76da25c4cd
|
2006-09-07 23:26:52 +00:00 |
|
ryan
|
ebbcf250d5
|
i18n fixes from nbachiyski. fixes #3109
git-svn-id: http://svn.automattic.com/wordpress/trunk@4165 1a063a9b-81f0-0310-95a4-ce76da25c4cd
|
2006-09-05 18:52:24 +00:00 |
|
ryan
|
849a0d29d7
|
Use get_option instead of get_settings. Just 'cause.
git-svn-id: http://svn.automattic.com/wordpress/trunk@4144 1a063a9b-81f0-0310-95a4-ce76da25c4cd
|
2006-08-30 21:46:31 +00:00 |
|
ryan
|
79e681baf5
|
Feeds for singular object queries should be comment feeds.
git-svn-id: http://svn.automattic.com/wordpress/trunk@4127 1a063a9b-81f0-0310-95a4-ce76da25c4cd
|
2006-08-30 03:34:17 +00:00 |
|
ryan
|
bad9c9f18d
|
Keep the frag at the end. Props mdawaffe. fixes #3078
git-svn-id: http://svn.automattic.com/wordpress/trunk@4123 1a063a9b-81f0-0310-95a4-ce76da25c4cd
|
2006-08-30 01:02:45 +00:00 |
|
ryan
|
2362c86ead
|
comments-rss2 fix from Mark J. fixes #3055
git-svn-id: http://svn.automattic.com/wordpress/trunk@4114 1a063a9b-81f0-0310-95a4-ce76da25c4cd
|
2006-08-24 23:32:47 +00:00 |
|