Commit Graph

1762 Commits

Author SHA1 Message Date
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
Andrew Ozz c491ed5c61 Reorder comment actions, fixes #11258
git-svn-id: https://develop.svn.wordpress.org/trunk@12287 602fd350-edb4-49c9-b593-d223f7449a82
2009-11-27 12:57:35 +00:00
Andrew Ozz a675276ce5 Undo for setting a comment as spam, props caesarsgrunt, fixes #11260, see #4529
git-svn-id: https://develop.svn.wordpress.org/trunk@12286 602fd350-edb4-49c9-b593-d223f7449a82
2009-11-27 10:34:09 +00:00
Andrew Ozz c53d14090e Fix notice in bulk edit posts, props dd32, fixes #11184
git-svn-id: https://develop.svn.wordpress.org/trunk@12285 602fd350-edb4-49c9-b593-d223f7449a82
2009-11-26 11:41:37 +00:00
Andrew Ozz 387ac8c9b5 Fix notices and phpdoc, props hakre, fixes #10758
git-svn-id: https://develop.svn.wordpress.org/trunk@12284 602fd350-edb4-49c9-b593-d223f7449a82
2009-11-26 11:29:54 +00:00
Andrew Ozz 1d918ec7f7 Fix typo, props nacin, fixes #8557
git-svn-id: https://develop.svn.wordpress.org/trunk@12283 602fd350-edb4-49c9-b593-d223f7449a82
2009-11-26 08:13:31 +00:00
Andrew Ozz 437db709fc Swap the Flip horizontally and Flip vertically buttons in the image editor so they are more understandable, props scribu, fixes #11171
git-svn-id: https://develop.svn.wordpress.org/trunk@12281 602fd350-edb4-49c9-b593-d223f7449a82
2009-11-26 07:49:44 +00:00
Ryan Boren d6c576bc1f Apply editable_slug filter in more places. Props dwright. fixes #10966
git-svn-id: https://develop.svn.wordpress.org/trunk@12277 602fd350-edb4-49c9-b593-d223f7449a82
2009-11-25 15:11:57 +00:00
Ryan Boren e7b40483e9 Check action type to avoid warnings. Props sirzooro. fixes #11203
git-svn-id: https://develop.svn.wordpress.org/trunk@12272 602fd350-edb4-49c9-b593-d223f7449a82
2009-11-24 16:46:23 +00:00
Ryan Boren 3821d10f89 Fix wpfs root dir location. Props dd32. fixes #11152
git-svn-id: https://develop.svn.wordpress.org/trunk@12268 602fd350-edb4-49c9-b593-d223f7449a82
2009-11-23 21:52:13 +00:00
Ryan Boren bef6051a09 Improve IIS rewrite support. Props ruslany, peaceablewhale. fixes #10386
git-svn-id: https://develop.svn.wordpress.org/trunk@12264 602fd350-edb4-49c9-b593-d223f7449a82
2009-11-23 18:17:46 +00:00
Peter Westwood 36c1e9d580 Use _x() not _c(). See #6362 fixes #11228 props filosofo.
git-svn-id: https://develop.svn.wordpress.org/trunk@12259 602fd350-edb4-49c9-b593-d223f7449a82
2009-11-22 22:22:25 +00:00
Peter Westwood ae06595dba Make sure the translated urls are attribute safe using esc_attr(). See #11008.
git-svn-id: https://develop.svn.wordpress.org/trunk@12258 602fd350-edb4-49c9-b593-d223f7449a82
2009-11-22 12:11:18 +00:00
Peter Westwood b1d71a4fcb Use _x() not _c() as we want to use the gettext contexts.
git-svn-id: https://develop.svn.wordpress.org/trunk@12256 602fd350-edb4-49c9-b593-d223f7449a82
2009-11-22 11:50:16 +00:00
Peter Westwood 1968cc57d6 Update the test case for #11008 - original pre paragraphed text was relying on autop to insert <br /> for the line breaks so make it explicit in the expected result.
git-svn-id: https://develop.svn.wordpress.org/trunk@12255 602fd350-edb4-49c9-b593-d223f7449a82
2009-11-22 10:34:37 +00:00
Peter Westwood 0503ad218c Don't show page templates in the drop down if they are in a subdirectory. Fixes #10959 props scribu.
git-svn-id: https://develop.svn.wordpress.org/trunk@12253 602fd350-edb4-49c9-b593-d223f7449a82
2009-11-21 10:05:19 +00:00
Peter Westwood a45e9950ac Let autop handle the first post. See #11008.
git-svn-id: https://develop.svn.wordpress.org/trunk@12252 602fd350-edb4-49c9-b593-d223f7449a82
2009-11-21 09:43:45 +00:00
Ryan Boren 4fd7b2fd8b Fix warnings
git-svn-id: https://develop.svn.wordpress.org/trunk@12246 602fd350-edb4-49c9-b593-d223f7449a82
2009-11-20 19:46:10 +00:00
Ryan Boren 9c74c25f37 Remove reference to non-existent field. Props scribu. fixes #11098
git-svn-id: https://develop.svn.wordpress.org/trunk@12242 602fd350-edb4-49c9-b593-d223f7449a82
2009-11-20 15:26:14 +00:00
Andrew Ozz 6f4ae7b89a Submit the "Save all changes" form by pressing Enter, props abackstrom, fixes #8557
git-svn-id: https://develop.svn.wordpress.org/trunk@12240 602fd350-edb4-49c9-b593-d223f7449a82
2009-11-20 06:07:54 +00:00
Andrew Ozz 49192afff9 Escape $title in dashboard Recent Drafts to reveal HTML tags, props Simek, fixes #11128
git-svn-id: https://develop.svn.wordpress.org/trunk@12235 602fd350-edb4-49c9-b593-d223f7449a82
2009-11-20 01:31:06 +00:00
Ryan Boren 115e5e33fb Allow link rating of 10. Props ProDevStudio. fixes #11165
git-svn-id: https://develop.svn.wordpress.org/trunk@12233 602fd350-edb4-49c9-b593-d223f7449a82
2009-11-19 23:07:53 +00:00
Ryan Boren 4f7906aced Fix db version logic error. Props miqrogroove. fixes #10994
git-svn-id: https://develop.svn.wordpress.org/trunk@12232 602fd350-edb4-49c9-b593-d223f7449a82
2009-11-19 22:53:03 +00:00
Ryan Boren 42a3082c21 Add context to strings. Props nbachiyski. fixes #10738
git-svn-id: https://develop.svn.wordpress.org/trunk@12231 602fd350-edb4-49c9-b593-d223f7449a82
2009-11-19 22:49:16 +00:00
Peter Westwood d288c8eea0 Some admin copy improvements fixes. #6362 props xenlab and ninjaWR.
git-svn-id: https://develop.svn.wordpress.org/trunk@12228 602fd350-edb4-49c9-b593-d223f7449a82
2009-11-19 22:16:16 +00:00
Ryan Boren e4dd375180 gettext fix. Props takayukister. fixes #11188
git-svn-id: https://develop.svn.wordpress.org/trunk@12227 602fd350-edb4-49c9-b593-d223f7449a82
2009-11-19 22:04:53 +00:00
Peter Westwood 1ca762ff8d Revert [12187] as it didn't fix the issue for all cases. See #10959.
git-svn-id: https://develop.svn.wordpress.org/trunk@12225 602fd350-edb4-49c9-b593-d223f7449a82
2009-11-19 19:53:27 +00:00
Ryan Boren 26193065a4 Pass args to settings field callback. Props hanilovesme, scribu. fixes #11143
git-svn-id: https://develop.svn.wordpress.org/trunk@12220 602fd350-edb4-49c9-b593-d223f7449a82
2009-11-19 17:37:50 +00:00
Ryan Boren d940b723be Check DB ver 12217. see #2699
git-svn-id: https://develop.svn.wordpress.org/trunk@12218 602fd350-edb4-49c9-b593-d223f7449a82
2009-11-19 16:43:38 +00:00
Ryan Boren d1190b5bd6 Make option_id primary. Add uniques for option_name and autoload. see #2699
git-svn-id: https://develop.svn.wordpress.org/trunk@12217 602fd350-edb4-49c9-b593-d223f7449a82
2009-11-19 16:42:07 +00:00
Andrew Ozz 7c3f9cf02b Add sidebar descriptions to sidebar settings and widget admin screen, props jeremyclarke scribu, fixes #11157
git-svn-id: https://develop.svn.wordpress.org/trunk@12213 602fd350-edb4-49c9-b593-d223f7449a82
2009-11-19 09:12:16 +00:00
Peter Westwood 2fefd415d2 First pass first post improvements. See #11008 props demetris.
git-svn-id: https://develop.svn.wordpress.org/trunk@12212 602fd350-edb4-49c9-b593-d223f7449a82
2009-11-18 22:45:24 +00:00
Ryan Boren 363c885bd4 Delete old magpie cache options. Props Denis-de-Bernardy. fixes #10592
git-svn-id: https://develop.svn.wordpress.org/trunk@12210 602fd350-edb4-49c9-b593-d223f7449a82
2009-11-18 22:04:07 +00:00
Ryan Boren 161beb7f61 Don't destruct if WP_Error. Props scribu. fixes #11168
git-svn-id: https://develop.svn.wordpress.org/trunk@12209 602fd350-edb4-49c9-b593-d223f7449a82
2009-11-18 21:52:38 +00:00
Ryan Boren a4912dccf2 Use preg_replace_callback to eliminate eval. Props BenBE1987. fixes #10896
git-svn-id: https://develop.svn.wordpress.org/trunk@12198 602fd350-edb4-49c9-b593-d223f7449a82
2009-11-17 19:25:01 +00:00
Andrew Ozz 51f2c4d17d Add labels to image info in the media library, fixes #8886
git-svn-id: https://develop.svn.wordpress.org/trunk@12195 602fd350-edb4-49c9-b593-d223f7449a82
2009-11-17 00:11:49 +00:00
Ryan Boren cac2e59fda Force destruction of SimplePie objects for versions of PHP that don't release memory properly. Props arena, scribu. fixes #11074
git-svn-id: https://develop.svn.wordpress.org/trunk@12193 602fd350-edb4-49c9-b593-d223f7449a82
2009-11-16 22:42:58 +00:00
Andrew Ozz e085e3485e Don't show trashed attachments in gallery tab count, props aldenta, fixes #11147
git-svn-id: https://develop.svn.wordpress.org/trunk@12190 602fd350-edb4-49c9-b593-d223f7449a82
2009-11-16 07:54:02 +00:00
Andrew Ozz 3e1d80eb42 Fix style of text fields in IE6 in the uploader, better regex for Link URL presets buttons
git-svn-id: https://develop.svn.wordpress.org/trunk@12189 602fd350-edb4-49c9-b593-d223f7449a82
2009-11-16 07:16:34 +00:00
Andrew Ozz ac9c33e0e9 Fix improper selection of radio buttons, improve JS for storing image settings, fixes #11021
git-svn-id: https://develop.svn.wordpress.org/trunk@12188 602fd350-edb4-49c9-b593-d223f7449a82
2009-11-16 01:37:30 +00:00
Peter Westwood dd36b37254 Ensure that page templates in a subdir of a theme work correctly. Fixes #10959 based on patch from scribu.
git-svn-id: https://develop.svn.wordpress.org/trunk@12187 602fd350-edb4-49c9-b593-d223f7449a82
2009-11-13 22:40:40 +00:00
Ryan Boren 99e6a0696d bulk should default to false. fixes #11130
git-svn-id: https://develop.svn.wordpress.org/trunk@12186 602fd350-edb4-49c9-b593-d223f7449a82
2009-11-13 21:28:40 +00:00
Andrew Ozz 52bff7f918 Fix image meta after editing image, disable the Save button when no changes, fixes #11115
git-svn-id: https://develop.svn.wordpress.org/trunk@12163 602fd350-edb4-49c9-b593-d223f7449a82
2009-11-11 11:24:01 +00:00
Andrew Ozz 0093a3a989 Remove all instances of "Trash" from the UI when Trash is disabled, replace trash actions with "Delete permanently", props caesarsgrunt, see #4529
git-svn-id: https://develop.svn.wordpress.org/trunk@12162 602fd350-edb4-49c9-b593-d223f7449a82
2009-11-10 10:38:19 +00:00
Andrew Ozz e15e8b710d Don't pre-fill empty image alt when inserting into a post.
git-svn-id: https://develop.svn.wordpress.org/trunk@12161 602fd350-edb4-49c9-b593-d223f7449a82
2009-11-10 00:09:40 +00:00
Ryan Boren ef2c943123 Put site into maintenance mode during bulk plugin upgrade. Skip plugin deactivate/activate. Add compatibility info. see #10973
git-svn-id: https://develop.svn.wordpress.org/trunk@12157 602fd350-edb4-49c9-b593-d223f7449a82
2009-11-09 18:53:21 +00:00
Andrew Ozz 5012c4e964 Add 'IMAGE_EDIT_OVERWRITE' constant to control edited image save or replace, most useful for setups that have dynamic image resizing, see #10528
git-svn-id: https://develop.svn.wordpress.org/trunk@12155 602fd350-edb4-49c9-b593-d223f7449a82
2009-11-07 11:20:09 +00:00
Andrew Ozz 4a79139c26 Fix typo, props Harald Nesland, fixes #11002
git-svn-id: https://develop.svn.wordpress.org/trunk@12152 602fd350-edb4-49c9-b593-d223f7449a82
2009-11-06 10:53:41 +00:00
Andrew Ozz 92d16fba05 Add phpdoc and extra filter to file.php, props dd32, fixes #11002
git-svn-id: https://develop.svn.wordpress.org/trunk@12151 602fd350-edb4-49c9-b593-d223f7449a82
2009-11-05 23:03:48 +00:00
Ryan Boren af42a894f0 Bring in wp_handle_upload_prefilter from MU
git-svn-id: https://develop.svn.wordpress.org/trunk@12142 602fd350-edb4-49c9-b593-d223f7449a82
2009-11-05 14:24:20 +00:00
Andrew Ozz 7bbf1c2489 Fix IE8 reply to comments from admin fade in/out, decrease comment undo timeout, hide comment reply when moving to trash, fixes #9896
git-svn-id: https://develop.svn.wordpress.org/trunk@12139 602fd350-edb4-49c9-b593-d223f7449a82
2009-11-03 08:28:59 +00:00
Ryan Boren 53321a0093 Call get_post_image_id() only if current_theme_supports( 'post-thumbnails' ).
git-svn-id: https://develop.svn.wordpress.org/trunk@12137 602fd350-edb4-49c9-b593-d223f7449a82
2009-11-02 18:00:41 +00:00
Ryan Boren b552dbdd9b Switch oEmbed option to control discovery. Tweak whitelist and settings page. Props Viper007Bond. see #10337
git-svn-id: https://develop.svn.wordpress.org/trunk@12136 602fd350-edb4-49c9-b593-d223f7449a82
2009-11-02 14:41:35 +00:00
Andrew Ozz 54c1db8dd0 Trash undo for the uploader, props caesarsgrunt, see #4529
git-svn-id: https://develop.svn.wordpress.org/trunk@12130 602fd350-edb4-49c9-b593-d223f7449a82
2009-10-30 07:09:55 +00:00
Andrew Ozz 5c564f80b5 Fix tag input tip in IE
git-svn-id: https://develop.svn.wordpress.org/trunk@12114 602fd350-edb4-49c9-b593-d223f7449a82
2009-10-27 08:43:17 +00:00
Mark Jaquith a556c8ce89 Consolidate post_mime_type code. props scribu. fixes #10992
git-svn-id: https://develop.svn.wordpress.org/trunk@12110 602fd350-edb4-49c9-b593-d223f7449a82
2009-10-26 17:56:28 +00:00
Ryan Boren ba1f1d3780 Export and import custom taxonomies. Props chrisscott. fixes #10012
git-svn-id: https://develop.svn.wordpress.org/trunk@12109 602fd350-edb4-49c9-b593-d223f7449a82
2009-10-26 13:57:55 +00:00
Andrew Ozz ecd0e05414 Add subtitles and opening/closing DIVs on GUU results screen, see #10973
git-svn-id: https://develop.svn.wordpress.org/trunk@12107 602fd350-edb4-49c9-b593-d223f7449a82
2009-10-26 07:04:30 +00:00
Andrew Ozz 869f5f8649 Typo fixes, props dd32, fixes #11030
git-svn-id: https://develop.svn.wordpress.org/trunk@12104 602fd350-edb4-49c9-b593-d223f7449a82
2009-10-25 17:30:58 +00:00
Peter Westwood c8748b8364 Fix some login typos. Fixes #11031 props filosofo.
git-svn-id: https://develop.svn.wordpress.org/trunk@12100 602fd350-edb4-49c9-b593-d223f7449a82
2009-10-25 09:28:20 +00:00
Andrew Ozz 104abc4a7b When inserting the embed shortcode in TinyMCE replace it with a placeholder image, update the 'wordpress', 'wpeditimage' and 'wpgallery' TinyMCE plugins, fix the audio and video "From URL" tabs in the uploader popup to accept only URLs for embedding, see #10337
git-svn-id: https://develop.svn.wordpress.org/trunk@12098 602fd350-edb4-49c9-b593-d223f7449a82
2009-10-24 11:43:42 +00:00
Ryan Boren 76566c1a3e Plugin bulk upgrade rough in. see #10973
git-svn-id: https://develop.svn.wordpress.org/trunk@12097 602fd350-edb4-49c9-b593-d223f7449a82
2009-10-23 21:49:12 +00:00
Mark Jaquith de9c049065 Save some clicks and optimize for the Upload, Set as thumbnail flow. props scribu. see #10928
git-svn-id: https://develop.svn.wordpress.org/trunk@12081 602fd350-edb4-49c9-b593-d223f7449a82
2009-10-21 07:27:33 +00:00
Peter Westwood 345db2c5f2 Update version info in phpDoc for _admin_notice_post_locked() see #10729.
git-svn-id: https://develop.svn.wordpress.org/trunk@12069 602fd350-edb4-49c9-b593-d223f7449a82
2009-10-20 17:02:22 +00:00
Ryan Boren 2ca56ce091 Start roughing in GUU. see #10973
git-svn-id: https://develop.svn.wordpress.org/trunk@12066 602fd350-edb4-49c9-b593-d223f7449a82
2009-10-20 16:11:59 +00:00
Peter Westwood 4299a36395 Display a smaller filename in the theme editor urls and make theme files editable again. Fixes #10974.
git-svn-id: https://develop.svn.wordpress.org/trunk@12063 602fd350-edb4-49c9-b593-d223f7449a82
2009-10-19 21:39:04 +00:00
Mark Jaquith 395f0b9e2d Revert to old options table storage of rewrite_rules. Transient object caches would silently regenerate rewrite_rules without giving plugins a chance to readd endpoints. fixes #10981
git-svn-id: https://develop.svn.wordpress.org/trunk@12061 602fd350-edb4-49c9-b593-d223f7449a82
2009-10-19 21:10:46 +00:00
Andrew Ozz da41fd8836 Merge set-post-thumbnail-handler.js with post.js, move Post Thumbnail meta-box to /includes/meta-boxes.php, see #10928
git-svn-id: https://develop.svn.wordpress.org/trunk@12060 602fd350-edb4-49c9-b593-d223f7449a82
2009-10-19 20:23:35 +00:00
Mark Jaquith d3f1d779f3 Only show Use for thumbnail link for image attachments. see #10928
git-svn-id: https://develop.svn.wordpress.org/trunk@12059 602fd350-edb4-49c9-b593-d223f7449a82
2009-10-19 16:36:21 +00:00
Andrew Ozz a68beea184 Separate fields for image alt and image caption in the uploader.
git-svn-id: https://develop.svn.wordpress.org/trunk@12055 602fd350-edb4-49c9-b593-d223f7449a82
2009-10-19 05:09:41 +00:00
Andrew Ozz fa3370c044 Properly escape filename when sending to editor, props hakre sivel, fixes #10252
git-svn-id: https://develop.svn.wordpress.org/trunk@12051 602fd350-edb4-49c9-b593-d223f7449a82
2009-10-18 06:14:16 +00:00
Peter Westwood 8427416edf Ensure that Title is always set for plugin data as it was before. see #8964.
git-svn-id: https://develop.svn.wordpress.org/trunk@12048 602fd350-edb4-49c9-b593-d223f7449a82
2009-10-17 17:01:07 +00:00
Peter Westwood 9510a36835 Allow for plugins to enhance the number of metadata fields captured from plugin and theme headers. See #8964 props strider72.
git-svn-id: https://develop.svn.wordpress.org/trunk@12044 602fd350-edb4-49c9-b593-d223f7449a82
2009-10-15 21:07:00 +00:00
Ryan Boren a4789b3cc1 Associate subdirector of whitespace trims trailing whites with pinking shears.
git-svn-id: https://develop.svn.wordpress.org/trunk@12042 602fd350-edb4-49c9-b593-d223f7449a82
2009-10-15 20:26:21 +00:00
Mark Jaquith 0818d29d6e Post thumbnail removal functionality (only allowed for replacement before). props scribu. see #10928
git-svn-id: https://develop.svn.wordpress.org/trunk@12036 602fd350-edb4-49c9-b593-d223f7449a82
2009-10-15 12:57:16 +00:00
Peter Westwood a8bf4adf41 Page Templates now have there full path specified so no need to prepend WP_CONTENT_DIR. Fixes #10953 props sivel.
git-svn-id: https://develop.svn.wordpress.org/trunk@12033 602fd350-edb4-49c9-b593-d223f7449a82
2009-10-14 20:46:09 +00:00
Andrew Ozz aaae110d8f Remove remains from the old bookmarklet code
git-svn-id: https://develop.svn.wordpress.org/trunk@12029 602fd350-edb4-49c9-b593-d223f7449a82
2009-10-14 05:53:49 +00:00
Ryan Boren d7367f405a Request only as many incoming links and we'll display. Props niallkennedy. fixes #10685
git-svn-id: https://develop.svn.wordpress.org/trunk@12026 602fd350-edb4-49c9-b593-d223f7449a82
2009-10-13 22:04:54 +00:00
Mark Jaquith 1a00881a37 Introducing register_theme_directory() which takes a wp-content-relative path and will additionally scan it for themes. Plugins can use this to add themes without requiring copying by the user. props apeatling. fixes #10467
git-svn-id: https://develop.svn.wordpress.org/trunk@12025 602fd350-edb4-49c9-b593-d223f7449a82
2009-10-13 19:06:35 +00:00
Ryan Boren e71f15a979 Embeds. Props Viper007Bond. see #10337
git-svn-id: https://develop.svn.wordpress.org/trunk@12023 602fd350-edb4-49c9-b593-d223f7449a82
2009-10-13 17:04:22 +00:00
Andrew Ozz 9d5f38a1df Merge post.js with page.js and slug.js, optimize categories and tags JS, standardize postboxes IDs and JS.
git-svn-id: https://develop.svn.wordpress.org/trunk@12022 602fd350-edb4-49c9-b593-d223f7449a82
2009-10-13 10:02:42 +00:00
Mark Jaquith a3bf844ed3 Constrain admin thumbnail display to width of meta box while in sidebar. Add filters.
git-svn-id: https://develop.svn.wordpress.org/trunk@12018 602fd350-edb4-49c9-b593-d223f7449a82
2009-10-10 07:41:42 +00:00
Andrew Ozz 158ddd44ef Adjust comment moderation shortcut keys: d = trash or delete depending on the screen
git-svn-id: https://develop.svn.wordpress.org/trunk@12016 602fd350-edb4-49c9-b593-d223f7449a82
2009-10-09 23:28:06 +00:00
Andrew Ozz 9a76ba48d9 Add l10n thousands delimiter and decimal point to JS, fix updating of comments numbers on the dashboard and keyboard shortcuts for comments moderation (t = trash, z = restore/undo)
git-svn-id: https://develop.svn.wordpress.org/trunk@12015 602fd350-edb4-49c9-b593-d223f7449a82
2009-10-09 09:02:22 +00:00
Andrew Ozz 59981a3d5b Add Undo when moving comments to the trash, remove unneeded nonces, see #4529
git-svn-id: https://develop.svn.wordpress.org/trunk@12008 602fd350-edb4-49c9-b593-d223f7449a82
2009-10-08 08:24:59 +00:00
Mark Jaquith ab98fc356b First pass on canonical post thumbanils. Admin-side GUI only. Theme functions to follow. see #10928
git-svn-id: https://develop.svn.wordpress.org/trunk@12007 602fd350-edb4-49c9-b593-d223f7449a82
2009-10-07 22:18:09 +00:00
Peter Westwood 8d19386616 Remove the php-gettext library as we don't use it anymore. Fixes #9751.
git-svn-id: https://develop.svn.wordpress.org/trunk@12006 602fd350-edb4-49c9-b593-d223f7449a82
2009-10-07 20:42:05 +00:00
Ryan Boren e024f20812 Disable codepress. Maintained replacement needed.
git-svn-id: https://develop.svn.wordpress.org/trunk@12005 602fd350-edb4-49c9-b593-d223f7449a82
2009-10-07 15:22:23 +00:00
Ryan Boren cba144b87c Add post_submitbox_misc_actions action. Props mdawaffe
git-svn-id: https://develop.svn.wordpress.org/trunk@12000 602fd350-edb4-49c9-b593-d223f7449a82
2009-10-06 20:17:21 +00:00
Peter Westwood cd312efd44 Update pclzip to 2.8.2 - Fixes #10650 and #10777.
Includes:
 * Removal of eval()s
 * Merge WordPress 64 bit fix upstream

