Commit Graph

5577 Commits

Author SHA1 Message Date
Peter Westwood 4bad636a1a Round the corners of the Update nag message. Fixes #10431 props Simek.
git-svn-id: https://develop.svn.wordpress.org/trunk@12530 602fd350-edb4-49c9-b593-d223f7449a82
2009-12-24 08:08:13 +00:00
Ryan Boren 7f1473cc28 windows-1252 is canonical, not Windows-1252. Props Denis-de-Bernardy. fixes #11219
git-svn-id: https://develop.svn.wordpress.org/trunk@12528 602fd350-edb4-49c9-b593-d223f7449a82
2009-12-24 02:20:05 +00:00
Ryan Boren 9df952a2e5 Set the version of WP a function was deprecated in for all deprecated functions. Props nacin, docwhat. fixes #7493
git-svn-id: https://develop.svn.wordpress.org/trunk@12526 602fd350-edb4-49c9-b593-d223f7449a82
2009-12-23 18:54:17 +00:00
Ryan Boren 7cff2c4ae0 Refresh deprecated bookmark functions. Props filosofo. fixes #10920
git-svn-id: https://develop.svn.wordpress.org/trunk@12525 602fd350-edb4-49c9-b593-d223f7449a82
2009-12-23 18:49:22 +00:00
Ryan Boren 7ccd64fbe7 Retunr WP_Error from wp_crop_image() and image_resize(). Props mdwaffe. fixes #9922
git-svn-id: https://develop.svn.wordpress.org/trunk@12524 602fd350-edb4-49c9-b593-d223f7449a82
2009-12-23 18:39:31 +00:00
Ryan Boren 95ea3693b1 Check required php and mysql versions in the update response and notify if the server environment does not meet those requirements. fixes #11562
git-svn-id: https://develop.svn.wordpress.org/trunk@12523 602fd350-edb4-49c9-b593-d223f7449a82
2009-12-23 18:35:12 +00:00
Ryan Boren 57f367b6ec Upgrade SWFobject JS to 2.2. Props niallkennedy. fixes #11109
git-svn-id: https://develop.svn.wordpress.org/trunk@12522 602fd350-edb4-49c9-b593-d223f7449a82
2009-12-23 16:44:46 +00:00
Ryan Boren 291ca310b4 Update phpass to 0.2. Props hakre. fixes #10727
git-svn-id: https://develop.svn.wordpress.org/trunk@12521 602fd350-edb4-49c9-b593-d223f7449a82
2009-12-23 16:31:57 +00:00
Peter Westwood 71847c3df1 Check that get_page_hierarchy() returns something before trying to build the verbose page rules in WP_Rewrite::page_uri_index(). Fixes #11578.
git-svn-id: https://develop.svn.wordpress.org/trunk@12520 602fd350-edb4-49c9-b593-d223f7449a82
2009-12-23 16:23:40 +00:00
Ryan Boren 3c37b8fe3a Add more orderby and select options to get_comments. Props filosofo. fixes #10668
git-svn-id: https://develop.svn.wordpress.org/trunk@12518 602fd350-edb4-49c9-b593-d223f7449a82
2009-12-23 16:16:13 +00:00
Peter Westwood f47ebc68e4 Notice fix. Only return variable references by reference.
git-svn-id: https://develop.svn.wordpress.org/trunk@12517 602fd350-edb4-49c9-b593-d223f7449a82
2009-12-23 16:03:04 +00:00
Peter Westwood 1955a840a1 Make the meaning of is_home() more explicit.
git-svn-id: https://develop.svn.wordpress.org/trunk@12516 602fd350-edb4-49c9-b593-d223f7449a82
2009-12-23 15:44:57 +00:00
Ryan Boren dcd3604d90 Use array calling style. Props Denis-de-Bernardy. see #6647
git-svn-id: https://develop.svn.wordpress.org/trunk@12515 602fd350-edb4-49c9-b593-d223f7449a82
2009-12-23 15:31:02 +00:00
Peter Westwood 30e399b3e7 Extend the_modified_date() to support before/after/echo. Fixes #11255 props ShaneF.
git-svn-id: https://develop.svn.wordpress.org/trunk@12514 602fd350-edb4-49c9-b593-d223f7449a82
2009-12-23 15:22:08 +00:00
Ryan Boren 6de4fcc190 Remove unneeded quotes around vars. Props johnbillion. fixes #10245
git-svn-id: https://develop.svn.wordpress.org/trunk@12513 602fd350-edb4-49c9-b593-d223f7449a82
2009-12-23 15:16:53 +00:00
Ryan Boren 4aee2f753b Sanitize only string and numeric fields in the user object. Props filosofo hakre. fixes #11509 for trunk
git-svn-id: https://develop.svn.wordpress.org/trunk@12511 602fd350-edb4-49c9-b593-d223f7449a82
2009-12-23 15:02:06 +00:00
Ryan Boren af9fafc779 Cleanup clean_term_cache(). Props Denis-de-Bernardy. see #11530
git-svn-id: https://develop.svn.wordpress.org/trunk@12510 602fd350-edb4-49c9-b593-d223f7449a82
2009-12-23 14:37:21 +00:00
Ryan Boren 02ce80a284 Add hierarchical taxonomy handling to wp_set_post_terms(). Props prettyboymp. see #10122
git-svn-id: https://develop.svn.wordpress.org/trunk@12509 602fd350-edb4-49c9-b593-d223f7449a82
2009-12-23 14:25:09 +00:00
Ryan Boren 65658aacbf Do not use deprecated Etc timezones. Props miqrogroove. fixes #11558 for trunk
git-svn-id: https://develop.svn.wordpress.org/trunk@12507 602fd350-edb4-49c9-b593-d223f7449a82
2009-12-23 14:16:36 +00:00
Peter Westwood 1a98396118 Merging changes from upstream GlotPress revision [351]. Remove unused local variable.
git-svn-id: https://develop.svn.wordpress.org/trunk@12505 602fd350-edb4-49c9-b593-d223f7449a82
2009-12-23 11:20:18 +00:00
Peter Westwood 7d9a46e01c Only run a second spaces strip if we replaced some octets. Also only replace spaces and we have already removed the other whitespace chars. Fixes #11573 props azaozz.
git-svn-id: https://develop.svn.wordpress.org/trunk@12504 602fd350-edb4-49c9-b593-d223f7449a82
2009-12-23 11:00:29 +00:00
Peter Westwood e0f06bd939 Improve sanitize_text_field() some more so that we don't leave extra whitespace after stripping octets. Fixes #11573.
git-svn-id: https://develop.svn.wordpress.org/trunk@12503 602fd350-edb4-49c9-b593-d223f7449a82
2009-12-23 09:52:48 +00:00
Peter Westwood ca583c9b1a Improve the revision comparison user interface to hilight that we compare "old on left" to "new on right". Includes some js to hide the radio buttons to stop you selecting reverse comparisions.
Fixes #11088 props filosofo.

