Commit Graph

5644 Commits

Author SHA1 Message Date
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 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 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
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
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
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
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 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 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
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 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 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 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
Ryan Boren 065c684cea Consult the tested field when checking plugin compatibility. Props Denis-de-Bernardy. fixes #11450
git-svn-id: https://develop.svn.wordpress.org/trunk@12413 602fd350-edb4-49c9-b593-d223f7449a82
2009-12-16 03:08:17 +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 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 f14b014d58 Show plugin compatibility for available upgrade versions of WP. see #10973
git-svn-id: https://develop.svn.wordpress.org/trunk@12407 602fd350-edb4-49c9-b593-d223f7449a82
2009-12-15 19:09:55 +00:00
Ryan Boren f57f8f3a6f Remove target from view post/page links. Props scribu. fixes #11406
git-svn-id: https://develop.svn.wordpress.org/trunk@12406 602fd350-edb4-49c9-b593-d223f7449a82
2009-12-15 18:36:57 +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
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 14e4e32252 Fix action on dashboard spam link, merge deletecomment with trashcomment, untrashcomment, spamcomment, and unspamcomment, props caesarsgrunt, fixes #11432
git-svn-id: https://develop.svn.wordpress.org/trunk@12401 602fd350-edb4-49c9-b593-d223f7449a82
2009-12-15 09:45:29 +00:00
Andrew Ozz c74cd320fa Properly update pagination links when moderating comments for a particular post or page.
git-svn-id: https://develop.svn.wordpress.org/trunk@12399 602fd350-edb4-49c9-b593-d223f7449a82
2009-12-15 04:33:16 +00:00
Andrew Ozz 90b83e8f8a Discard replies to comments on a trashed post, props nacin, fixes #11401
git-svn-id: https://develop.svn.wordpress.org/trunk@12394 602fd350-edb4-49c9-b593-d223f7449a82
2009-12-14 03:03:58 +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 fafe6e5f01 Fix notice on edit posts page when logged in as a user without the 'edit_others_posts' capability.
git-svn-id: https://develop.svn.wordpress.org/trunk@12390 602fd350-edb4-49c9-b593-d223f7449a82
2009-12-13 13:01:30 +00:00
Peter Westwood f6806ba64c Fix the IP Address validation code in the FTP class. Fixes #11393 props nacin.
git-svn-id: https://develop.svn.wordpress.org/trunk@12387 602fd350-edb4-49c9-b593-d223f7449a82
2009-12-13 00:02:01 +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 c2fa5860cc Do not stop plugin activation due to E_DEPRECATED errors in php 5.3, props Denis-de-Bernardy, fixes #11250
git-svn-id: https://develop.svn.wordpress.org/trunk@12383 602fd350-edb4-49c9-b593-d223f7449a82
2009-12-12 09:20:07 +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 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
Andrew Ozz dbf3e72d46 Fix image editor toolbar in IE6/7, fixes #11400
git-svn-id: https://develop.svn.wordpress.org/trunk@12379 602fd350-edb4-49c9-b593-d223f7449a82
2009-12-12 07:24:53 +00:00
Andrew Ozz e54acbc473 Display "Dimensions" only for image attachments, fixes #11403
git-svn-id: https://develop.svn.wordpress.org/trunk@12378 602fd350-edb4-49c9-b593-d223f7449a82
2009-12-12 07:02:26 +00:00
Andrew Ozz 770fd776d7 Disable trash for attachments for now pending improvements in 3.0, fixes #11149
git-svn-id: https://develop.svn.wordpress.org/trunk@12377 602fd350-edb4-49c9-b593-d223f7449a82
2009-12-12 06:40:16 +00:00
Ryan Boren 16b48edadf Don't fallback to the options database when retrieving *_per_page user options. Props nacin. fixes #11385
git-svn-id: https://develop.svn.wordpress.org/trunk@12375 602fd350-edb4-49c9-b593-d223f7449a82
2009-12-11 23:14:43 +00:00
Ryan Boren 6cbf650667 Show Upgrade Notice for plugins. see #10973
git-svn-id: https://develop.svn.wordpress.org/trunk@12374 602fd350-edb4-49c9-b593-d223f7449a82
2009-12-11 17:18:29 +00:00
Ryan Boren b0c20621cd Call wp_cache_delete after issuing update actions. Props Denis-de-Bernardy. fixes #11397
git-svn-id: https://develop.svn.wordpress.org/trunk@12373 602fd350-edb4-49c9-b593-d223f7449a82
2009-12-11 16:44:41 +00:00
Andrew Ozz 68f8e4d036 Press This empty title fix, props noel, see #11390, fixes #10715
git-svn-id: https://develop.svn.wordpress.org/trunk@12371 602fd350-edb4-49c9-b593-d223f7449a82
2009-12-11 00:14:18 +00:00
Mark Jaquith 40345fea17 Reverting [12361] due to logic issue. see #10715
git-svn-id: https://develop.svn.wordpress.org/trunk@12370 602fd350-edb4-49c9-b593-d223f7449a82
2009-12-10 23:11:54 +00:00
Ryan Boren 8da73e044d Pass correct number of args to ftp_chdir(). Props Denis-de-Bernardy. see #10889
git-svn-id: https://develop.svn.wordpress.org/trunk@12369 602fd350-edb4-49c9-b593-d223f7449a82
2009-12-10 23:03:25 +00:00