Commit Graph

11126 Commits

Author SHA1 Message Date
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
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 06772635dd Allow for saving Press This entries with blank titles. props noel, christoph179. fixes #10715
git-svn-id: https://develop.svn.wordpress.org/trunk@12361 602fd350-edb4-49c9-b593-d223f7449a82
2009-12-10 09:08:31 +00:00
Mark Jaquith 2cc4860510 Change 'Remove' link on widgets to 'Delete' because it doesn't just remove it, it deletes the settings for that widget instance. props Denis-de-Bernardy. fixes #10379
git-svn-id: https://develop.svn.wordpress.org/trunk@12360 602fd350-edb4-49c9-b593-d223f7449a82
2009-12-10 08:51:36 +00:00
Mark Jaquith a14caf5287 Use esc_url_raw() on wp:comment_author_url in exports. fixes #9524
git-svn-id: https://develop.svn.wordpress.org/trunk@12359 602fd350-edb4-49c9-b593-d223f7449a82
2009-12-10 08:42:45 +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 e963df0fef Show "Done" feedback after setting post thumbnail image. see #11140 (partial fix)
git-svn-id: https://develop.svn.wordpress.org/trunk@12353 602fd350-edb4-49c9-b593-d223f7449a82
2009-12-10 07:34:32 +00:00
Mark Jaquith 507cf49e1b Do not show "Use as thumbnail" in standalone media browser, but DO show it when you upload a new image on a post. fixes #11366
git-svn-id: https://develop.svn.wordpress.org/trunk@12352 602fd350-edb4-49c9-b593-d223f7449a82
2009-12-10 07:04:01 +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
Peter Westwood 8d300bf5b7 s/size/s/ fixes #11370 props nacin.
git-svn-id: https://develop.svn.wordpress.org/trunk@12346 602fd350-edb4-49c9-b593-d223f7449a82
2009-12-09 09:44:53 +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 5d021234c2 More standardization around Post/Page Image instead of Post/Page Thumbnail
git-svn-id: https://develop.svn.wordpress.org/trunk@12343 602fd350-edb4-49c9-b593-d223f7449a82
2009-12-08 21:24:32 +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
Ryan Boren 90521c0880 Include admin-footer in options.php only for the default case. Avoids warning about hook_suffix not being set when POSTing to options.php. see #10131
git-svn-id: https://develop.svn.wordpress.org/trunk@12337 602fd350-edb4-49c9-b593-d223f7449a82
2009-12-08 01:11:02 +00:00
Ryan Boren bd86766a72 Use stripslashes_deep to strip meta values. Props JonathanRogers, Sewar. fixes #10656
git-svn-id: https://develop.svn.wordpress.org/trunk@12336 602fd350-edb4-49c9-b593-d223f7449a82
2009-12-08 00:48:39 +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
Mark Jaquith 1059fec62e Re-enable trash link appearance on autosave. fixes #11351
git-svn-id: https://develop.svn.wordpress.org/trunk@12330 602fd350-edb4-49c9-b593-d223f7449a82
2009-12-07 16:38:04 +00:00