git-svn-id: https://develop.svn.wordpress.org/trunk@12500 602fd350-edb4-49c9-b593-d223f7449a82
2009-12-23 09:15:13 +00:00
Andrew Ozz a01ed1f445 Fix sanitize_text_field() issue with some UTF-8 characters, fixes #11528 for trunk
git-svn-id: https://develop.svn.wordpress.org/trunk@12499 602fd350-edb4-49c9-b593-d223f7449a82
2009-12-23 09:10:26 +00:00
Ryan Boren 18b4e9b8f8 Bump wp-admin css ver. see #11502
git-svn-id: https://develop.svn.wordpress.org/trunk@12496 602fd350-edb4-49c9-b593-d223f7449a82
2009-12-22 17:12:50 +00:00
Ryan Boren 4a27f6549f Update json lib. Use encodeUnsafe in our json wrapper. Props nacin. fixes #11537 for trunk
git-svn-id: https://develop.svn.wordpress.org/trunk@12491 602fd350-edb4-49c9-b593-d223f7449a82
2009-12-22 16:49:35 +00:00
Peter Westwood 55318cc19a Add is_comment_feed() to expose ->is_comment_feed. Fixes #10827 props scribu.
git-svn-id: https://develop.svn.wordpress.org/trunk@12487 602fd350-edb4-49c9-b593-d223f7449a82
2009-12-22 14:04:14 +00:00
Peter Westwood 94a68dfd80 Revert [12485] as it breaks the functionality of is_serialized() and make more strings appear serialized. See #9930.
git-svn-id: https://develop.svn.wordpress.org/trunk@12486 602fd350-edb4-49c9-b593-d223f7449a82
2009-12-22 13:42:58 +00:00
Peter Westwood 49ebdbb271 Much improved is_serialized() which catches serialized doubles. Fixes #9930 props vladimir_kolesnikov and dd32.
git-svn-id: https://develop.svn.wordpress.org/trunk@12485 602fd350-edb4-49c9-b593-d223f7449a82
2009-12-22 13:10:06 +00:00
Peter Westwood 6979dbdc02 Pass the url to the 'wp_feed_cache_transient_lifetime' filter to give more context.
Allow plugins to set extra options on SimplePie using the new 'wp_feed_options' action.
Fixes #11117 props nacin.

git-svn-id: https://develop.svn.wordpress.org/trunk@12484 602fd350-edb4-49c9-b593-d223f7449a82
2009-12-22 12:48:40 +00:00
Peter Westwood f1241d5e6c Use new $required_mysql_version global in wp-db.php when checking if the mysql version is new enough. Fixes #11478 props nacin.
git-svn-id: https://develop.svn.wordpress.org/trunk@12480 602fd350-edb4-49c9-b593-d223f7449a82
2009-12-22 11:49:22 +00:00
Peter Westwood 4e0adefa76 Ensure we don't destory the $wp_roles->role_objects property when assigning a second role to a WP_User object. Fixes #9128 props dd32.
git-svn-id: https://develop.svn.wordpress.org/trunk@12479 602fd350-edb4-49c9-b593-d223f7449a82
2009-12-22 11:42:46 +00:00
Ryan Boren 7d45163e3e Make sure we have a SimplePie object before calling destruct. Props scribu. see #11518
git-svn-id: https://develop.svn.wordpress.org/trunk@12475 602fd350-edb4-49c9-b593-d223f7449a82
2009-12-21 23:36:12 +00:00
Ryan Boren f0c5fb4f15 Don't use CURLOPT_CONNECTTIMEOUT_MS or CURLOPT_TIMEOUT_MS due to bugginess. fixes #11505 see #11499
git-svn-id: https://develop.svn.wordpress.org/trunk@12472 602fd350-edb4-49c9-b593-d223f7449a82
2009-12-21 19:34:38 +00:00
Peter Westwood 949645fa78 Check that there is a comment_agent to filter and otherwise filter an empty string. Fixes a notice during import from old WXR files. See #11484.
git-svn-id: https://develop.svn.wordpress.org/trunk@12470 602fd350-edb4-49c9-b593-d223f7449a82
2009-12-21 15:35:00 +00:00
Peter Westwood 0a6df71be5 Add stricter checks to wp_insert_user() to ensure we don't create a user with an empty user_login but return a WP_Error instead. Fixes #11548.
git-svn-id: https://develop.svn.wordpress.org/trunk@12468 602fd350-edb4-49c9-b593-d223f7449a82
2009-12-21 15:25:00 +00:00
Ryan Boren 8b7f26b62c Improve do_action performance. Make an associative array. Props koopersmith. fixes #10561
git-svn-id: https://develop.svn.wordpress.org/trunk@12464 602fd350-edb4-49c9-b593-d223f7449a82
2009-12-21 08:47:34 +00:00
Andrew Ozz 0487cf7225 Round back the buttons, see #11502
git-svn-id: https://develop.svn.wordpress.org/trunk@12463 602fd350-edb4-49c9-b593-d223f7449a82
2009-12-20 05:32:52 +00:00
Peter Westwood cbb63c4f78 Fix wp_clear_scheduled_hook() so that it function prototype matches the other cron functions.
Include backwards compatibility code so that plugins that used the old way still work.
Fixes #10468.