git-svn-id: https://develop.svn.wordpress.org/trunk@11993 602fd350-edb4-49c9-b593-d223f7449a82
2009-10-01 21:04:57 +00:00
Ryan Boren 30e0d4173f Improve inline documentation for register_setting(). Props filosofo. fixes #10368
git-svn-id: https://develop.svn.wordpress.org/trunk@11991 602fd350-edb4-49c9-b593-d223f7449a82
2009-10-01 17:54:24 +00:00
Ryan Boren 3f0243f75e Pass args to mysql2date() in the correct order. Props filosofo, fabifott. fixes #10866
git-svn-id: https://develop.svn.wordpress.org/trunk@11989 602fd350-edb4-49c9-b593-d223f7449a82
2009-10-01 17:50:28 +00:00
Ryan Boren 21ff869024 Show link back to post for pingbacks in the recent comments dashboard widget. Props scribu. fixes #10622
git-svn-id: https://develop.svn.wordpress.org/trunk@11988 602fd350-edb4-49c9-b593-d223f7449a82
2009-10-01 17:42:33 +00:00
Mark Jaquith 04772d1b9f Surface "Move to Trash" link for posts/pages immediately after first autosave fires. Props cross country flight. fixes #10344
git-svn-id: https://develop.svn.wordpress.org/trunk@11986 602fd350-edb4-49c9-b593-d223f7449a82
2009-10-01 11:44:18 +00:00
Andrew Ozz 917e03d25b Image Editor: fix refreshing of the thumbnail, use WP_Http_Fopen::test(), see #10528
git-svn-id: https://develop.svn.wordpress.org/trunk@11985 602fd350-edb4-49c9-b593-d223f7449a82
2009-09-30 23:39:09 +00:00
Andrew Ozz 2895da93b2 Image Editor: add load and save image filters, fix backup sizes meta, see #10528
git-svn-id: https://develop.svn.wordpress.org/trunk@11984 602fd350-edb4-49c9-b593-d223f7449a82
2009-09-30 08:38:32 +00:00
Andrew Ozz ad064e9a49 htmlspecialchars after apply_filters, props Viper007Bond, see #10858
git-svn-id: https://develop.svn.wordpress.org/trunk@11983 602fd350-edb4-49c9-b593-d223f7449a82
2009-09-29 10:28:08 +00:00
Andrew Ozz 048bc0b258 Press This: editor fixes and CSS tweaks for IE6/7
git-svn-id: https://develop.svn.wordpress.org/trunk@11982 602fd350-edb4-49c9-b593-d223f7449a82
2009-09-29 09:46:13 +00:00
Ryan Boren 2cb6b5469d Deprecates the_content_rss(). Add the_content_feed() and get_the_content_feed(). Convert places that called the_content_rss() with an excerpt length to the_excerpt_rss(). Remove the rss_excerpt_length option. Use the_content_feed() where the_content() was previously used in feeds. Props Viper007Bond.
git-svn-id: https://develop.svn.wordpress.org/trunk@11980 602fd350-edb4-49c9-b593-d223f7449a82
2009-09-28 14:36:48 +00:00
Andrew Ozz b2d6dc7e66 Apply "comment_edit_pre" filter when quick-editing comments, props Viper007Bond, fixes #10858
git-svn-id: https://develop.svn.wordpress.org/trunk@11975 602fd350-edb4-49c9-b593-d223f7449a82
2009-09-26 22:28:22 +00:00
Andrew Ozz c4571d4a60 TinyMCE 3.2.7
git-svn-id: https://develop.svn.wordpress.org/trunk@11974 602fd350-edb4-49c9-b593-d223f7449a82
2009-09-26 08:33:16 +00:00
Andrew Ozz a8505d056f Image Editor: fix preview size calculation when cropping small part of a very large image, see #10528
git-svn-id: https://develop.svn.wordpress.org/trunk@11973 602fd350-edb4-49c9-b593-d223f7449a82
2009-09-26 04:07:27 +00:00
Ryan Boren bb43e36418 Remove trailing whitespace
git-svn-id: https://develop.svn.wordpress.org/trunk@11971 602fd350-edb4-49c9-b593-d223f7449a82
2009-09-24 17:19:13 +00:00
Ryan Boren 578e956287 Actions for postmeta updates. Props Demitrious Kelly. see #10750
git-svn-id: https://develop.svn.wordpress.org/trunk@11968 602fd350-edb4-49c9-b593-d223f7449a82
2009-09-24 17:10:28 +00:00
Andrew Ozz dfed9737d7 Image Editor: fix JS prompt, add size to 'load_image_to_edit' filter, see #10528
git-svn-id: https://develop.svn.wordpress.org/trunk@11967 602fd350-edb4-49c9-b593-d223f7449a82
2009-09-24 08:47:33 +00:00
Mark Jaquith 254df719da Active plugin filter, plugin deactivation array_splice() protection. props apeatling. fixes #10839
git-svn-id: https://develop.svn.wordpress.org/trunk@11966 602fd350-edb4-49c9-b593-d223f7449a82
2009-09-24 04:15:37 +00:00
Andrew Ozz 5e878a916d Image Editor improvements, see #10528
git-svn-id: https://develop.svn.wordpress.org/trunk@11965 602fd350-edb4-49c9-b593-d223f7449a82
2009-09-24 01:54:07 +00:00
Peter Westwood 2fac03c837 Handle the file upload case on import when post_max_size is smaller than upload_max_filesize and no POST data arrives at all. Fixes #10830.
git-svn-id: https://develop.svn.wordpress.org/trunk@11963 602fd350-edb4-49c9-b593-d223f7449a82
2009-09-23 07:06:58 +00:00
Peter Westwood b2de687b90 Move the nonce on the import upload form to the action url so it always arrives even if the post data exceeds post_max_size. Also add some phpdoc. See #10830.
git-svn-id: https://develop.svn.wordpress.org/trunk@11962 602fd350-edb4-49c9-b593-d223f7449a82
2009-09-23 06:59:20 +00:00
Mark Jaquith 292781ec44 Eliminate the redundant and confusing comment threading depth of 1. Threading starts at 2 now. fixes #10829
git-svn-id: https://develop.svn.wordpress.org/trunk@11958 602fd350-edb4-49c9-b593-d223f7449a82
2009-09-22 06:00:46 +00:00
Ryan Boren 178a391097 get_delete_post_link()
git-svn-id: https://develop.svn.wordpress.org/trunk@11956 602fd350-edb4-49c9-b593-d223f7449a82
2009-09-21 21:33:00 +00:00
Ryan Boren 38151de2b5 Key should be comment_id not post_id. see #2659
git-svn-id: https://develop.svn.wordpress.org/trunk@11955 602fd350-edb4-49c9-b593-d223f7449a82
2009-09-21 18:09:21 +00:00
Ryan Boren 0d8a84bb98 Special case comment type 'all'. Fixes comment search. fixes #10463
git-svn-id: https://develop.svn.wordpress.org/trunk@11954 602fd350-edb4-49c9-b593-d223f7449a82
2009-09-21 14:43:31 +00:00
Peter Westwood fd912ff469 Switch round some quotes. Fixes #10669 props niallkennedy
git-svn-id: https://develop.svn.wordpress.org/trunk@11953 602fd350-edb4-49c9-b593-d223f7449a82
2009-09-20 13:49:20 +00:00
Peter Westwood 78efafba1d Fix user creation from admin after changes for #10751. Fixes #10811 props alexkingorg.
git-svn-id: https://develop.svn.wordpress.org/trunk@11950 602fd350-edb4-49c9-b593-d223f7449a82
2009-09-18 20:47:24 +00:00
Peter Westwood 8f93bd78f8 Move the storage of the metadata for trashed comments into the comment meta table rather than storing it in an option. See #4529.
git-svn-id: https://develop.svn.wordpress.org/trunk@11945 602fd350-edb4-49c9-b593-d223f7449a82
2009-09-17 20:51:12 +00:00
Ryan Boren 5fa5b6d05b Press This fixes. Props noel. fixes #10784
git-svn-id: https://develop.svn.wordpress.org/trunk@11944 602fd350-edb4-49c9-b593-d223f7449a82
2009-09-17 20:36:59 +00:00
Peter Westwood 482e701639 First pass commentmeta implementation. See #2659 props scribu.
git-svn-id: https://develop.svn.wordpress.org/trunk@11943 602fd350-edb4-49c9-b593-d223f7449a82
2009-09-17 20:17:33 +00:00
Andrew Ozz 707676f0ac Include 'hidden' directories in filesystem dirlist by default, props dd32, fixes #10774
git-svn-id: https://develop.svn.wordpress.org/trunk@11934 602fd350-edb4-49c9-b593-d223f7449a82
2009-09-15 02:21:00 +00:00
Peter Westwood fa9b9d3ad3 phpDoc subpackage is Administration not Admin.
git-svn-id: https://develop.svn.wordpress.org/trunk@11933 602fd350-edb4-49c9-b593-d223f7449a82
2009-09-14 21:13:25 +00:00
Ryan Boren 43c201d458 Remove trailing whitespace
git-svn-id: https://develop.svn.wordpress.org/trunk@11930 602fd350-edb4-49c9-b593-d223f7449a82
2009-09-14 14:03:32 +00:00
Ryan Boren b7f82a38b5 Filter fields through kses upon display. Introduce sanitize_user_object() and sanitize_user_field(). see #10751
git-svn-id: https://develop.svn.wordpress.org/trunk@11929 602fd350-edb4-49c9-b593-d223f7449a82
2009-09-14 13:57:48 +00:00
Andrew Ozz e4045df0ab Explain that the permalink is temporary for autosave generated permalinks, fixes #7733
git-svn-id: https://develop.svn.wordpress.org/trunk@11928 602fd350-edb4-49c9-b593-d223f7449a82
2009-09-14 02:06:33 +00:00
Andrew Ozz f159af5111 Plugin/Theme installer: Do not bail if empty destination directory exists, props dd32, fixes #10775
git-svn-id: https://develop.svn.wordpress.org/trunk@11926 602fd350-edb4-49c9-b593-d223f7449a82
2009-09-13 23:00:45 +00:00
Peter Westwood 311256c02a Use the old strings which are more translator friendly and add a generic default string to aid re-use by plugins adding post_types. See #10729.
git-svn-id: https://develop.svn.wordpress.org/trunk@11925 602fd350-edb4-49c9-b593-d223f7449a82
2009-09-13 21:18:55 +00:00
Andrew Ozz 6315c12a84 Fix pagination in Media Library after moving items to trash
git-svn-id: https://develop.svn.wordpress.org/trunk@11924 602fd350-edb4-49c9-b593-d223f7449a82
2009-09-13 17:58:55 +00:00
Peter Westwood 3fbccfb9fc Switch the post|page being editing message from a create_function call to a normal function and reduce the duplicated code. See #10729.
git-svn-id: https://develop.svn.wordpress.org/trunk@11923 602fd350-edb4-49c9-b593-d223f7449a82
2009-09-13 08:52:39 +00:00
Peter Westwood 80dbface9c phpDoc for wp_{check|set}_post_lock functions.
git-svn-id: https://develop.svn.wordpress.org/trunk@11922 602fd350-edb4-49c9-b593-d223f7449a82
2009-09-13 08:34:24 +00:00
Ryan Boren 2cac41ba40 Add btt.php and jkw.php to list of files to remove during upgrade.
git-svn-id: https://develop.svn.wordpress.org/trunk@11918 602fd350-edb4-49c9-b593-d223f7449a82
2009-09-11 18:12:10 +00:00
Andrew Ozz 4f22e99cf5 Image editing (first run). Includes code by stephanreiter, see #10528
git-svn-id: https://develop.svn.wordpress.org/trunk@11911 602fd350-edb4-49c9-b593-d223f7449a82
2009-09-10 22:07:33 +00:00
Ryan Boren 1649248a01 More add/delete/update actions. Props Demitrious Kelly. see #10750
git-svn-id: https://develop.svn.wordpress.org/trunk@11909 602fd350-edb4-49c9-b593-d223f7449a82
2009-09-10 14:43:45 +00:00
Andrew Ozz 1195abd579 Don't show "Change Permalinks" button when editing the page set as "Front page", props simonwheatley, fixes #10760
git-svn-id: https://develop.svn.wordpress.org/trunk@11908 602fd350-edb4-49c9-b593-d223f7449a82
2009-09-10 01:21:03 +00:00
Ryan Boren eac87a3f7d Pass logged_in cookie to async-upload. Props nbachiyski. fixes #10739
git-svn-id: https://develop.svn.wordpress.org/trunk@11904 602fd350-edb4-49c9-b593-d223f7449a82
2009-09-08 15:22:42 +00:00
Mark Jaquith 608115bd25 Display comments in descending date order, consistently. props scribu. fixes #10674
git-svn-id: https://develop.svn.wordpress.org/trunk@11901 602fd350-edb4-49c9-b593-d223f7449a82
2009-09-04 08:50:55 +00:00
Peter Westwood 6b5f25507e Always filter the url in the media upload form. Fixes #10707 props nbachiyski.
git-svn-id: https://develop.svn.wordpress.org/trunk@11896 602fd350-edb4-49c9-b593-d223f7449a82
2009-09-01 20:44:17 +00:00
Andrew Ozz 260543c4de Fix quotes, props Denis-de-Bernardy, see #2699
git-svn-id: https://develop.svn.wordpress.org/trunk@11884 602fd350-edb4-49c9-b593-d223f7449a82
2009-08-27 09:59:22 +00:00
Ryan Boren 9ba99f344c Make option_name the primary key for the options table. Props Denis-de-Bernardy. fixes #2699
git-svn-id: https://develop.svn.wordpress.org/trunk@11883 602fd350-edb4-49c9-b593-d223f7449a82
2009-08-26 22:46:33 +00:00
Andrew Ozz 61c97aba16 Clean up .button and .button[disabled] CSS classes, add spinner and gray-out buttons after clicking Publish or Update post.
git-svn-id: https://develop.svn.wordpress.org/trunk@11874 602fd350-edb4-49c9-b593-d223f7449a82
2009-08-25 05:14:49 +00:00
Andrew Ozz 00de237f0c Fix notice in wp-admin/includes/post.php, props harrym, fixes #10678 for trunk
git-svn-id: https://develop.svn.wordpress.org/trunk@11871 602fd350-edb4-49c9-b593-d223f7449a82
2009-08-24 19:39:08 +00:00
Andrew Ozz 8d2e2d9bc7 Add global JS vars and actions to the media uploader iframe
git-svn-id: https://develop.svn.wordpress.org/trunk@11868 602fd350-edb4-49c9-b593-d223f7449a82
2009-08-24 00:09:39 +00:00
Ryan Boren 2183989cd8 fs_connect() fixes. Props dd32. fixes #10541
git-svn-id: https://develop.svn.wordpress.org/trunk@11862 602fd350-edb4-49c9-b593-d223f7449a82
2009-08-21 01:36:01 +00:00
Ryan Boren 3edc03c047 Fix fs_no_folder error message display. Props jeff_. fixes #10608
git-svn-id: https://develop.svn.wordpress.org/trunk@11861 602fd350-edb4-49c9-b593-d223f7449a82
2009-08-21 01:30:15 +00:00
Peter Westwood 676d2e440f Make add_object_page() and add_utility_page() use add_menu_page() rather than duplicated code. Fixes #9942 props scribu.
git-svn-id: https://develop.svn.wordpress.org/trunk@11856 602fd350-edb4-49c9-b593-d223f7449a82
2009-08-20 21:00:52 +00:00
Peter Westwood 50bb241850 Move _wp_get_user_contactmethods() into the registrations functions file so it is always available when required. Fixes #10662.
git-svn-id: https://develop.svn.wordpress.org/trunk@11852 602fd350-edb4-49c9-b593-d223f7449a82
2009-08-20 19:51:43 +00:00
Andrew Ozz 782977afbf "Trash" updates, props caesarsgrunt, see #4529
git-svn-id: https://develop.svn.wordpress.org/trunk@11841 602fd350-edb4-49c9-b593-d223f7449a82
2009-08-19 08:35:24 +00:00
Andrew Ozz 34deab141b Use the current user as author for autosave, fixes #10004
git-svn-id: https://develop.svn.wordpress.org/trunk@11840 602fd350-edb4-49c9-b593-d223f7449a82
2009-08-19 02:30:42 +00:00
Andrew Ozz 38ac50b6eb WP_Filesystem fixes and phpdoc, props hakre dd32, see #10304
git-svn-id: https://develop.svn.wordpress.org/trunk@11831 602fd350-edb4-49c9-b593-d223f7449a82
2009-08-16 08:34:53 +00:00
Andrew Ozz 438666badd Fix non-translated strings in dashboard, fixes #10617
git-svn-id: https://develop.svn.wordpress.org/trunk@11827 602fd350-edb4-49c9-b593-d223f7449a82
2009-08-16 05:51:36 +00:00
Andrew Ozz 10cd9df0ae Add constants for ftp connections timeouts, props dd32, see #10522
git-svn-id: https://develop.svn.wordpress.org/trunk@11823 602fd350-edb4-49c9-b593-d223f7449a82
2009-08-15 12:01:04 +00:00
Andrew Ozz 6e39ca2cb0 Fix WP_Filesystem_FTPext->exists(), props dd32, fixes #10060
git-svn-id: https://develop.svn.wordpress.org/trunk@11821 602fd350-edb4-49c9-b593-d223f7449a82
2009-08-15 08:31:06 +00:00
Andrew Ozz ff64167d03 Remove dot and silence errors in get_filesystem_method()
git-svn-id: https://develop.svn.wordpress.org/trunk@11819 602fd350-edb4-49c9-b593-d223f7449a82
2009-08-15 08:03:48 +00:00
Andrew Ozz 82a0986656 Fix class-wp-filesystem-ssh2 put_contents() for empty files, props lostinlafayette dd32, fixes #10604
git-svn-id: https://develop.svn.wordpress.org/trunk@11818 602fd350-edb4-49c9-b593-d223f7449a82
2009-08-15 07:49:28 +00:00
Peter Westwood c4449d23b1 Add the new file too.
git-svn-id: https://develop.svn.wordpress.org/trunk@11816 602fd350-edb4-49c9-b593-d223f7449a82
2009-08-14 18:58:22 +00:00
Andrew Ozz 04b7cd96b4 Strip slashes from POST data in request_filesystem_credentials(), props dd32, fixes #10567
git-svn-id: https://develop.svn.wordpress.org/trunk@11808 602fd350-edb4-49c9-b593-d223f7449a82
2009-08-13 06:03:26 +00:00
Andrew Ozz aa630abdab Fix bulk edit, some cleanup and message fixes for moving in/out of the trash, see #4529
git-svn-id: https://develop.svn.wordpress.org/trunk@11807 602fd350-edb4-49c9-b593-d223f7449a82
2009-08-12 10:57:15 +00:00
Ryan Boren d895dcb002 get_sample_permalink_html filter
git-svn-id: https://develop.svn.wordpress.org/trunk@11796 602fd350-edb4-49c9-b593-d223f7449a82
2009-08-10 20:49:09 +00:00
Andrew Ozz 194d325e3f Fix warnings in wp_plugin_update_rows(), see #10464
git-svn-id: https://develop.svn.wordpress.org/trunk@11785 602fd350-edb4-49c9-b593-d223f7449a82
2009-08-07 09:33:40 +00:00
Peter Westwood 10360549ba Make it much easier to filter contact methods from user profiles adding and removing at will. Fixes #10240 props joostdevalk.
git-svn-id: https://develop.svn.wordpress.org/trunk@11784 602fd350-edb4-49c9-b593-d223f7449a82
2009-08-06 21:59:52 +00:00
Peter Westwood d99cec0a57 Move plugin update notice output to the plugin specific hook so as to make them easier to filter and manage from plugins that want to do there own thing. Fixes #10464 props strider72.
git-svn-id: https://develop.svn.wordpress.org/trunk@11775 602fd350-edb4-49c9-b593-d223f7449a82
2009-08-04 21:52:31 +00:00
Peter Westwood b2fce410d1 Add support for sticky posts to the WXR exporter and importer. Fixes #10462 props josephscott.
git-svn-id: https://develop.svn.wordpress.org/trunk@11774 602fd350-edb4-49c9-b593-d223f7449a82
2009-08-04 21:46:42 +00:00
Andrew Ozz d9f8c67f2f Trash status updates for posts, pages, comments and attachments, props caesarsgrunt, see #4529
git-svn-id: https://develop.svn.wordpress.org/trunk@11749 602fd350-edb4-49c9-b593-d223f7449a82
2009-07-30 13:39:34 +00:00
Andrew Ozz dfa42e3952 Allow _wp_get_comment_list to handle custom comment types, props aaroncampbell, fixes #10463
git-svn-id: https://develop.svn.wordpress.org/trunk@11748 602fd350-edb4-49c9-b593-d223f7449a82
2009-07-27 23:28:13 +00:00
Andrew Ozz b310ef4a08 Add attachment ID to the wp_generate_attachment_metadata filter, props taco1991, fixes #10494
git-svn-id: https://develop.svn.wordpress.org/trunk@11747 602fd350-edb4-49c9-b593-d223f7449a82
2009-07-27 23:08:21 +00:00
Andrew Ozz c7b3be84cf Improve QE data for Draft, Pending and Scheduled posts screens, see #10478
git-svn-id: https://develop.svn.wordpress.org/trunk@11743 602fd350-edb4-49c9-b593-d223f7449a82
2009-07-25 12:21:55 +00:00
Andrew Ozz ffbb2b7b5f Fix QE returned data for Pending and Scheduled posts screens, use jQuery.live() for QE events, fixes #10478
git-svn-id: https://develop.svn.wordpress.org/trunk@11742 602fd350-edb4-49c9-b593-d223f7449a82
2009-07-25 10:58:05 +00:00
Andrew Ozz 245d113bfc "Trash" status for comments updates, props caesarsgrunt, see #4529
git-svn-id: https://develop.svn.wordpress.org/trunk@11741 602fd350-edb4-49c9-b593-d223f7449a82
2009-07-24 07:23:11 +00:00
Andrew Ozz 8db7e5a07c "Trash" status for comments, first run, props caesarsgrunt, see #4529
git-svn-id: https://develop.svn.wordpress.org/trunk@11731 602fd350-edb4-49c9-b593-d223f7449a82
2009-07-21 03:11:12 +00:00
Andrew Ozz c7a3747476 Properly escape comment_author_url when displaying, for trunk
git-svn-id: https://develop.svn.wordpress.org/trunk@11721 602fd350-edb4-49c9-b593-d223f7449a82
2009-07-18 23:21:50 +00:00
Andrew Ozz ba6403bb8c Correct icon_url over SSL in add_object_page(), props johnbillion, fixes #10412
git-svn-id: https://develop.svn.wordpress.org/trunk@11717 602fd350-edb4-49c9-b593-d223f7449a82
2009-07-15 08:36:45 +00:00
Andrew Ozz c18cc9c051 Fix plugins descriptions localization, props Denis-de-Bernardy, fixes #10382
git-svn-id: https://develop.svn.wordpress.org/trunk@11716 602fd350-edb4-49c9-b593-d223f7449a82
2009-07-14 08:54:03 +00:00
Andrew Ozz f6aaf08cbf Improve temp file name, props DD32, fixes #10224
git-svn-id: https://develop.svn.wordpress.org/trunk@11712 602fd350-edb4-49c9-b593-d223f7449a82
2009-07-14 08:12:18 +00:00
Andrew Ozz 3b5d738ec8 Fix converting of HTML entities in Quick editor for comments, don't output QE data when the user cannot edit comments, fixes #9935
git-svn-id: https://develop.svn.wordpress.org/trunk@11711 602fd350-edb4-49c9-b593-d223f7449a82
2009-07-14 07:59:52 +00:00
Peter Westwood 64fd3c3e59 Call wp_dropdown_users() with echo=0 when outputting the quickedit and bulkedit forms so as to remove the need for output buffering. Fixes #10062 props johnbillion.
git-svn-id: https://develop.svn.wordpress.org/trunk@11709 602fd350-edb4-49c9-b593-d223f7449a82
2009-07-11 09:17:09 +00:00
Peter Westwood ab1fbdb40a Remove comment quickedit data from the dashboard recent comments widget. Fixes #9603 props coffee2code.
git-svn-id: https://develop.svn.wordpress.org/trunk@11708 602fd350-edb4-49c9-b593-d223f7449a82
2009-07-11 09:11:15 +00:00
Peter Westwood 195411b214 Fix typo in type_url_from_video() link text description. Fixes #10071 props Denis-de-Bernardy.
git-svn-id: https://develop.svn.wordpress.org/trunk@11704 602fd350-edb4-49c9-b593-d223f7449a82
2009-07-09 21:21:57 +00:00
Peter Westwood 1d984da04a Make checked and selected compare more carefully and update the phpdoc with the correct @since version. Fixes #9862 props Denis-de-Bernardy.
git-svn-id: https://develop.svn.wordpress.org/trunk@11703 602fd350-edb4-49c9-b593-d223f7449a82
2009-07-09 21:13:23 +00:00
Andrew Ozz 02f0eee9eb Use new jQuery methods when adding, editing and deleting tags with AJAX, fix warning when deleting tags, see #10239
git-svn-id: https://develop.svn.wordpress.org/trunk@11676 602fd350-edb4-49c9-b593-d223f7449a82
2009-07-01 08:12:39 +00:00
Ryan Boren 79eb523554 Check that token_get_all() exists before creating documentation links. fixes #10261 for trunk
git-svn-id: https://develop.svn.wordpress.org/trunk@11671 602fd350-edb4-49c9-b593-d223f7449a82
2009-06-29 20:48:12 +00:00
Ryan Boren a228b4a413 Proper permissions for newly created files. Props azaozz. fixes #10170 for trunk
git-svn-id: https://develop.svn.wordpress.org/trunk@11667 602fd350-edb4-49c9-b593-d223f7449a82
2009-06-29 20:23:04 +00:00
Ryan Boren ce546f6edd Don't lose upload error messages. Props filosofo. fixes #10238 for trunk
git-svn-id: https://develop.svn.wordpress.org/trunk@11638 602fd350-edb4-49c9-b593-d223f7449a82
2009-06-25 06:09:22 +00:00
Ryan Boren b5452371d5 Enforce stream_get_contents() requirement for ssh2 fs. Props dd32. fixes #10093 for trunk
git-svn-id: https://develop.svn.wordpress.org/trunk@11632 602fd350-edb4-49c9-b593-d223f7449a82
2009-06-23 21:54:53 +00:00
Ryan Boren 3078a66f60 Fix back-compat plugins page redirects. Props filosofo. fixes #10246 for trunk
git-svn-id: https://develop.svn.wordpress.org/trunk@11628 602fd350-edb4-49c9-b593-d223f7449a82
2009-06-23 17:23:11 +00:00
Peter Westwood f61cd95c52 Remove the cruft. Fixes #10227 for trunk props sirzooro.
git-svn-id: https://develop.svn.wordpress.org/trunk@11619 602fd350-edb4-49c9-b593-d223f7449a82
2009-06-20 18:50:31 +00:00
Andrew Ozz d9953efdf3 Always load the Dashboard RSS widgets with AJAX, see #10133 for trunk
git-svn-id: https://develop.svn.wordpress.org/trunk@11613 602fd350-edb4-49c9-b593-d223f7449a82
2009-06-20 10:30:09 +00:00
Ryan Boren 9f59a3f223 Enforce incoming links item limit
git-svn-id: https://develop.svn.wordpress.org/trunk@11604 602fd350-edb4-49c9-b593-d223f7449a82
2009-06-19 06:08:27 +00:00
Ryan Boren 508da6167d Revert oops
git-svn-id: https://develop.svn.wordpress.org/trunk@11603 602fd350-edb4-49c9-b593-d223f7449a82
2009-06-19 06:08:03 +00:00
Ryan Boren 6550a221d7 Enforce incoming links item limit
git-svn-id: https://develop.svn.wordpress.org/trunk@11602 602fd350-edb4-49c9-b593-d223f7449a82
2009-06-19 06:07:25 +00:00
Ryan Boren 8bc92a8d4f Require all plugin page requests (?page=) to be for registered plugins pages. Provides CYA for plugins that don't do enough cap checking. action requests not bound to a plugin page still go through.
git-svn-id: https://develop.svn.wordpress.org/trunk@11595 602fd350-edb4-49c9-b593-d223f7449a82
2009-06-18 00:33:07 +00:00
Ryan Boren 1fc90bfc94 More menu fixes
git-svn-id: https://develop.svn.wordpress.org/trunk@11592 602fd350-edb4-49c9-b593-d223f7449a82
2009-06-17 19:50:38 +00:00
Andrew Ozz 7ec6c91918 Fall back to wp-tinymce.js if wp-tinymce.js.gz doesn't exist
git-svn-id: https://develop.svn.wordpress.org/trunk@11589 602fd350-edb4-49c9-b593-d223f7449a82
2009-06-17 01:06:32 +00:00
Ryan Boren ef1354b925 Increase download_url() timeout from 30 to 60. see #10104
git-svn-id: https://develop.svn.wordpress.org/trunk@11587 602fd350-edb4-49c9-b593-d223f7449a82
2009-06-16 19:39:31 +00:00
Ryan Boren de90d38205 Plugin install fixes. Props Denis-de-Bernardy. see #10192
git-svn-id: https://develop.svn.wordpress.org/trunk@11585 602fd350-edb4-49c9-b593-d223f7449a82
2009-06-16 19:36:48 +00:00
Ryan Boren 2aa1252ebe Don't write to htaccess every time page is saved. Add hard/soft flush flag to flush_rules(). Make sure fopen is successful and silence errors. Props Viper007Bond. fixes #10181 for trunk
git-svn-id: https://develop.svn.wordpress.org/trunk@11578 602fd350-edb4-49c9-b593-d223f7449a82
2009-06-16 02:44:28 +00:00
Andrew Ozz a7105d5e12 Do not reuse deleted widget instances IDs, fixes #10092 for trunk
git-svn-id: https://develop.svn.wordpress.org/trunk@11577 602fd350-edb4-49c9-b593-d223f7449a82
2009-06-15 23:57:52 +00:00
Ryan Boren bffd0d6549 Return empty array instead of false from get_editable_user_ids. Props Denis-de-Bernardy, pairg. fixes #10119 for trunk
git-svn-id: https://develop.svn.wordpress.org/trunk@11571 602fd350-edb4-49c9-b593-d223f7449a82
2009-06-15 17:48:42 +00:00
Ryan Boren cdd72d2b01 Fix fatal error in incoming links dashboard module when author not defined. Props jikamens. fixes #10162 for trunk
git-svn-id: https://develop.svn.wordpress.org/trunk@11569 602fd350-edb4-49c9-b593-d223f7449a82
2009-06-15 16:56:51 +00:00
Ryan Boren ed53923a3b Menu fixes
git-svn-id: https://develop.svn.wordpress.org/trunk@11565 602fd350-edb4-49c9-b593-d223f7449a82
2009-06-15 00:22:53 +00:00
Andrew Ozz 5e42829001 Fix typo, props morfiusx and Denis-de-Bernardy, fixes #10137 for trunk
git-svn-id: https://develop.svn.wordpress.org/trunk@11564 602fd350-edb4-49c9-b593-d223f7449a82
2009-06-14 09:28:29 +00:00
Andrew Ozz a8563f5d00 Fix typo in update-core.php, props takayukister, fixes #10140 for trunk
git-svn-id: https://develop.svn.wordpress.org/trunk@11561 602fd350-edb4-49c9-b593-d223f7449a82
2009-06-14 08:04:26 +00:00
Andrew Ozz bc96c76ad6 Fix the flash uploader button font, props demetris, fixes #10113 for trunk
git-svn-id: https://develop.svn.wordpress.org/trunk@11559 602fd350-edb4-49c9-b593-d223f7449a82
2009-06-13 09:37:19 +00:00
Ryan Boren 8445516c42 Check delete caps for delete action links. Props johnbillion. fixes #10121 for trunk
git-svn-id: https://develop.svn.wordpress.org/trunk@11555 602fd350-edb4-49c9-b593-d223f7449a82
2009-06-12 13:41:17 +00:00
Andrew Ozz 9c15878e5a Fix plugin version check when updating, props dd32, fixes #10058
git-svn-id: https://develop.svn.wordpress.org/trunk@11541 602fd350-edb4-49c9-b593-d223f7449a82
2009-06-10 10:16:00 +00:00
Andrew Ozz c3ae630564 Fix permission check on Edit Pages screen, props johnbillion, fixes #10074
git-svn-id: https://develop.svn.wordpress.org/trunk@11535 602fd350-edb4-49c9-b593-d223f7449a82
2009-06-09 03:38:38 +00:00
Andrew Ozz 4876c3ce71 Don't show Change Permalinks button when user doesn't have permission, props johnbillion, fixes #10072
git-svn-id: https://develop.svn.wordpress.org/trunk@11534 602fd350-edb4-49c9-b593-d223f7449a82
2009-06-08 21:42:35 +00:00
Andrew Ozz ed7d206ac1 Allow CodePress to be disabled from Screen Options, see #10027
git-svn-id: https://develop.svn.wordpress.org/trunk@11530 602fd350-edb4-49c9-b593-d223f7449a82
2009-06-07 01:52:44 +00:00
Andrew Ozz 0e475b2e29 WP Upgrader improvements, props DD32, fixes #9836
git-svn-id: https://develop.svn.wordpress.org/trunk@11525 602fd350-edb4-49c9-b593-d223f7449a82
2009-06-06 08:14:41 +00:00