Commit Graph

603 Commits

Author SHA1 Message Date
Peter Westwood 897531ee27 Allow upload of all Open Office document types props nbachiyski fixes #4615
git-svn-id: https://develop.svn.wordpress.org/trunk@5929 602fd350-edb4-49c9-b593-d223f7449a82
2007-08-23 18:28:14 +00:00
Mark Jaquith c82cd99e96 Allow pre_option_ filters to return values that evaluate as false. fixes #4695
git-svn-id: https://develop.svn.wordpress.org/trunk@5842 602fd350-edb4-49c9-b593-d223f7449a82
2007-08-02 22:51:42 +00:00
Mark Jaquith c4889d1f21 add_option()/update_option() should pass the option name to get_option() pre-escaped. fixes #4690 for trunk
git-svn-id: https://develop.svn.wordpress.org/trunk@5829 602fd350-edb4-49c9-b593-d223f7449a82
2007-08-01 19:14:10 +00:00
Mark Jaquith 593eca6f21 ABSPATH already has a trailing slash. Props Nazgul. fixes #4607
git-svn-id: https://develop.svn.wordpress.org/trunk@5820 602fd350-edb4-49c9-b593-d223f7449a82
2007-07-27 21:28:01 +00:00
Peter Westwood 45226eae66 Only enable gzip compression if it is not enabled in php.ini. Fixes #4426
git-svn-id: https://develop.svn.wordpress.org/trunk@5810 602fd350-edb4-49c9-b593-d223f7449a82
2007-07-18 21:12:22 +00:00
Ryan Boren 4c70bb896e Show upload file size in upload browser. Props tellyworth. fixes #4561
git-svn-id: https://develop.svn.wordpress.org/trunk@5801 602fd350-edb4-49c9-b593-d223f7449a82
2007-07-15 17:52:50 +00:00
Ryan Boren 9fe6a868ca Post filter rework. see #4546
git-svn-id: https://develop.svn.wordpress.org/trunk@5796 602fd350-edb4-49c9-b593-d223f7449a82
2007-07-11 19:57:43 +00:00
Mark Jaquith 3e87a2b88d 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: https://develop.svn.wordpress.org/trunk@5788 602fd350-edb4-49c9-b593-d223f7449a82
2007-07-07 04:06:29 +00:00
Ryan Boren 6b7bc3b1b6 wp_parse_str() from mdawaffe. see #4467
git-svn-id: https://develop.svn.wordpress.org/trunk@5709 602fd350-edb4-49c9-b593-d223f7449a82
2007-06-14 22:46:59 +00:00
Mark Jaquith 2a6e8a08be use FALSE to designate lack of user-supplied URL in *_query_arg() funcs. fixes #4465 for 2.3 (trunk)
git-svn-id: https://develop.svn.wordpress.org/trunk@5705 602fd350-edb4-49c9-b593-d223f7449a82
2007-06-14 05:12:22 +00:00
Mark Jaquith e542bbdde1 only strip question marks from the RIGHT side of the query string. fixes #4464 for trunk
git-svn-id: https://develop.svn.wordpress.org/trunk@5704 602fd350-edb4-49c9-b593-d223f7449a82
2007-06-14 04:44:06 +00:00
Ryan Boren b046d67f41 Trim empty lines. Nothing but newline.
git-svn-id: https://develop.svn.wordpress.org/trunk@5700 602fd350-edb4-49c9-b593-d223f7449a82
2007-06-14 02:25:30 +00:00
Mark Jaquith 37b3dc98fe correct CSS link for install. Props Viper007Bond. fixes #4443
git-svn-id: https://develop.svn.wordpress.org/trunk@5694 602fd350-edb4-49c9-b593-d223f7449a82
2007-06-13 06:33:17 +00:00
Mark Jaquith ce7fd94edf Force $autoload to be either "yes" or "no". see #4440. props Nazgul
git-svn-id: https://develop.svn.wordpress.org/trunk@5686 602fd350-edb4-49c9-b593-d223f7449a82
2007-06-12 20:57:58 +00:00
rob1n 12c2ef6be0 Content-Type, not Content-type, as headers are case sensitive. Props foolswisdom and Nazgul. fixes #3545
git-svn-id: https://develop.svn.wordpress.org/trunk@5640 602fd350-edb4-49c9-b593-d223f7449a82
2007-06-02 05:21:18 +00:00
rob1n 5b7256e644 Actually, this makes more sense.
git-svn-id: https://develop.svn.wordpress.org/trunk@5573 602fd350-edb4-49c9-b593-d223f7449a82
2007-05-28 17:11:42 +00:00
rob1n d5816ce68b Turn string to upper. Props Donncha. fixes #4350
git-svn-id: https://develop.svn.wordpress.org/trunk@5572 602fd350-edb4-49c9-b593-d223f7449a82
2007-05-28 17:05:46 +00:00
Ryan Boren 455d73121f Term cache work. see #4189
git-svn-id: https://develop.svn.wordpress.org/trunk@5555 602fd350-edb4-49c9-b593-d223f7449a82
2007-05-26 23:32:06 +00:00
Ryan Boren c018ceb6bd Make sure sanitize_option() is always called when updating options.
git-svn-id: https://develop.svn.wordpress.org/trunk@5541 602fd350-edb4-49c9-b593-d223f7449a82
2007-05-25 02:22:30 +00:00
Ryan Boren 510799abe8 More rel_type elimination. see #4189
git-svn-id: https://develop.svn.wordpress.org/trunk@5532 602fd350-edb4-49c9-b593-d223f7449a82
2007-05-23 20:59:11 +00:00
rob1n 62c94190fb Don't call is_wp_error() in wp_die() if it hasn't been defined yet. fixes #4308
git-svn-id: https://develop.svn.wordpress.org/trunk@5507 602fd350-edb4-49c9-b593-d223f7449a82
2007-05-21 22:50:32 +00:00
Ryan Boren e50ab910fb Check if is_array before unsetting array index. fixes #4306 for 2.3
git-svn-id: https://develop.svn.wordpress.org/trunk@5501 602fd350-edb4-49c9-b593-d223f7449a82
2007-05-21 16:39:08 +00:00
rob1n ac98122657 Check for switch_themes, not edit_themes. Props Denis de Bernardy. fixes #4292
git-svn-id: https://develop.svn.wordpress.org/trunk@5492 602fd350-edb4-49c9-b593-d223f7449a82
2007-05-19 04:38:51 +00:00
Ryan Boren fb8a712fdb Flush all output buffers during shutdown to avoid PHP 5 bustage. see #3354
git-svn-id: https://develop.svn.wordpress.org/trunk@5462 602fd350-edb4-49c9-b593-d223f7449a82
2007-05-12 22:06:31 +00:00
Ryan Boren d9da4028a2 Return proper protocol. fixes #3886 for 2.3
git-svn-id: https://develop.svn.wordpress.org/trunk@5460 602fd350-edb4-49c9-b593-d223f7449a82
2007-05-12 21:55:14 +00:00
rob1n 90dc5682f3 git-svn-id: https://develop.svn.wordpress.org/trunk@5451 602fd350-edb4-49c9-b593-d223f7449a82 2007-05-11 04:02:30 +00:00
rob1n 3deb0fe500 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: https://develop.svn.wordpress.org/trunk@5446 602fd350-edb4-49c9-b593-d223f7449a82
2007-05-11 03:34:50 +00:00
rob1n 222bb819b7 Don't discard non-default args in wp_parse_args(). see #4237
git-svn-id: https://develop.svn.wordpress.org/trunk@5428 602fd350-edb4-49c9-b593-d223f7449a82
2007-05-10 02:33:01 +00:00
rob1n 13d4d782a5 Bit of clean-up.
git-svn-id: https://develop.svn.wordpress.org/trunk@5415 602fd350-edb4-49c9-b593-d223f7449a82
2007-05-09 04:19:19 +00:00
Ryan Boren 3ae3baa8ff Don't send header from wp_die() if admin header already sent. fixes #4234 for 2.3.
git-svn-id: https://develop.svn.wordpress.org/trunk@5411 602fd350-edb4-49c9-b593-d223f7449a82
2007-05-07 23:24:44 +00:00
Ryan Boren e83f137798 Make sure Widgets menu comes after Themes. see #4169
git-svn-id: https://develop.svn.wordpress.org/trunk@5401 602fd350-edb4-49c9-b593-d223f7449a82
2007-05-06 20:36:11 +00:00
rob1n c30d0f3c57 Load order fixed.
git-svn-id: https://develop.svn.wordpress.org/trunk@5377 602fd350-edb4-49c9-b593-d223f7449a82
2007-05-03 00:52:14 +00:00
rob1n e6ab5d6f99 Don't show Widgets admin page if core widgets aren't enabled. fixes #4218
git-svn-id: https://develop.svn.wordpress.org/trunk@5376 602fd350-edb4-49c9-b593-d223f7449a82
2007-05-03 00:43:57 +00:00
Ryan Boren 9414b0a110 Call get_option('siteurl') outside the loop to save a few dozen get_option calls. Props andissimo.
git-svn-id: https://develop.svn.wordpress.org/trunk@5370 602fd350-edb4-49c9-b593-d223f7449a82
2007-05-02 00:32:22 +00:00
rob1n 0cf5f8cf12 New way of loading widgets that works with PHP 5. Thanks to filosofo for testing. see #4169
git-svn-id: https://develop.svn.wordpress.org/trunk@5363 602fd350-edb4-49c9-b593-d223f7449a82
2007-05-01 01:58:18 +00:00
rob1n 697a38d8e8 Move widget stuff around. see #4169
git-svn-id: https://develop.svn.wordpress.org/trunk@5360 602fd350-edb4-49c9-b593-d223f7449a82
2007-05-01 01:13:06 +00:00
rob1n a40b296021 Allow number_format to be internationalized. Props nbachiyski. fixes #3677
git-svn-id: https://develop.svn.wordpress.org/trunk@5308 602fd350-edb4-49c9-b593-d223f7449a82
2007-04-25 00:49:57 +00:00
rob1n 69e811bb7c Add ODT to allowed file types. Props Nazgul. fixes #4136
git-svn-id: https://develop.svn.wordpress.org/trunk@5304 602fd350-edb4-49c9-b593-d223f7449a82
2007-04-24 23:28:39 +00:00
rob1n 642b38246b Cast substr()'s to int before passing through mktime() to prevent warning. Props josephscott. fixes #4166
git-svn-id: https://develop.svn.wordpress.org/trunk@5284 602fd350-edb4-49c9-b593-d223f7449a82
2007-04-19 02:49:19 +00:00
rob1n 8c25d341d9 Add in another trim(), just in case $frag is actually something.
git-svn-id: https://develop.svn.wordpress.org/trunk@5269 602fd350-edb4-49c9-b593-d223f7449a82
2007-04-14 00:19:01 +00:00
rob1n 6d905c3341 trim() question marks *after* concatenating the string. fixes #4134
git-svn-id: https://develop.svn.wordpress.org/trunk@5267 602fd350-edb4-49c9-b593-d223f7449a82
2007-04-14 00:11:47 +00:00
rob1n eac89c8fdd Get add_query_arg() to urlencode all values of parse_str array. Props mdawaffe. fixes #4084
git-svn-id: https://develop.svn.wordpress.org/trunk@5261 602fd350-edb4-49c9-b593-d223f7449a82
2007-04-12 22:00:22 +00:00
Ryan Boren d8c8ecb711 Actually make use of wp_cache_add to avoid unnecessary cache writes. Props skeltoac. fixes #4138
git-svn-id: https://develop.svn.wordpress.org/trunk@5248 602fd350-edb4-49c9-b593-d223f7449a82
2007-04-12 02:27:12 +00:00
rob1n 5327a547db Rollback wonky part of [5193]. see #4084
git-svn-id: https://develop.svn.wordpress.org/trunk@5240 602fd350-edb4-49c9-b593-d223f7449a82
2007-04-11 03:41:42 +00:00
Ryan Boren e075553eba Tag clouds from mdawaffe. fixes #4129
git-svn-id: https://develop.svn.wordpress.org/trunk@5234 602fd350-edb4-49c9-b593-d223f7449a82
2007-04-10 19:52:15 +00:00
rob1n 2ea44df759 Move the stripslashes(), and change it to stripslashes_deep(). Props mdawaffe. fixes #4105
git-svn-id: https://develop.svn.wordpress.org/trunk@5200 602fd350-edb4-49c9-b593-d223f7449a82
2007-04-07 01:24:40 +00:00
rob1n 627cf79932 Re-encode query values after passed to add_query_arg(). Props mdawaffe. fixes #4084
git-svn-id: https://develop.svn.wordpress.org/trunk@5193 602fd350-edb4-49c9-b593-d223f7449a82
2007-04-06 04:21:21 +00:00
Ryan Boren 93cdc6deac Cache category hierarchy to make cat listing faster. Phase 1. see #3985
git-svn-id: https://develop.svn.wordpress.org/trunk@5178 602fd350-edb4-49c9-b593-d223f7449a82
2007-04-04 20:44:45 +00:00
Matt Mullenweg f600a397d1 Don't forget the tag_cache
git-svn-id: https://develop.svn.wordpress.org/trunk@5163 602fd350-edb4-49c9-b593-d223f7449a82
2007-04-01 08:44:10 +00:00
Matt Mullenweg a059392772 Now tag pretty permalinks should work, and support custom tag bases.
git-svn-id: https://develop.svn.wordpress.org/trunk@5150 602fd350-edb4-49c9-b593-d223f7449a82
2007-03-31 09:19:32 +00:00