git-svn-id: https://develop.svn.wordpress.org/trunk@12462 602fd350-edb4-49c9-b593-d223f7449a82
2009-12-19 11:47:16 +00:00
Peter Westwood 3081afd1e1 Improve like_escape to also escape '\'. Fixes #10041 props miau_jp and Denis-de-Bernardy.
git-svn-id: https://develop.svn.wordpress.org/trunk@12460 602fd350-edb4-49c9-b593-d223f7449a82
2009-12-19 11:07:16 +00:00
Peter Westwood f0a6bb378b Deprecate _nc() as _nx() is a much better was of specifying contexts. Fixes #11404 props nacin.
git-svn-id: https://develop.svn.wordpress.org/trunk@12459 602fd350-edb4-49c9-b593-d223f7449a82
2009-12-19 10:51:29 +00:00
Peter Westwood fd5aa64836 Fix notice in get_boundary_post_rel_link when there is no post to link. Fixes #11490 props ShaneF.
git-svn-id: https://develop.svn.wordpress.org/trunk@12457 602fd350-edb4-49c9-b593-d223f7449a82
2009-12-19 09:21:00 +00:00
Ryan Boren e2917654c5 3.0-alpha
git-svn-id: https://develop.svn.wordpress.org/trunk@12456 602fd350-edb4-49c9-b593-d223f7449a82
2009-12-19 00:14:46 +00:00
Andrew Ozz b5d35e68ec Fix checkbox and radio styles in IE7/8 and Opera
git-svn-id: https://develop.svn.wordpress.org/trunk@12448 602fd350-edb4-49c9-b593-d223f7449a82
2009-12-18 13:05:10 +00:00
Ryan Boren d117c4918b Make sure dir() returned a dir object.
git-svn-id: https://develop.svn.wordpress.org/trunk@12434 602fd350-edb4-49c9-b593-d223f7449a82
2009-12-17 19:56:05 +00:00
Ryan Boren 0df26215b0 Add required php and mysql versions to version.php. Future proof required version check strings. Props nacin. see #11464
git-svn-id: https://develop.svn.wordpress.org/trunk@12432 602fd350-edb4-49c9-b593-d223f7449a82
2009-12-17 18:46:19 +00:00
Ryan Boren 047c6a7429 Delete all comment meta when deleting a comment. Props nacin. fixes #11463
git-svn-id: https://develop.svn.wordpress.org/trunk@12430 602fd350-edb4-49c9-b593-d223f7449a82
2009-12-17 17:54:23 +00:00
Ryan Boren 3820e511a6 Delete all comment meta when deleting a comment. Props nacin. fixes #11463
git-svn-id: https://develop.svn.wordpress.org/trunk@12428 602fd350-edb4-49c9-b593-d223f7449a82
2009-12-17 17:10:40 +00:00
Ryan Boren 5322564b92 Properly handle float timeouts for all transports. Props mdawaffe. fixes #11468
git-svn-id: https://develop.svn.wordpress.org/trunk@12424 602fd350-edb4-49c9-b593-d223f7449a82
2009-12-17 16:13:58 +00:00
Peter Westwood 0d2d7cc5a9 Fix phpDoc for Comment Meta functions to refer to comments not posts. See #11462 props sirzooro.
git-svn-id: https://develop.svn.wordpress.org/trunk@12420 602fd350-edb4-49c9-b593-d223f7449a82
2009-12-16 22:13:53 +00:00
Ryan Boren edaf5adcf6 RC1
git-svn-id: https://develop.svn.wordpress.org/trunk@12416 602fd350-edb4-49c9-b593-d223f7449a82
2009-12-16 17:50:18 +00:00
Ryan Boren 83fb251dc3 Delete instead of trash when bulk deleting media. Props nacin. fixes #11455
git-svn-id: https://develop.svn.wordpress.org/trunk@12415 602fd350-edb4-49c9-b593-d223f7449a82
2009-12-16 17:14:21 +00:00
Ryan Boren 3b656ce72e Make the excerpt_more filter include the space. Props demetris. fixes #11456
git-svn-id: https://develop.svn.wordpress.org/trunk@12414 602fd350-edb4-49c9-b593-d223f7449a82
2009-12-16 16:38:58 +00:00
Andrew Ozz 65551e22c3 Check post and comment status before emptying trash, fixes #11442
git-svn-id: https://develop.svn.wordpress.org/trunk@12412 602fd350-edb4-49c9-b593-d223f7449a82
2009-12-16 01:35:29 +00:00
Ryan Boren 60bbd214b3 Remove oEmbed discovery option. Add hook so plugins can enable it. see #10337
git-svn-id: https://develop.svn.wordpress.org/trunk@12411 602fd350-edb4-49c9-b593-d223f7449a82
2009-12-15 21:16:00 +00:00
Ryan Boren 13b96eb0cb Bump MySQL requirement to 4.1.2 per previous discussions and announcements.
git-svn-id: https://develop.svn.wordpress.org/trunk@12410 602fd350-edb4-49c9-b593-d223f7449a82
2009-12-15 21:04:50 +00:00
Ryan Boren 8e0d091c55 Remove no longer needed DB has_cap() checks. Props filosofo. fixes #11443
git-svn-id: https://develop.svn.wordpress.org/trunk@12409 602fd350-edb4-49c9-b593-d223f7449a82
2009-12-15 21:01:57 +00:00
Ryan Boren 60a2805b0d Don't fall back to logged in cookie if in the admin.
git-svn-id: https://develop.svn.wordpress.org/trunk@12408 602fd350-edb4-49c9-b593-d223f7449a82
2009-12-15 19:57:20 +00:00
Ryan Boren 922d26b596 Fix upload dir defaults. Props Denis-de-Bernardy. fixes #11276
git-svn-id: https://develop.svn.wordpress.org/trunk@12405 602fd350-edb4-49c9-b593-d223f7449a82
2009-12-15 17:53:51 +00:00
Ryan Boren f2f48162ec Bump the MySQL requirement to 4.1.0. Props Denis-de-Bernardy. see #11437
git-svn-id: https://develop.svn.wordpress.org/trunk@12404 602fd350-edb4-49c9-b593-d223f7449a82
2009-12-15 16:04:32 +00:00
Ryan Boren 1e123f43a7 Use ON DUPLICATE KEY UPDATE when inserting options to avoid duplicate entry errors. fixes #11437
git-svn-id: https://develop.svn.wordpress.org/trunk@12403 602fd350-edb4-49c9-b593-d223f7449a82
2009-12-15 16:00:23 +00:00
Andrew Ozz 86c09f699b Add 'trash' in comment moderation emails, props nacin, fixes #11426
git-svn-id: https://develop.svn.wordpress.org/trunk@12402 602fd350-edb4-49c9-b593-d223f7449a82
2009-12-15 10:55:55 +00:00
Andrew Ozz ef4dad6b8d Fix typos, props aldenta, fixes #11440
git-svn-id: https://develop.svn.wordpress.org/trunk@12400 602fd350-edb4-49c9-b593-d223f7449a82
2009-12-15 04:55:47 +00:00
Peter Westwood 65e4e2b2a3 Fix some more html encoding in email subject issues. Fixes #9913.
git-svn-id: https://develop.svn.wordpress.org/trunk@12398 602fd350-edb4-49c9-b593-d223f7449a82
2009-12-14 22:09:54 +00:00
Ryan Boren 1ea0e34786 Pass taxonomy to created, edited, create, and edit actions. Props Denis-de-Bernardy. fixes #11429
git-svn-id: https://develop.svn.wordpress.org/trunk@12397 602fd350-edb4-49c9-b593-d223f7449a82
2009-12-14 16:46:05 +00:00
Andrew Ozz 5dd7bb86d3 Add another arg to 'get_comment_time' filter, props miqrogroove, fixes #11421
git-svn-id: https://develop.svn.wordpress.org/trunk@12396 602fd350-edb4-49c9-b593-d223f7449a82
2009-12-14 10:21:58 +00:00
Andrew Ozz 3447fc5210 Urlencode the search query in get_search_feed_link() and get_search_comments_feed_link(), props tenpura, fixes #11153
git-svn-id: https://develop.svn.wordpress.org/trunk@12395 602fd350-edb4-49c9-b593-d223f7449a82
2009-12-14 10:09:55 +00:00
Andrew Ozz 7c0015e43e Move is_admin() to wp-settings.php so it's available when query.php is not included.
git-svn-id: https://develop.svn.wordpress.org/trunk@12393 602fd350-edb4-49c9-b593-d223f7449a82
2009-12-14 00:38:05 +00:00
Peter Westwood 1611f432c3 Ensure that RTL langs don't get a horizontal scrollbar in IE7. Fixes #10748 props yoavf.
git-svn-id: https://develop.svn.wordpress.org/trunk@12392 602fd350-edb4-49c9-b593-d223f7449a82
2009-12-13 17:56:22 +00:00
Peter Westwood 81edd5a728 Restore the check for trueness on $user_id so we don't run the queries or create the objects. Fixes #11419 props Denis-de-Bernardy.
git-svn-id: https://develop.svn.wordpress.org/trunk@12391 602fd350-edb4-49c9-b593-d223f7449a82
2009-12-13 17:32:14 +00:00
Peter Westwood 952cfa477f Check that $user_id is set. For non-logged in users it is not set so we get a notice.
git-svn-id: https://develop.svn.wordpress.org/trunk@12389 602fd350-edb4-49c9-b593-d223f7449a82
2009-12-13 11:43:19 +00:00
Peter Westwood 010138e0df Don't html encode quotes in the blogname in email subjects as this is a plain text output. Fixes #9913 props tenpura.
git-svn-id: https://develop.svn.wordpress.org/trunk@12388 602fd350-edb4-49c9-b593-d223f7449a82
2009-12-13 11:38:45 +00:00
Peter Westwood 5fd68c506f Bump the version number on the wp-admin.css files for [12377]. See #11149 props nacin.
git-svn-id: https://develop.svn.wordpress.org/trunk@12386 602fd350-edb4-49c9-b593-d223f7449a82
2009-12-12 22:28:48 +00:00
Andrew Ozz 5ba628b1a9 Remove animation for admin notices, fixes #11267
git-svn-id: https://develop.svn.wordpress.org/trunk@12385 602fd350-edb4-49c9-b593-d223f7449a82
2009-12-12 19:53:06 +00:00
Andrew Ozz 4e8a2950a5 Fix dashboard Right Now columns width in IE6/7, fixes 11293
git-svn-id: https://develop.svn.wordpress.org/trunk@12382 602fd350-edb4-49c9-b593-d223f7449a82
2009-12-12 08:49:45 +00:00
Andrew Ozz 35ded05d09 Typecast to int the return of image_resize_dimensions(), fixes #7748
git-svn-id: https://develop.svn.wordpress.org/trunk@12381 602fd350-edb4-49c9-b593-d223f7449a82
2009-12-12 08:06:24 +00:00
Andrew Ozz a01165cf53 Make animation faster for admin notices, props nacin, fixes #11267
git-svn-id: https://develop.svn.wordpress.org/trunk@12380 602fd350-edb4-49c9-b593-d223f7449a82
2009-12-12 07:34:04 +00:00
Mark Jaquith ee79c9e7d0 Optimize Whoa Cowboy query. Only look back one hour. props mdawaffe. fixes #4366
git-svn-id: https://develop.svn.wordpress.org/trunk@12376 602fd350-edb4-49c9-b593-d223f7449a82
2009-12-11 23:29:19 +00:00
Ryan Boren 95f2058f8b Return false from is_paged() if on the first page. Props Denis-de-Bernardy. fixes #11389
git-svn-id: https://develop.svn.wordpress.org/trunk@12372 602fd350-edb4-49c9-b593-d223f7449a82
2009-12-11 16:38:59 +00:00
Mark Jaquith 545994d1f7 Reverting [12331]. see #10057
git-svn-id: https://develop.svn.wordpress.org/trunk@12368 602fd350-edb4-49c9-b593-d223f7449a82
2009-12-10 23:02:47 +00:00
Ryan Boren a8751f57f8 Remove unused variable. Props hakre. fixes #10765
git-svn-id: https://develop.svn.wordpress.org/trunk@12367 602fd350-edb4-49c9-b593-d223f7449a82
2009-12-10 22:55:06 +00:00
Andrew Ozz 917d2e345f Fix slashes in the Text widget, props Denis-de-Bernardy, fixes #10563
git-svn-id: https://develop.svn.wordpress.org/trunk@12364 602fd350-edb4-49c9-b593-d223f7449a82
2009-12-10 09:54:15 +00:00
Andrew Ozz 139414023c Image editor icons, props Ben Dunkle, fixes #10979
git-svn-id: https://develop.svn.wordpress.org/trunk@12363 602fd350-edb4-49c9-b593-d223f7449a82
2009-12-10 09:22:01 +00:00
Mark Jaquith c357915942 Strip HTML from comments_popup_link title attribute. props ewestp, xenlab. fixes #10997
git-svn-id: https://develop.svn.wordpress.org/trunk@12362 602fd350-edb4-49c9-b593-d223f7449a82
2009-12-10 09:13:11 +00:00
Mark Jaquith ef69d82092 Use http_response_code for wp_redirect(), so that fastcgi hosts always get 301 redirect love. props error. fixes #6779
git-svn-id: https://develop.svn.wordpress.org/trunk@12358 602fd350-edb4-49c9-b593-d223f7449a82
2009-12-10 08:33:17 +00:00
Mark Jaquith d08d287832 Fix some wrapping/cropping issues for verbose languages. props Nao. fixes #11293
git-svn-id: https://develop.svn.wordpress.org/trunk@12357 602fd350-edb4-49c9-b593-d223f7449a82
2009-12-10 08:20:32 +00:00
Mark Jaquith 7caab9d8e3 Do not double-stripslashes() on get_search_query(). fixes #11374
git-svn-id: https://develop.svn.wordpress.org/trunk@12356 602fd350-edb4-49c9-b593-d223f7449a82
2009-12-10 08:07:19 +00:00
Mark Jaquith db7d45ebe2 Provide visual feedback for "Use as thumbnail" when clicked immediately after uploading the image. fixes #11140
git-svn-id: https://develop.svn.wordpress.org/trunk@12355 602fd350-edb4-49c9-b593-d223f7449a82
2009-12-10 08:03:26 +00:00
Mark Jaquith 400915e28a Forgot to check this in with [12353]. see #11140
git-svn-id: https://develop.svn.wordpress.org/trunk@12354 602fd350-edb4-49c9-b593-d223f7449a82
2009-12-10 07:37:41 +00:00
Mark Jaquith ab97039f96 Post/Page Image was too generic a name. Post/Page Thumbnail is more clear, even if you can create very large thumbnail images if you so choose.
git-svn-id: https://develop.svn.wordpress.org/trunk@12351 602fd350-edb4-49c9-b593-d223f7449a82
2009-12-10 06:14:36 +00:00
Ryan Boren 3d6a741305 Allow registering post image support per post type. fixes #11364
git-svn-id: https://develop.svn.wordpress.org/trunk@12350 602fd350-edb4-49c9-b593-d223f7449a82
2009-12-09 15:39:20 +00:00
Andrew Ozz 30d99c2c6e Do not auto-scroll the media popup when opening an image details section if it can fit in the viewport, props caesarsgrunt, fixes #11269
git-svn-id: https://develop.svn.wordpress.org/trunk@12349 602fd350-edb4-49c9-b593-d223f7449a82
2009-12-09 12:24:45 +00:00
Peter Westwood daa0430927 Remove passing of spurious argument to wpdb->db_version().
git-svn-id: https://develop.svn.wordpress.org/trunk@12348 602fd350-edb4-49c9-b593-d223f7449a82
2009-12-09 12:00:55 +00:00
Andrew Ozz f27073a3d8 Save menu sections' opened/closed state separately, fixes #10366
git-svn-id: https://develop.svn.wordpress.org/trunk@12347 602fd350-edb4-49c9-b593-d223f7449a82
2009-12-09 11:27:47 +00:00
Mark Jaquith aeb4be8d81 Revision 12345. Nothing but whitespace fixes. That's how I roll.
git-svn-id: https://develop.svn.wordpress.org/trunk@12345 602fd350-edb4-49c9-b593-d223f7449a82
2009-12-08 21:29:12 +00:00
Mark Jaquith ce73d32830 Yet more standardization around Post/Page Image instead of Post/Page Thumbnail
git-svn-id: https://develop.svn.wordpress.org/trunk@12344 602fd350-edb4-49c9-b593-d223f7449a82
2009-12-08 21:27:53 +00:00
Mark Jaquith 54410e03f6 Introducing set_post_image_size(w, h, crop) so themes can register their special size/crop for canonical post images. WP will create this size/crop upon upload, so your canonical post images fit your space exactly!
git-svn-id: https://develop.svn.wordpress.org/trunk@12342 602fd350-edb4-49c9-b593-d223f7449a82
2009-12-08 21:08:19 +00:00
Matt Mullenweg 2101888ec0 Cast out the lowercase P demons that snuck in. http://www.google.com/search?q=out+out+you+demons+of+stupidity
git-svn-id: https://develop.svn.wordpress.org/trunk@12341 602fd350-edb4-49c9-b593-d223f7449a82
2009-12-08 19:59:34 +00:00
Peter Westwood 073884cb99 Urlencode the redirect url for the logout links as well as login in links. Fixes #10991 props Utkarsh.
git-svn-id: https://develop.svn.wordpress.org/trunk@12340 602fd350-edb4-49c9-b593-d223f7449a82
2009-12-08 16:38:59 +00:00
Mark Jaquith 51e25872a6 Standardize around "post image" instead of "post thumbnail"
git-svn-id: https://develop.svn.wordpress.org/trunk@12339 602fd350-edb4-49c9-b593-d223f7449a82
2009-12-08 16:34:04 +00:00
Peter Westwood 009fe3e343 Make the gallery shortcode float the right way for RTL languages. Fixes #7134 props ikonst.
git-svn-id: https://develop.svn.wordpress.org/trunk@12338 602fd350-edb4-49c9-b593-d223f7449a82
2009-12-08 12:45:32 +00:00
Mark Jaquith 0cc6b29c9b Spam links are just as destructive as trash (more so, actually, since they deprecate the comment). Now they are also colored red, like trash. props caesarsgrunt. fixes #11304
git-svn-id: https://develop.svn.wordpress.org/trunk@12335 602fd350-edb4-49c9-b593-d223f7449a82
2009-12-07 23:45:02 +00:00
Mark Jaquith b63538c44a Fix the case of the curiously expanding wp-admin menu. props westi. fixes #10366
git-svn-id: https://develop.svn.wordpress.org/trunk@12334 602fd350-edb4-49c9-b593-d223f7449a82
2009-12-07 23:29:25 +00:00
Mark Jaquith 5301d79a97 Do not display comments on non-public posts in comments widget. props Denis-de-Bernardy. fixes #9211
git-svn-id: https://develop.svn.wordpress.org/trunk@12333 602fd350-edb4-49c9-b593-d223f7449a82
2009-12-07 18:09:11 +00:00
Peter Westwood 4701dd33f6 Check the correct global in get_page and also ensure that the cap check for deleting pages copes for the default page we edit when adding new. Fixes #11203.
git-svn-id: https://develop.svn.wordpress.org/trunk@12332 602fd350-edb4-49c9-b593-d223f7449a82
2009-12-07 18:01:02 +00:00
Mark Jaquith 8b72be4ed2 Yes, I did mean original... props coffee2code. fixes #10057
git-svn-id: https://develop.svn.wordpress.org/trunk@12331 602fd350-edb4-49c9-b593-d223f7449a82
2009-12-07 17:57:48 +00:00
Ryan Boren ca305e593f Drop autoload index from schema. Tweak key layout to satisdy dbDelta. Props nacin. fixes #11322 #2699
git-svn-id: https://develop.svn.wordpress.org/trunk@12329 602fd350-edb4-49c9-b593-d223f7449a82
2009-12-07 13:57:18 +00:00
Mark Jaquith dd1d1be280 Get rid of stray comma. fixes #10977. props kevinB
git-svn-id: https://develop.svn.wordpress.org/trunk@12327 602fd350-edb4-49c9-b593-d223f7449a82
2009-12-06 18:01:01 +00:00
Ryan Boren 5831826b77 Cleanup oembed caching. Props Viper007Bond. see #10337
git-svn-id: https://develop.svn.wordpress.org/trunk@12326 602fd350-edb4-49c9-b593-d223f7449a82
2009-12-06 17:40:36 +00:00
Ryan Boren 0685f827bf Use oEmbed for dailymotion. Props Viper007Bond. see #10337
git-svn-id: https://develop.svn.wordpress.org/trunk@12325 602fd350-edb4-49c9-b593-d223f7449a82
2009-12-06 17:33:53 +00:00
Peter Westwood ddea52b0e9 Allow plugins to filter the UserAgent used for PingBack requests. Fixes #11317 props mtdewvirus.
git-svn-id: https://develop.svn.wordpress.org/trunk@12321 602fd350-edb4-49c9-b593-d223f7449a82
2009-12-06 14:28:35 +00:00
Ryan Boren 5f78d6f2a8 phpdoc for post thumbnail template functions. Props ramiy. fixes #11310
git-svn-id: https://develop.svn.wordpress.org/trunk@12320 602fd350-edb4-49c9-b593-d223f7449a82
2009-12-03 15:59:27 +00:00
Ryan Boren 00c2f972e9 get_the_term_list() phpdoc updates. Props filosofo. fixes #11116
git-svn-id: https://develop.svn.wordpress.org/trunk@12319 602fd350-edb4-49c9-b593-d223f7449a82
2009-12-03 15:52:11 +00:00
Andrew Ozz c2b584a91b Validate date/time fields for posts and comments, fixes #10309
git-svn-id: https://develop.svn.wordpress.org/trunk@12318 602fd350-edb4-49c9-b593-d223f7449a82
2009-12-03 09:56:20 +00:00
Andrew Ozz 07f2fd2e4b Fix errors when bulk actions executed on empty list, props nacin, see #11184
git-svn-id: https://develop.svn.wordpress.org/trunk@12317 602fd350-edb4-49c9-b593-d223f7449a82
2009-12-03 01:43:49 +00:00
Ryan Boren 65e6d5fb10 Fix is_tax(). Props scribu. fixes #10721
git-svn-id: https://develop.svn.wordpress.org/trunk@12316 602fd350-edb4-49c9-b593-d223f7449a82
2009-12-02 18:00:32 +00:00
Ryan Boren d8822ccb65 Beta 2 bump
git-svn-id: https://develop.svn.wordpress.org/trunk@12314 602fd350-edb4-49c9-b593-d223f7449a82
2009-12-01 23:57:13 +00:00
Andrew Ozz 01a2ce507b Fix canceling when deleting newly added categories and link categories, fixes #11296
git-svn-id: https://develop.svn.wordpress.org/trunk@12313 602fd350-edb4-49c9-b593-d223f7449a82
2009-12-01 23:51:04 +00:00
Ryan Boren 0042fa7b7c Fix file validation in theme editor. Props dd32. fixes #11032
git-svn-id: https://develop.svn.wordpress.org/trunk@12310 602fd350-edb4-49c9-b593-d223f7449a82
2009-12-01 22:03:13 +00:00
Ryan Boren b2faac7a2b Fix wp_nonce_ays() for log-out case. Fix IE6 padding. Props miqrogroove. fixes #11289
git-svn-id: https://develop.svn.wordpress.org/trunk@12309 602fd350-edb4-49c9-b593-d223f7449a82
2009-12-01 21:21:31 +00:00
Ryan Boren a17b3af236 Use correct var name. Props miqrogroove. fixes #10821
git-svn-id: https://develop.svn.wordpress.org/trunk@12307 602fd350-edb4-49c9-b593-d223f7449a82
2009-12-01 19:41:41 +00:00
Ryan Boren af737032df Do recently updated test only if show_updated. Avoids slow query.
git-svn-id: https://develop.svn.wordpress.org/trunk@12306 602fd350-edb4-49c9-b593-d223f7449a82
2009-12-01 19:35:21 +00:00
Ryan Boren 3f21c3ea5c Delete custom taxonomy relationships when deleting a post or attachment. Props dd32. fixes #10821
git-svn-id: https://develop.svn.wordpress.org/trunk@12305 602fd350-edb4-49c9-b593-d223f7449a82
2009-12-01 18:01:24 +00:00
Andrew Ozz a308e5f1da Remove oEmbed references and auto-insert of shortcodes from the UI, fixes #11288
git-svn-id: https://develop.svn.wordpress.org/trunk@12304 602fd350-edb4-49c9-b593-d223f7449a82
2009-12-01 09:22:48 +00:00
Andrew Ozz 55ea0988cd Don't show deleted Pages in wp.getPages results, props ryan, props Denis-de-Bernardy,fixes #11243
git-svn-id: https://develop.svn.wordpress.org/trunk@12303 602fd350-edb4-49c9-b593-d223f7449a82
2009-12-01 08:14:42 +00:00
Andrew Ozz 3ee2175000 Separate the removal of <p> wrapping from shortcodes into another function and apply it with different filter, props miqrogroove, props mdawaffe, see #11257, see #11249
git-svn-id: https://develop.svn.wordpress.org/trunk@12302 602fd350-edb4-49c9-b593-d223f7449a82
2009-12-01 07:46:36 +00:00
Ryan Boren 42e6256e10 Accept either user_id or user_ID. Remove user_id global. see #11271 #11222
git-svn-id: https://develop.svn.wordpress.org/trunk@12300 602fd350-edb4-49c9-b593-d223f7449a82
2009-12-01 02:06:02 +00:00
Ryan Boren 7026dd4d72 Delete custom taxonomy relationships when deleting a post. Props miqrogroove. fixes #10821
git-svn-id: https://develop.svn.wordpress.org/trunk@12299 602fd350-edb4-49c9-b593-d223f7449a82
2009-11-30 22:17:28 +00:00
Ryan Boren 6115dc47b2 Save parent temp ID for unattached attachments in postmeta. Props scribu. fixes #9471
git-svn-id: https://develop.svn.wordpress.org/trunk@12298 602fd350-edb4-49c9-b593-d223f7449a82
2009-11-30 21:41:52 +00:00
Andrew Ozz a03d21af84 Fix Right Now comments counts for trash, spam or undo.
git-svn-id: https://develop.svn.wordpress.org/trunk@12293 602fd350-edb4-49c9-b593-d223f7449a82
2009-11-30 00:49:33 +00:00
Ryan Boren 2a1dcbf551 comment status transition was broken due to sneaky reference return in &get_comment. Props skeltoac
git-svn-id: https://develop.svn.wordpress.org/trunk@12292 602fd350-edb4-49c9-b593-d223f7449a82
2009-11-29 20:05:39 +00:00
Andrew Ozz a0ea0aa4ed Tweak colors for trash, spam and undo of comments, fix IE6/7 background for unapproved comments, fix JS error in IE6/7, props caesarsgrunt, see #4529
git-svn-id: https://develop.svn.wordpress.org/trunk@12291 602fd350-edb4-49c9-b593-d223f7449a82
2009-11-29 10:29:12 +00:00
Andrew Ozz 365fea47fc "Trash" fixes, props caesarsgrunt, see #4529
git-svn-id: https://develop.svn.wordpress.org/trunk@12290 602fd350-edb4-49c9-b593-d223f7449a82
2009-11-28 03:56:20 +00:00
Andrew Ozz ed11892e7f Flash through red when sending an item to the trash, flash through green when undoing it, props caesarsgrunt, see #4529
git-svn-id: https://develop.svn.wordpress.org/trunk@12289 602fd350-edb4-49c9-b593-d223f7449a82
2009-11-28 02:56:15 +00:00
Peter Westwood bc19c30486 Restore functionality of setup_userdata() when a user id is supplied. See #11271 and #11222.
git-svn-id: https://develop.svn.wordpress.org/trunk@12288 602fd350-edb4-49c9-b593-d223f7449a82
2009-11-27 18:17:44 +00:00
Andrew Ozz a675276ce5 Undo for setting a comment as spam, props caesarsgrunt, fixes #11260, see #4529
git-svn-id: https://develop.svn.wordpress.org/trunk@12286 602fd350-edb4-49c9-b593-d223f7449a82
2009-11-27 10:34:09 +00:00
Andrew Ozz 387ac8c9b5 Fix notices and phpdoc, props hakre, fixes #10758
git-svn-id: https://develop.svn.wordpress.org/trunk@12284 602fd350-edb4-49c9-b593-d223f7449a82
2009-11-26 11:29:54 +00:00
Andrew Ozz 53872d2218 Avoid a rare case of black line in cropped thumbnails, props miqrogroove, fixes #7748
git-svn-id: https://develop.svn.wordpress.org/trunk@12280 602fd350-edb4-49c9-b593-d223f7449a82
2009-11-26 06:58:21 +00:00
Andrew Ozz b3b788503e Get the right number of pages then excluding a tree, fixes #11205
git-svn-id: https://develop.svn.wordpress.org/trunk@12279 602fd350-edb4-49c9-b593-d223f7449a82
2009-11-26 05:22:09 +00:00
Andrew Ozz f066b7dc39 Stop the fade-out of the Undo notices on Edit Comments screen, props caesarsgrunt, fixes #11259, see #4529
git-svn-id: https://develop.svn.wordpress.org/trunk@12278 602fd350-edb4-49c9-b593-d223f7449a82
2009-11-26 04:37:39 +00:00
Andrew Ozz 70435662a6 l10n for thickbox.js, props nbachiyski, fixes #10278
git-svn-id: https://develop.svn.wordpress.org/trunk@12276 602fd350-edb4-49c9-b593-d223f7449a82
2009-11-25 11:08:39 +00:00
Andrew Ozz 8a77135845 Autop: add fieldset to blocks, remove support for empty <p> for now, fix block in block problems when switching the editor from visual to html and back, fixes #8644
git-svn-id: https://develop.svn.wordpress.org/trunk@12275 602fd350-edb4-49c9-b593-d223f7449a82
2009-11-25 09:50:20 +00:00
Andrew Ozz be0c042c08 Set uploaded files extensions to lower case, fixes #11218
git-svn-id: https://develop.svn.wordpress.org/trunk@12274 602fd350-edb4-49c9-b593-d223f7449a82
2009-11-25 05:04:30 +00:00
Ryan Boren 09dfc3b883 Don't require titles for attachments. Props caesarsgrunt. fixes #11052
git-svn-id: https://develop.svn.wordpress.org/trunk@12273 602fd350-edb4-49c9-b593-d223f7449a82
2009-11-24 16:52:32 +00:00
Ryan Boren dff67e2fa2 Fix attachment rewrite endpoints. Props Curioso. fixes #5553
git-svn-id: https://develop.svn.wordpress.org/trunk@12271 602fd350-edb4-49c9-b593-d223f7449a82
2009-11-24 16:08:13 +00:00
Ryan Boren 27db8a8161 Standardize on user_id instead of user_ID when passing comment data. fixes #11222
git-svn-id: https://develop.svn.wordpress.org/trunk@12267 602fd350-edb4-49c9-b593-d223f7449a82
2009-11-23 21:04:11 +00:00
Ryan Boren ef3f414213 Check if defined to avoid having to suppress. Props Mittineague, Denis-de-Bernardy. fixes #10525
git-svn-id: https://develop.svn.wordpress.org/trunk@12265 602fd350-edb4-49c9-b593-d223f7449a82
2009-11-23 18:47:22 +00:00
Ryan Boren bef6051a09 Improve IIS rewrite support. Props ruslany, peaceablewhale. fixes #10386
git-svn-id: https://develop.svn.wordpress.org/trunk@12264 602fd350-edb4-49c9-b593-d223f7449a82
2009-11-23 18:17:46 +00:00
Ryan Boren 98be65649d Reduce memory usage for XML-RPC requests. Props Demitrious Kelly. fixes #10698
git-svn-id: https://develop.svn.wordpress.org/trunk@12263 602fd350-edb4-49c9-b593-d223f7449a82
2009-11-23 16:53:36 +00:00
Peter Westwood 7a0fb0316f Pass the old term_taxonomy ids to the action in set_object_terms so plugins know what was before. Fixes #10962 props simonwheatley.
git-svn-id: https://develop.svn.wordpress.org/trunk@12261 602fd350-edb4-49c9-b593-d223f7449a82
2009-11-22 22:33:45 +00:00