Commit Graph

11059 Commits

Author SHA1 Message Date
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 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
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 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 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
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
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 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
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 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 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 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
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 83dbfe6dc1 Do not show PHP 5.3 deprecated errors when WP_DEBUG is set, props mrmist nacin, fixes #10533
git-svn-id: https://develop.svn.wordpress.org/trunk@12384 602fd350-edb4-49c9-b593-d223f7449a82
2009-12-12 09:29:20 +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 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
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
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 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
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
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
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
Peter Westwood e56fb80aa5 Revert [11212], [12252], [12255] and [12258]. Stick with Hello World for now and we will look at other solutions. See #110808.
git-svn-id: https://develop.svn.wordpress.org/trunk@12366 602fd350-edb4-49c9-b593-d223f7449a82
2009-12-10 22:45:10 +00:00
Ryan Boren cf9d70f50a Drop temp upgrade code. fixes #11266
git-svn-id: https://develop.svn.wordpress.org/trunk@12365 602fd350-edb4-49c9-b593-d223f7449a82
2009-12-10 20:29:55 +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