Commit Graph

5402 Commits

Author SHA1 Message Date
azaozz e07bea12f8 Typecast to int the return of image_resize_dimensions(), fixes #7748
git-svn-id: http://svn.automattic.com/wordpress/trunk@12381 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-12-12 08:06:24 +00:00
azaozz 4cee15f1be Make animation faster for admin notices, props nacin, fixes #11267
git-svn-id: http://svn.automattic.com/wordpress/trunk@12380 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-12-12 07:34:04 +00:00
markjaquith a8686bb67c Optimize Whoa Cowboy query. Only look back one hour. props mdawaffe. fixes #4366
git-svn-id: http://svn.automattic.com/wordpress/trunk@12376 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-12-11 23:29:19 +00:00
ryan 6622b4fa8e Return false from is_paged() if on the first page. Props Denis-de-Bernardy. fixes #11389
git-svn-id: http://svn.automattic.com/wordpress/trunk@12372 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-12-11 16:38:59 +00:00
markjaquith fba269f7f4 Reverting [12331]. see #10057
git-svn-id: http://svn.automattic.com/wordpress/trunk@12368 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-12-10 23:02:47 +00:00
ryan fee3cd75a3 Remove unused variable. Props hakre. fixes #10765
git-svn-id: http://svn.automattic.com/wordpress/trunk@12367 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-12-10 22:55:06 +00:00
azaozz 2a42d27a22 Fix slashes in the Text widget, props Denis-de-Bernardy, fixes #10563
git-svn-id: http://svn.automattic.com/wordpress/trunk@12364 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-12-10 09:54:15 +00:00
azaozz 168d6af9ac Image editor icons, props Ben Dunkle, fixes #10979
git-svn-id: http://svn.automattic.com/wordpress/trunk@12363 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-12-10 09:22:01 +00:00
markjaquith 182ec07a44 Strip HTML from comments_popup_link title attribute. props ewestp, xenlab. fixes #10997
git-svn-id: http://svn.automattic.com/wordpress/trunk@12362 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-12-10 09:13:11 +00:00
markjaquith 305f103c4f Use http_response_code for wp_redirect(), so that fastcgi hosts always get 301 redirect love. props error. fixes #6779
git-svn-id: http://svn.automattic.com/wordpress/trunk@12358 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-12-10 08:33:17 +00:00
markjaquith c8df74e369 Fix some wrapping/cropping issues for verbose languages. props Nao. fixes #11293
git-svn-id: http://svn.automattic.com/wordpress/trunk@12357 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-12-10 08:20:32 +00:00
markjaquith d58c6a5dda Do not double-stripslashes() on get_search_query(). fixes #11374
git-svn-id: http://svn.automattic.com/wordpress/trunk@12356 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-12-10 08:07:19 +00:00
markjaquith 805bdb9365 Provide visual feedback for "Use as thumbnail" when clicked immediately after uploading the image. fixes #11140
git-svn-id: http://svn.automattic.com/wordpress/trunk@12355 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-12-10 08:03:26 +00:00
markjaquith 817376b35f Forgot to check this in with [12353]. see #11140
git-svn-id: http://svn.automattic.com/wordpress/trunk@12354 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-12-10 07:37:41 +00:00
markjaquith bf264bb66d 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: http://svn.automattic.com/wordpress/trunk@12351 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-12-10 06:14:36 +00:00
ryan 1c90385918 Allow registering post image support per post type. fixes #11364
git-svn-id: http://svn.automattic.com/wordpress/trunk@12350 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-12-09 15:39:20 +00:00
azaozz cf60d7c87a 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: http://svn.automattic.com/wordpress/trunk@12349 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-12-09 12:24:45 +00:00
westi ab2d609404 Remove passing of spurious argument to wpdb->db_version().
git-svn-id: http://svn.automattic.com/wordpress/trunk@12348 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-12-09 12:00:55 +00:00
azaozz b52703b322 Save menu sections' opened/closed state separately, fixes #10366
git-svn-id: http://svn.automattic.com/wordpress/trunk@12347 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-12-09 11:27:47 +00:00
markjaquith f2df3f3751 Revision 12345. Nothing but whitespace fixes. That's how I roll.
git-svn-id: http://svn.automattic.com/wordpress/trunk@12345 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-12-08 21:29:12 +00:00
markjaquith df73d335a9 Yet more standardization around Post/Page Image instead of Post/Page Thumbnail
git-svn-id: http://svn.automattic.com/wordpress/trunk@12344 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-12-08 21:27:53 +00:00
markjaquith dc8492b9f5 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: http://svn.automattic.com/wordpress/trunk@12342 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-12-08 21:08:19 +00:00
matt cff2ea75c7 Cast out the lowercase P demons that snuck in. http://www.google.com/search?q=out+out+you+demons+of+stupidity
git-svn-id: http://svn.automattic.com/wordpress/trunk@12341 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-12-08 19:59:34 +00:00
westi 5fae5d7d61 Urlencode the redirect url for the logout links as well as login in links. Fixes #10991 props Utkarsh.
git-svn-id: http://svn.automattic.com/wordpress/trunk@12340 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-12-08 16:38:59 +00:00
markjaquith 0415ab7b42 Standardize around "post image" instead of "post thumbnail"
git-svn-id: http://svn.automattic.com/wordpress/trunk@12339 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-12-08 16:34:04 +00:00
westi 2bfe9c548b Make the gallery shortcode float the right way for RTL languages. Fixes #7134 props ikonst.
git-svn-id: http://svn.automattic.com/wordpress/trunk@12338 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-12-08 12:45:32 +00:00
markjaquith 6c8f698427 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: http://svn.automattic.com/wordpress/trunk@12335 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-12-07 23:45:02 +00:00
markjaquith d71edf5122 Fix the case of the curiously expanding wp-admin menu. props westi. fixes #10366
git-svn-id: http://svn.automattic.com/wordpress/trunk@12334 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-12-07 23:29:25 +00:00
markjaquith 706def0206 Do not display comments on non-public posts in comments widget. props Denis-de-Bernardy. fixes #9211
git-svn-id: http://svn.automattic.com/wordpress/trunk@12333 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-12-07 18:09:11 +00:00
westi 8c791aaf60 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: http://svn.automattic.com/wordpress/trunk@12332 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-12-07 18:01:02 +00:00
markjaquith 6584c363d9 Yes, I did mean original... props coffee2code. fixes #10057
git-svn-id: http://svn.automattic.com/wordpress/trunk@12331 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-12-07 17:57:48 +00:00
ryan d3e30f2ff6 Drop autoload index from schema. Tweak key layout to satisdy dbDelta. Props nacin. fixes #11322 #2699
git-svn-id: http://svn.automattic.com/wordpress/trunk@12329 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-12-07 13:57:18 +00:00
markjaquith ef1593e6da Get rid of stray comma. fixes #10977. props kevinB
git-svn-id: http://svn.automattic.com/wordpress/trunk@12327 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-12-06 18:01:01 +00:00
ryan ba3275b123 Cleanup oembed caching. Props Viper007Bond. see #10337
git-svn-id: http://svn.automattic.com/wordpress/trunk@12326 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-12-06 17:40:36 +00:00
ryan 0b106b0808 Use oEmbed for dailymotion. Props Viper007Bond. see #10337
git-svn-id: http://svn.automattic.com/wordpress/trunk@12325 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-12-06 17:33:53 +00:00
westi 92a8421c69 Allow plugins to filter the UserAgent used for PingBack requests. Fixes #11317 props mtdewvirus.
git-svn-id: http://svn.automattic.com/wordpress/trunk@12321 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-12-06 14:28:35 +00:00
ryan 9957a119b3 phpdoc for post thumbnail template functions. Props ramiy. fixes #11310
git-svn-id: http://svn.automattic.com/wordpress/trunk@12320 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-12-03 15:59:27 +00:00
ryan 7a6685e8d8 get_the_term_list() phpdoc updates. Props filosofo. fixes #11116
git-svn-id: http://svn.automattic.com/wordpress/trunk@12319 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-12-03 15:52:11 +00:00
azaozz dd81243d16 Validate date/time fields for posts and comments, fixes #10309
git-svn-id: http://svn.automattic.com/wordpress/trunk@12318 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-12-03 09:56:20 +00:00
azaozz ae20d06e94 Fix errors when bulk actions executed on empty list, props nacin, see #11184
git-svn-id: http://svn.automattic.com/wordpress/trunk@12317 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-12-03 01:43:49 +00:00
ryan 60c6ba72c1 Fix is_tax(). Props scribu. fixes #10721
git-svn-id: http://svn.automattic.com/wordpress/trunk@12316 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-12-02 18:00:32 +00:00
ryan c5054ba38b Beta 2 bump
git-svn-id: http://svn.automattic.com/wordpress/trunk@12314 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-12-01 23:57:13 +00:00
azaozz 3610dd61a4 Fix canceling when deleting newly added categories and link categories, fixes #11296
git-svn-id: http://svn.automattic.com/wordpress/trunk@12313 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-12-01 23:51:04 +00:00
ryan 8b5ba8c556 Fix file validation in theme editor. Props dd32. fixes #11032
git-svn-id: http://svn.automattic.com/wordpress/trunk@12310 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-12-01 22:03:13 +00:00
ryan 888310cbbc Fix wp_nonce_ays() for log-out case. Fix IE6 padding. Props miqrogroove. fixes #11289
git-svn-id: http://svn.automattic.com/wordpress/trunk@12309 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-12-01 21:21:31 +00:00
ryan 729757afc2 Use correct var name. Props miqrogroove. fixes #10821
git-svn-id: http://svn.automattic.com/wordpress/trunk@12307 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-12-01 19:41:41 +00:00
ryan 2d10b58caf Do recently updated test only if show_updated. Avoids slow query.
git-svn-id: http://svn.automattic.com/wordpress/trunk@12306 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-12-01 19:35:21 +00:00
ryan 711994ba4b Delete custom taxonomy relationships when deleting a post or attachment. Props dd32. fixes #10821
git-svn-id: http://svn.automattic.com/wordpress/trunk@12305 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-12-01 18:01:24 +00:00
azaozz fded0ca661 Remove oEmbed references and auto-insert of shortcodes from the UI, fixes #11288
git-svn-id: http://svn.automattic.com/wordpress/trunk@12304 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-12-01 09:22:48 +00:00
azaozz 37bcca4492 Don't show deleted Pages in wp.getPages results, props ryan, props Denis-de-Bernardy,fixes #11243
git-svn-id: http://svn.automattic.com/wordpress/trunk@12303 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-12-01 08:14:42 +00:00