Commit Graph

5400 Commits

Author SHA1 Message Date
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 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
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
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 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 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
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 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
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
Ryan Boren ca305e593f Drop autoload index from schema. Tweak key layout to satisdy dbDelta. Props nacin. fixes #11322 #2699
git-svn-id: https://develop.svn.wordpress.org/trunk@12329 602fd350-edb4-49c9-b593-d223f7449a82
2009-12-07 13:57:18 +00:00
Mark Jaquith dd1d1be280 Get rid of stray comma. fixes #10977. props kevinB
git-svn-id: https://develop.svn.wordpress.org/trunk@12327 602fd350-edb4-49c9-b593-d223f7449a82
2009-12-06 18:01:01 +00:00
Ryan Boren 5831826b77 Cleanup oembed caching. Props Viper007Bond. see #10337
git-svn-id: https://develop.svn.wordpress.org/trunk@12326 602fd350-edb4-49c9-b593-d223f7449a82
2009-12-06 17:40:36 +00:00
Ryan Boren 0685f827bf Use oEmbed for dailymotion. Props Viper007Bond. see #10337
git-svn-id: https://develop.svn.wordpress.org/trunk@12325 602fd350-edb4-49c9-b593-d223f7449a82
2009-12-06 17:33:53 +00:00
Peter Westwood ddea52b0e9 Allow plugins to filter the UserAgent used for PingBack requests. Fixes #11317 props mtdewvirus.
git-svn-id: https://develop.svn.wordpress.org/trunk@12321 602fd350-edb4-49c9-b593-d223f7449a82
2009-12-06 14:28:35 +00:00
Ryan Boren 5f78d6f2a8 phpdoc for post thumbnail template functions. Props ramiy. fixes #11310
git-svn-id: https://develop.svn.wordpress.org/trunk@12320 602fd350-edb4-49c9-b593-d223f7449a82
2009-12-03 15:59:27 +00:00
Ryan Boren 00c2f972e9 get_the_term_list() phpdoc updates. Props filosofo. fixes #11116
git-svn-id: https://develop.svn.wordpress.org/trunk@12319 602fd350-edb4-49c9-b593-d223f7449a82
2009-12-03 15:52:11 +00:00
Andrew Ozz c2b584a91b Validate date/time fields for posts and comments, fixes #10309
git-svn-id: https://develop.svn.wordpress.org/trunk@12318 602fd350-edb4-49c9-b593-d223f7449a82
2009-12-03 09:56:20 +00:00
Andrew Ozz 07f2fd2e4b Fix errors when bulk actions executed on empty list, props nacin, see #11184
git-svn-id: https://develop.svn.wordpress.org/trunk@12317 602fd350-edb4-49c9-b593-d223f7449a82
2009-12-03 01:43:49 +00:00
Ryan Boren 65e6d5fb10 Fix is_tax(). Props scribu. fixes #10721
git-svn-id: https://develop.svn.wordpress.org/trunk@12316 602fd350-edb4-49c9-b593-d223f7449a82
2009-12-02 18:00:32 +00:00
Ryan Boren d8822ccb65 Beta 2 bump
git-svn-id: https://develop.svn.wordpress.org/trunk@12314 602fd350-edb4-49c9-b593-d223f7449a82
2009-12-01 23:57:13 +00:00
Andrew Ozz 01a2ce507b Fix canceling when deleting newly added categories and link categories, fixes #11296
git-svn-id: https://develop.svn.wordpress.org/trunk@12313 602fd350-edb4-49c9-b593-d223f7449a82
2009-12-01 23:51:04 +00:00
Ryan Boren 0042fa7b7c Fix file validation in theme editor. Props dd32. fixes #11032
git-svn-id: https://develop.svn.wordpress.org/trunk@12310 602fd350-edb4-49c9-b593-d223f7449a82
2009-12-01 22:03:13 +00:00
Ryan Boren b2faac7a2b Fix wp_nonce_ays() for log-out case. Fix IE6 padding. Props miqrogroove. fixes #11289
git-svn-id: https://develop.svn.wordpress.org/trunk@12309 602fd350-edb4-49c9-b593-d223f7449a82
2009-12-01 21:21:31 +00:00
Ryan Boren a17b3af236 Use correct var name. Props miqrogroove. fixes #10821
git-svn-id: https://develop.svn.wordpress.org/trunk@12307 602fd350-edb4-49c9-b593-d223f7449a82
2009-12-01 19:41:41 +00:00
Ryan Boren af737032df Do recently updated test only if show_updated. Avoids slow query.
git-svn-id: https://develop.svn.wordpress.org/trunk@12306 602fd350-edb4-49c9-b593-d223f7449a82
2009-12-01 19:35:21 +00:00
Ryan Boren 3f21c3ea5c Delete custom taxonomy relationships when deleting a post or attachment. Props dd32. fixes #10821
git-svn-id: https://develop.svn.wordpress.org/trunk@12305 602fd350-edb4-49c9-b593-d223f7449a82
2009-12-01 18:01:24 +00:00
Andrew Ozz a308e5f1da Remove oEmbed references and auto-insert of shortcodes from the UI, fixes #11288
git-svn-id: https://develop.svn.wordpress.org/trunk@12304 602fd350-edb4-49c9-b593-d223f7449a82
2009-12-01 09:22:48 +00:00
Andrew Ozz 55ea0988cd Don't show deleted Pages in wp.getPages results, props ryan, props Denis-de-Bernardy,fixes #11243
git-svn-id: https://develop.svn.wordpress.org/trunk@12303 602fd350-edb4-49c9-b593-d223f7449a82
2009-12-01 08:14:42 +00:00
Andrew Ozz 3ee2175000 Separate the removal of <p> wrapping from shortcodes into another function and apply it with different filter, props miqrogroove, props mdawaffe, see #11257, see #11249
git-svn-id: https://develop.svn.wordpress.org/trunk@12302 602fd350-edb4-49c9-b593-d223f7449a82
2009-12-01 07:46:36 +00:00
Ryan Boren 42e6256e10 Accept either user_id or user_ID. Remove user_id global. see #11271 #11222
git-svn-id: https://develop.svn.wordpress.org/trunk@12300 602fd350-edb4-49c9-b593-d223f7449a82
2009-12-01 02:06:02 +00:00