Commit Graph

11112 Commits

Author SHA1 Message Date
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
Peter Westwood b7b7429478 Use maybe_unserialized on all post_meta values on import to ensure we don't end up with double serialized data in the database. Fixes #10619 props znarfor.
git-svn-id: https://develop.svn.wordpress.org/trunk@12495 602fd350-edb4-49c9-b593-d223f7449a82
2009-12-22 17:05:49 +00:00
Ryan Boren 6e6e9f77b0 Add escaping to _wp_comment_row(). Props Denis-de-Bernardy. fixes #11492 for trunk
git-svn-id: https://develop.svn.wordpress.org/trunk@12493 602fd350-edb4-49c9-b593-d223f7449a82
2009-12-22 17:00:54 +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
Ryan Boren 9ff30116e7 Increase download_url() timeout to 5 minutes. fixes #11551 for trunk
git-svn-id: https://develop.svn.wordpress.org/trunk@12489 602fd350-edb4-49c9-b593-d223f7449a82
2009-12-22 16:42:30 +00:00
Peter Westwood ed186637da Add some hooks to wp-app.php to allow a plugin to extend the data returned. Fixes #8826 props znarfor.
git-svn-id: https://develop.svn.wordpress.org/trunk@12488 602fd350-edb4-49c9-b593-d223f7449a82
2009-12-22 15:57:33 +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 c7d6c83b94 Updated phpDoc for wp-admin/includes/post.php . Fixes #11198 based on a patch from Simek.
git-svn-id: https://develop.svn.wordpress.org/trunk@12483 602fd350-edb4-49c9-b593-d223f7449a82
2009-12-22 12:25:15 +00:00
Peter Westwood 154ecfda7b Fix spelling mistake in tooltip for image rotation button. Fixes #11488 for trunk props computerwiz908.
git-svn-id: https://develop.svn.wordpress.org/trunk@12481 602fd350-edb4-49c9-b593-d223f7449a82
2009-12-22 12:02:51 +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 58c5f25c03 Don't display plugin compatibility info if the new WordPress version is the same as the current one. For example for RC/Beta upgrades. Props westi. fixes #11525 for trunk
git-svn-id: https://develop.svn.wordpress.org/trunk@12477 602fd350-edb4-49c9-b593-d223f7449a82
2009-12-21 23:54:52 +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 af1919accd Fix some notices in the importer when importing files from old WordPress versions or not fetching attachments. See #11484.
Ensure that we check that a user is created for the username we specify and otherwise fallback to the current user
See #10319.

git-svn-id: https://develop.svn.wordpress.org/trunk@12469 602fd350-edb4-49c9-b593-d223f7449a82
2009-12-21 15:26:57 +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 0db9760bd4 Remove unused var. Props miqrogroove. fixes #11371
git-svn-id: https://develop.svn.wordpress.org/trunk@12467 602fd350-edb4-49c9-b593-d223f7449a82
2009-12-21 09:11:28 +00:00
Ryan Boren d2128b8fb9 Fix typos. Props gautam2011. fixes #11529 for trunk
git-svn-id: https://develop.svn.wordpress.org/trunk@12465 602fd350-edb4-49c9-b593-d223f7449a82
2009-12-21 08:58:58 +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 309b373f85 Ensure that bulk comment actions do not remove spaces from search terms.
Also refactors comment bulk action redirect url building to be consistent with other operations.
Fixes #11471 props nacin.

git-svn-id: https://develop.svn.wordpress.org/trunk@12461 602fd350-edb4-49c9-b593-d223f7449a82
2009-12-19 11:30:54 +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 4d78827fb8 Update the version number in readme.html
git-svn-id: https://develop.svn.wordpress.org/trunk@12458 602fd350-edb4-49c9-b593-d223f7449a82
2009-12-19 09:23:03 +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
Ryan Boren 81d878ae27 Remove stray paren. Props demetris. fixes #11485
git-svn-id: https://develop.svn.wordpress.org/trunk@12452 602fd350-edb4-49c9-b593-d223f7449a82
2009-12-18 18:19:43 +00:00
Ryan Boren 715fa5d163 Hard code required version in update-core.php. see #11464
git-svn-id: https://develop.svn.wordpress.org/trunk@12450 602fd350-edb4-49c9-b593-d223f7449a82
2009-12-18 16:53:44 +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
Andrew Ozz 8219ad5b49 Fix the scale image check in image editor, fixes #11473 for trunk
git-svn-id: https://develop.svn.wordpress.org/trunk@12446 602fd350-edb4-49c9-b593-d223f7449a82
2009-12-18 09:52:32 +00:00
Andrew Ozz de918a6161 Fix typo in edit-tags.php (proper patch), props nacin, fixes #11350 for trunk
git-svn-id: https://develop.svn.wordpress.org/trunk@12444 602fd350-edb4-49c9-b593-d223f7449a82
2009-12-18 06:30:16 +00:00
Andrew Ozz 6084374677 Fix typo in edit-tags.php, props nacin, fixes #11350 for trunk
git-svn-id: https://develop.svn.wordpress.org/trunk@12442 602fd350-edb4-49c9-b593-d223f7449a82
2009-12-18 06:22:44 +00:00
Ryan Boren 11865461fc Escape percent sign. Props sirzooro. fixes #11476
git-svn-id: https://develop.svn.wordpress.org/trunk@12440 602fd350-edb4-49c9-b593-d223f7449a82
2009-12-17 22:00:51 +00:00
Andrew Ozz 7900028ff8 Fix the 'current_user_can' check for 'add-comment'.
git-svn-id: https://develop.svn.wordpress.org/trunk@12438 602fd350-edb4-49c9-b593-d223f7449a82
2009-12-17 21:02:38 +00:00
Ryan Boren c3e7918ed8 Give feedback when Upgrade Plugins is clicked but no plugins are selected. see #10973
git-svn-id: https://develop.svn.wordpress.org/trunk@12436 602fd350-edb4-49c9-b593-d223f7449a82
2009-12-17 20:18:12 +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 dbad0d7271 Fix typo. see #11464
git-svn-id: https://develop.svn.wordpress.org/trunk@12426 602fd350-edb4-49c9-b593-d223f7449a82
2009-12-17 16:22:54 +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
Ryan Boren 899da05e4c Check MySQL and PHP versions when auto upgrading. Props westi, Denis-de-Bernardy, nacin, caesarsgrunt. see #11464
git-svn-id: https://develop.svn.wordpress.org/trunk@12422 602fd350-edb4-49c9-b593-d223f7449a82
2009-12-17 16:04:47 +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
Peter Westwood aa3d3a73aa Update the readme to include new mysql minimum version.
git-svn-id: https://develop.svn.wordpress.org/trunk@12418 602fd350-edb4-49c9-b593-d223f7449a82
2009-12-16 18:03:49 +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