Commit Graph

1567 Commits

Author SHA1 Message Date
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
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 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 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
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 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 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 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
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 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 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 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
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
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 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 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
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 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
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
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 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
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 d8e1e13b43 Reverting [12324] and [12322] after some discussion.
git-svn-id: https://develop.svn.wordpress.org/trunk@12328 602fd350-edb4-49c9-b593-d223f7449a82
2009-12-07 04:31:44 +00:00
Mark Jaquith b54aedfe6f Make codex link open in a new window
git-svn-id: https://develop.svn.wordpress.org/trunk@12324 602fd350-edb4-49c9-b593-d223f7449a82
2009-12-06 17:30:56 +00:00
Peter Westwood 3d0fd44d6b Revert the string change to the Discussion meta box as this is a generic box for multiple post types. Fixes #11346.
git-svn-id: https://develop.svn.wordpress.org/trunk@12323 602fd350-edb4-49c9-b593-d223f7449a82
2009-12-06 17:05:49 +00:00
Mark Jaquith 236b329a88 Display Post/Page Thumbnail meta box even if theme does not support it -- just display an info message. props janeforshort
git-svn-id: https://develop.svn.wordpress.org/trunk@12322 602fd350-edb4-49c9-b593-d223f7449a82
2009-12-06 17:02:51 +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 64c329968f Swap Spam and Trash in comment action links, fixes #11258
git-svn-id: https://develop.svn.wordpress.org/trunk@12311 602fd350-edb4-49c9-b593-d223f7449a82
2009-12-01 22:05:03 +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 d6003d7fa6 Standardize on 'Undo'. Props caesarsgrunt. fixes #11299
git-svn-id: https://develop.svn.wordpress.org/trunk@12308 602fd350-edb4-49c9-b593-d223f7449a82
2009-12-01 20:00:33 +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
Ryan Boren 6115dc47b2 Save parent temp ID for unattached attachments in postmeta. Props scribu. fixes #9471
git-svn-id: https://develop.svn.wordpress.org/trunk@12298 602fd350-edb4-49c9-b593-d223f7449a82
2009-11-30 21:41:52 +00:00
Andrew Ozz a772d3fe2c Hide Cancel link in the browser uploader on Media Library screen.
git-svn-id: https://develop.svn.wordpress.org/trunk@12297 602fd350-edb4-49c9-b593-d223f7449a82
2009-11-30 20:58:12 +00:00
Ryan Boren 68985dce07 escape hrefs. Props Denis-de-Bernardy. fixes #10056
git-svn-id: https://develop.svn.wordpress.org/trunk@12295 602fd350-edb4-49c9-b593-d223f7449a82
2009-11-30 16:55:50 +00:00
Andrew Ozz ed11892e7f Flash through red when sending an item to the trash, flash through green when undoing it, props caesarsgrunt, see #4529
git-svn-id: https://develop.svn.wordpress.org/trunk@12289 602fd350-edb4-49c9-b593-d223f7449a82
2009-11-28 02:56:15 +00:00