Commit Graph

1620 Commits

Author SHA1 Message Date
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