Commit Graph

1642 Commits

Author SHA1 Message Date
markjaquith
8a3607998c 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: http://svn.automattic.com/wordpress/trunk@12352 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-12-10 07:04:01 +00:00
markjaquith
bf264bb66d Post/Page Image was too generic a name. Post/Page Thumbnail is more clear, even if you can create very large thumbnail images if you so choose.
git-svn-id: http://svn.automattic.com/wordpress/trunk@12351 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-12-10 06:14:36 +00:00
ryan
1c90385918 Allow registering post image support per post type. fixes #11364
git-svn-id: http://svn.automattic.com/wordpress/trunk@12350 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-12-09 15:39:20 +00:00
westi
944bdb29a6 s/size/s/ fixes #11370 props nacin.
git-svn-id: http://svn.automattic.com/wordpress/trunk@12346 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-12-09 09:44:53 +00:00
markjaquith
df73d335a9 Yet more standardization around Post/Page Image instead of Post/Page Thumbnail
git-svn-id: http://svn.automattic.com/wordpress/trunk@12344 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-12-08 21:27:53 +00:00
markjaquith
f74935eb92 More standardization around Post/Page Image instead of Post/Page Thumbnail
git-svn-id: http://svn.automattic.com/wordpress/trunk@12343 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-12-08 21:24:32 +00:00
markjaquith
dc8492b9f5 Introducing set_post_image_size(w, h, crop) so themes can register their special size/crop for canonical post images. WP will create this size/crop upon upload, so your canonical post images fit your space exactly!
git-svn-id: http://svn.automattic.com/wordpress/trunk@12342 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-12-08 21:08:19 +00:00
matt
cff2ea75c7 Cast out the lowercase P demons that snuck in. http://www.google.com/search?q=out+out+you+demons+of+stupidity
git-svn-id: http://svn.automattic.com/wordpress/trunk@12341 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-12-08 19:59:34 +00:00
markjaquith
0415ab7b42 Standardize around "post image" instead of "post thumbnail"
git-svn-id: http://svn.automattic.com/wordpress/trunk@12339 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-12-08 16:34:04 +00:00
ryan
d3c9fbd0c8 Use stripslashes_deep to strip meta values. Props JonathanRogers, Sewar. fixes #10656
git-svn-id: http://svn.automattic.com/wordpress/trunk@12336 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-12-08 00:48:39 +00:00
markjaquith
0fa00fd809 Re-enable trash link appearance on autosave. fixes #11351
git-svn-id: http://svn.automattic.com/wordpress/trunk@12330 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-12-07 16:38:04 +00:00
ryan
d3e30f2ff6 Drop autoload index from schema. Tweak key layout to satisdy dbDelta. Props nacin. fixes #11322 #2699
git-svn-id: http://svn.automattic.com/wordpress/trunk@12329 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-12-07 13:57:18 +00:00
markjaquith
408b217622 Reverting [12324] and [12322] after some discussion.
git-svn-id: http://svn.automattic.com/wordpress/trunk@12328 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-12-07 04:31:44 +00:00
markjaquith
9b9c09aafe Make codex link open in a new window
git-svn-id: http://svn.automattic.com/wordpress/trunk@12324 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-12-06 17:30:56 +00:00
westi
854d93f0e9 Revert the string change to the Discussion meta box as this is a generic box for multiple post types. Fixes #11346.
git-svn-id: http://svn.automattic.com/wordpress/trunk@12323 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-12-06 17:05:49 +00:00
markjaquith
8b8dbd3205 Display Post/Page Thumbnail meta box even if theme does not support it -- just display an info message. props janeforshort
git-svn-id: http://svn.automattic.com/wordpress/trunk@12322 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-12-06 17:02:51 +00:00
azaozz
dd81243d16 Validate date/time fields for posts and comments, fixes #10309
git-svn-id: http://svn.automattic.com/wordpress/trunk@12318 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-12-03 09:56:20 +00:00
azaozz
9b3f5be113 Swap Spam and Trash in comment action links, fixes #11258
git-svn-id: http://svn.automattic.com/wordpress/trunk@12311 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-12-01 22:05:03 +00:00
ryan
8b5ba8c556 Fix file validation in theme editor. Props dd32. fixes #11032
git-svn-id: http://svn.automattic.com/wordpress/trunk@12310 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-12-01 22:03:13 +00:00
ryan
e5d2d65a36 Standardize on 'Undo'. Props caesarsgrunt. fixes #11299
git-svn-id: http://svn.automattic.com/wordpress/trunk@12308 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-12-01 20:00:33 +00:00
azaozz
fded0ca661 Remove oEmbed references and auto-insert of shortcodes from the UI, fixes #11288
git-svn-id: http://svn.automattic.com/wordpress/trunk@12304 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-12-01 09:22:48 +00:00
ryan
97bf1f11bd Save parent temp ID for unattached attachments in postmeta. Props scribu. fixes #9471
git-svn-id: http://svn.automattic.com/wordpress/trunk@12298 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-11-30 21:41:52 +00:00
azaozz
8f3af1eb02 Hide Cancel link in the browser uploader on Media Library screen.
git-svn-id: http://svn.automattic.com/wordpress/trunk@12297 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-11-30 20:58:12 +00:00
ryan
0874bf7d4f escape hrefs. Props Denis-de-Bernardy. fixes #10056
git-svn-id: http://svn.automattic.com/wordpress/trunk@12295 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-11-30 16:55:50 +00:00
azaozz
00a9b90dc9 Flash through red when sending an item to the trash, flash through green when undoing it, props caesarsgrunt, see #4529
git-svn-id: http://svn.automattic.com/wordpress/trunk@12289 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-11-28 02:56:15 +00:00
azaozz
2a8e03ae14 Reorder comment actions, fixes #11258
git-svn-id: http://svn.automattic.com/wordpress/trunk@12287 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-11-27 12:57:35 +00:00
azaozz
fe29434e05 Undo for setting a comment as spam, props caesarsgrunt, fixes #11260, see #4529
git-svn-id: http://svn.automattic.com/wordpress/trunk@12286 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-11-27 10:34:09 +00:00
azaozz
e0f5abc2d3 Fix notice in bulk edit posts, props dd32, fixes #11184
git-svn-id: http://svn.automattic.com/wordpress/trunk@12285 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-11-26 11:41:37 +00:00
azaozz
c3f7df6b24 Fix notices and phpdoc, props hakre, fixes #10758
git-svn-id: http://svn.automattic.com/wordpress/trunk@12284 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-11-26 11:29:54 +00:00
azaozz
281f46ecbd Fix typo, props nacin, fixes #8557
git-svn-id: http://svn.automattic.com/wordpress/trunk@12283 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-11-26 08:13:31 +00:00
azaozz
42379cb215 Swap the Flip horizontally and Flip vertically buttons in the image editor so they are more understandable, props scribu, fixes #11171
git-svn-id: http://svn.automattic.com/wordpress/trunk@12281 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-11-26 07:49:44 +00:00
ryan
9d68962762 Apply editable_slug filter in more places. Props dwright. fixes #10966
git-svn-id: http://svn.automattic.com/wordpress/trunk@12277 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-11-25 15:11:57 +00:00
ryan
049b5321d6 Check action type to avoid warnings. Props sirzooro. fixes #11203
git-svn-id: http://svn.automattic.com/wordpress/trunk@12272 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-11-24 16:46:23 +00:00
ryan
1ddec52d4e Fix wpfs root dir location. Props dd32. fixes #11152
git-svn-id: http://svn.automattic.com/wordpress/trunk@12268 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-11-23 21:52:13 +00:00
ryan
97b5a5f483 Improve IIS rewrite support. Props ruslany, peaceablewhale. fixes #10386
git-svn-id: http://svn.automattic.com/wordpress/trunk@12264 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-11-23 18:17:46 +00:00
westi
908c4a24ca Use _x() not _c(). See #6362 fixes #11228 props filosofo.
git-svn-id: http://svn.automattic.com/wordpress/trunk@12259 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-11-22 22:22:25 +00:00
westi
37288a03d1 Make sure the translated urls are attribute safe using esc_attr(). See #11008.
git-svn-id: http://svn.automattic.com/wordpress/trunk@12258 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-11-22 12:11:18 +00:00
westi
d2f6a94dc3 Use _x() not _c() as we want to use the gettext contexts.
git-svn-id: http://svn.automattic.com/wordpress/trunk@12256 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-11-22 11:50:16 +00:00
westi
f8b76874f9 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: http://svn.automattic.com/wordpress/trunk@12255 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-11-22 10:34:37 +00:00
westi
3e9c8dd010 Don't show page templates in the drop down if they are in a subdirectory. Fixes #10959 props scribu.
git-svn-id: http://svn.automattic.com/wordpress/trunk@12253 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-11-21 10:05:19 +00:00
westi
8b56354285 Let autop handle the first post. See #11008.
git-svn-id: http://svn.automattic.com/wordpress/trunk@12252 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-11-21 09:43:45 +00:00
ryan
6d1ba22c9d Fix warnings
git-svn-id: http://svn.automattic.com/wordpress/trunk@12246 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-11-20 19:46:10 +00:00
ryan
3e17d8b880 Remove reference to non-existent field. Props scribu. fixes #11098
git-svn-id: http://svn.automattic.com/wordpress/trunk@12242 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-11-20 15:26:14 +00:00
azaozz
c8dd53cdc3 Submit the "Save all changes" form by pressing Enter, props abackstrom, fixes #8557
git-svn-id: http://svn.automattic.com/wordpress/trunk@12240 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-11-20 06:07:54 +00:00
azaozz
85b81cc6cf Escape $title in dashboard Recent Drafts to reveal HTML tags, props Simek, fixes #11128
git-svn-id: http://svn.automattic.com/wordpress/trunk@12235 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-11-20 01:31:06 +00:00
ryan
1e2349258f Allow link rating of 10. Props ProDevStudio. fixes #11165
git-svn-id: http://svn.automattic.com/wordpress/trunk@12233 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-11-19 23:07:53 +00:00
ryan
48b9a9f2bb Fix db version logic error. Props miqrogroove. fixes #10994
git-svn-id: http://svn.automattic.com/wordpress/trunk@12232 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-11-19 22:53:03 +00:00
ryan
c831a9e3ef Add context to strings. Props nbachiyski. fixes #10738
git-svn-id: http://svn.automattic.com/wordpress/trunk@12231 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-11-19 22:49:16 +00:00
westi
492be21173 Some admin copy improvements fixes. #6362 props xenlab and ninjaWR.
git-svn-id: http://svn.automattic.com/wordpress/trunk@12228 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-11-19 22:16:16 +00:00
ryan
605710b8c6 gettext fix. Props takayukister. fixes #11188
git-svn-id: http://svn.automattic.com/wordpress/trunk@12227 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-11-19 22:04:53 +00:00
westi
9a1a22076f Revert [12187] as it didn't fix the issue for all cases. See #10959.
git-svn-id: http://svn.automattic.com/wordpress/trunk@12225 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-11-19 19:53:27 +00:00
ryan
06bab5e3ff Pass args to settings field callback. Props hanilovesme, scribu. fixes #11143
git-svn-id: http://svn.automattic.com/wordpress/trunk@12220 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-11-19 17:37:50 +00:00
ryan
4e09fd327c Check DB ver 12217. see #2699
git-svn-id: http://svn.automattic.com/wordpress/trunk@12218 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-11-19 16:43:38 +00:00
ryan
6189a6fce2 Make option_id primary. Add uniques for option_name and autoload. see #2699
git-svn-id: http://svn.automattic.com/wordpress/trunk@12217 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-11-19 16:42:07 +00:00
azaozz
f2dc806c22 Add sidebar descriptions to sidebar settings and widget admin screen, props jeremyclarke scribu, fixes #11157
git-svn-id: http://svn.automattic.com/wordpress/trunk@12213 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-11-19 09:12:16 +00:00
westi
ccbf5061c9 First pass first post improvements. See #11008 props demetris.
git-svn-id: http://svn.automattic.com/wordpress/trunk@12212 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-11-18 22:45:24 +00:00
ryan
4615f5b809 Delete old magpie cache options. Props Denis-de-Bernardy. fixes #10592
git-svn-id: http://svn.automattic.com/wordpress/trunk@12210 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-11-18 22:04:07 +00:00
ryan
47001b4c43 Don't destruct if WP_Error. Props scribu. fixes #11168
git-svn-id: http://svn.automattic.com/wordpress/trunk@12209 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-11-18 21:52:38 +00:00
ryan
cb8cc5ffb6 Use preg_replace_callback to eliminate eval. Props BenBE1987. fixes #10896
git-svn-id: http://svn.automattic.com/wordpress/trunk@12198 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-11-17 19:25:01 +00:00
azaozz
95ee97e9ad Add labels to image info in the media library, fixes #8886
git-svn-id: http://svn.automattic.com/wordpress/trunk@12195 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-11-17 00:11:49 +00:00
ryan
7154852c94 Force destruction of SimplePie objects for versions of PHP that don't release memory properly. Props arena, scribu. fixes #11074
git-svn-id: http://svn.automattic.com/wordpress/trunk@12193 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-11-16 22:42:58 +00:00
azaozz
f53bef8bd9 Don't show trashed attachments in gallery tab count, props aldenta, fixes #11147
git-svn-id: http://svn.automattic.com/wordpress/trunk@12190 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-11-16 07:54:02 +00:00
azaozz
903ff7a22f Fix style of text fields in IE6 in the uploader, better regex for Link URL presets buttons
git-svn-id: http://svn.automattic.com/wordpress/trunk@12189 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-11-16 07:16:34 +00:00
azaozz
573c9fe1e4 Fix improper selection of radio buttons, improve JS for storing image settings, fixes #11021
git-svn-id: http://svn.automattic.com/wordpress/trunk@12188 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-11-16 01:37:30 +00:00
westi
9f98c68fd2 Ensure that page templates in a subdir of a theme work correctly. Fixes #10959 based on patch from scribu.
git-svn-id: http://svn.automattic.com/wordpress/trunk@12187 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-11-13 22:40:40 +00:00
ryan
7a2fa88b6f bulk should default to false. fixes #11130
git-svn-id: http://svn.automattic.com/wordpress/trunk@12186 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-11-13 21:28:40 +00:00
azaozz
fb0d8b44ee Fix image meta after editing image, disable the Save button when no changes, fixes #11115
git-svn-id: http://svn.automattic.com/wordpress/trunk@12163 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-11-11 11:24:01 +00:00
azaozz
fb1bb44d60 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: http://svn.automattic.com/wordpress/trunk@12162 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-11-10 10:38:19 +00:00
azaozz
1c24715413 Don't pre-fill empty image alt when inserting into a post.
git-svn-id: http://svn.automattic.com/wordpress/trunk@12161 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-11-10 00:09:40 +00:00
ryan
2bf341d5d5 Put site into maintenance mode during bulk plugin upgrade. Skip plugin deactivate/activate. Add compatibility info. see #10973
git-svn-id: http://svn.automattic.com/wordpress/trunk@12157 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-11-09 18:53:21 +00:00
azaozz
73a0105b1a 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: http://svn.automattic.com/wordpress/trunk@12155 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-11-07 11:20:09 +00:00
azaozz
48dded5492 Fix typo, props Harald Nesland, fixes #11002
git-svn-id: http://svn.automattic.com/wordpress/trunk@12152 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-11-06 10:53:41 +00:00
azaozz
bb8c764a52 Add phpdoc and extra filter to file.php, props dd32, fixes #11002
git-svn-id: http://svn.automattic.com/wordpress/trunk@12151 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-11-05 23:03:48 +00:00
ryan
2498bb6cae Bring in wp_handle_upload_prefilter from MU
git-svn-id: http://svn.automattic.com/wordpress/trunk@12142 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-11-05 14:24:20 +00:00
azaozz
59c0c60e1c 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: http://svn.automattic.com/wordpress/trunk@12139 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-11-03 08:28:59 +00:00
ryan
41823a3171 Call get_post_image_id() only if current_theme_supports( 'post-thumbnails' ).
git-svn-id: http://svn.automattic.com/wordpress/trunk@12137 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-11-02 18:00:41 +00:00
ryan
cca2279a4d Switch oEmbed option to control discovery. Tweak whitelist and settings page. Props Viper007Bond. see #10337
git-svn-id: http://svn.automattic.com/wordpress/trunk@12136 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-11-02 14:41:35 +00:00
azaozz
a55fd568d4 Trash undo for the uploader, props caesarsgrunt, see #4529
git-svn-id: http://svn.automattic.com/wordpress/trunk@12130 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-10-30 07:09:55 +00:00
azaozz
dec601ae27 Fix tag input tip in IE
git-svn-id: http://svn.automattic.com/wordpress/trunk@12114 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-10-27 08:43:17 +00:00
markjaquith
34f36995f2 Consolidate post_mime_type code. props scribu. fixes #10992
git-svn-id: http://svn.automattic.com/wordpress/trunk@12110 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-10-26 17:56:28 +00:00
ryan
3fc2cea52e Export and import custom taxonomies. Props chrisscott. fixes #10012
git-svn-id: http://svn.automattic.com/wordpress/trunk@12109 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-10-26 13:57:55 +00:00
azaozz
63732badd5 Add subtitles and opening/closing DIVs on GUU results screen, see #10973
git-svn-id: http://svn.automattic.com/wordpress/trunk@12107 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-10-26 07:04:30 +00:00
azaozz
791cebe932 Typo fixes, props dd32, fixes #11030
git-svn-id: http://svn.automattic.com/wordpress/trunk@12104 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-10-25 17:30:58 +00:00
westi
5188723e01 Fix some login typos. Fixes #11031 props filosofo.
git-svn-id: http://svn.automattic.com/wordpress/trunk@12100 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-10-25 09:28:20 +00:00
azaozz
f5c253376e 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: http://svn.automattic.com/wordpress/trunk@12098 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-10-24 11:43:42 +00:00
ryan
4ff21e0cd3 Plugin bulk upgrade rough in. see #10973
git-svn-id: http://svn.automattic.com/wordpress/trunk@12097 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-10-23 21:49:12 +00:00
markjaquith
0bb1056228 Save some clicks and optimize for the Upload, Set as thumbnail flow. props scribu. see #10928
git-svn-id: http://svn.automattic.com/wordpress/trunk@12081 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-10-21 07:27:33 +00:00
westi
93b71da3bc Update version info in phpDoc for _admin_notice_post_locked() see #10729.
git-svn-id: http://svn.automattic.com/wordpress/trunk@12069 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-10-20 17:02:22 +00:00
ryan
6f5c3fb7cf Start roughing in GUU. see #10973
git-svn-id: http://svn.automattic.com/wordpress/trunk@12066 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-10-20 16:11:59 +00:00
westi
a2e61f480c Display a smaller filename in the theme editor urls and make theme files editable again. Fixes #10974.
git-svn-id: http://svn.automattic.com/wordpress/trunk@12063 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-10-19 21:39:04 +00:00
markjaquith
22518cefe2 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: http://svn.automattic.com/wordpress/trunk@12061 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-10-19 21:10:46 +00:00
azaozz
76f6b9706e Merge set-post-thumbnail-handler.js with post.js, move Post Thumbnail meta-box to /includes/meta-boxes.php, see #10928
git-svn-id: http://svn.automattic.com/wordpress/trunk@12060 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-10-19 20:23:35 +00:00
markjaquith
d3f3b6bed1 Only show Use for thumbnail link for image attachments. see #10928
git-svn-id: http://svn.automattic.com/wordpress/trunk@12059 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-10-19 16:36:21 +00:00
azaozz
7e9d95d543 Separate fields for image alt and image caption in the uploader.
git-svn-id: http://svn.automattic.com/wordpress/trunk@12055 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-10-19 05:09:41 +00:00
azaozz
9783a2415a Properly escape filename when sending to editor, props hakre sivel, fixes #10252
git-svn-id: http://svn.automattic.com/wordpress/trunk@12051 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-10-18 06:14:16 +00:00
westi
d303a241d1 Ensure that Title is always set for plugin data as it was before. see #8964.
git-svn-id: http://svn.automattic.com/wordpress/trunk@12048 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-10-17 17:01:07 +00:00
westi
c26e33b939 Allow for plugins to enhance the number of metadata fields captured from plugin and theme headers. See #8964 props strider72.
git-svn-id: http://svn.automattic.com/wordpress/trunk@12044 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-10-15 21:07:00 +00:00
ryan
bf96c01551 Associate subdirector of whitespace trims trailing whites with pinking shears.
git-svn-id: http://svn.automattic.com/wordpress/trunk@12042 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-10-15 20:26:21 +00:00
markjaquith
af407e7e3f Post thumbnail removal functionality (only allowed for replacement before). props scribu. see #10928
git-svn-id: http://svn.automattic.com/wordpress/trunk@12036 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-10-15 12:57:16 +00:00
westi
40e0b16615 Page Templates now have there full path specified so no need to prepend WP_CONTENT_DIR. Fixes #10953 props sivel.
git-svn-id: http://svn.automattic.com/wordpress/trunk@12033 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-10-14 20:46:09 +00:00
azaozz
c790ebcdd9 Remove remains from the old bookmarklet code
git-svn-id: http://svn.automattic.com/wordpress/trunk@12029 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-10-14 05:53:49 +00:00
ryan
9dbf6545f0 Request only as many incoming links and we'll display. Props niallkennedy. fixes #10685
git-svn-id: http://svn.automattic.com/wordpress/trunk@12026 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-10-13 22:04:54 +00:00
markjaquith
d86259fcb1 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: http://svn.automattic.com/wordpress/trunk@12025 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-10-13 19:06:35 +00:00
ryan
410fcc2e42 Embeds. Props Viper007Bond. see #10337
git-svn-id: http://svn.automattic.com/wordpress/trunk@12023 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-10-13 17:04:22 +00:00
azaozz
b2966fba30 Merge post.js with page.js and slug.js, optimize categories and tags JS, standardize postboxes IDs and JS.
git-svn-id: http://svn.automattic.com/wordpress/trunk@12022 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-10-13 10:02:42 +00:00
markjaquith
a0cd792aae Constrain admin thumbnail display to width of meta box while in sidebar. Add filters.
git-svn-id: http://svn.automattic.com/wordpress/trunk@12018 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-10-10 07:41:42 +00:00
azaozz
ee12f818b7 Adjust comment moderation shortcut keys: d = trash or delete depending on the screen
git-svn-id: http://svn.automattic.com/wordpress/trunk@12016 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-10-09 23:28:06 +00:00
azaozz
4b53a32f07 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: http://svn.automattic.com/wordpress/trunk@12015 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-10-09 09:02:22 +00:00
azaozz
d20c23e98d Add Undo when moving comments to the trash, remove unneeded nonces, see #4529
git-svn-id: http://svn.automattic.com/wordpress/trunk@12008 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-10-08 08:24:59 +00:00
markjaquith
d7a30e235f First pass on canonical post thumbanils. Admin-side GUI only. Theme functions to follow. see #10928
git-svn-id: http://svn.automattic.com/wordpress/trunk@12007 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-10-07 22:18:09 +00:00
westi
923a3ade8a Remove the php-gettext library as we don't use it anymore. Fixes #9751.
git-svn-id: http://svn.automattic.com/wordpress/trunk@12006 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-10-07 20:42:05 +00:00
ryan
fd3f0ac99f Disable codepress. Maintained replacement needed.
git-svn-id: http://svn.automattic.com/wordpress/trunk@12005 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-10-07 15:22:23 +00:00
ryan
16475c9588 Add post_submitbox_misc_actions action. Props mdawaffe
git-svn-id: http://svn.automattic.com/wordpress/trunk@12000 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-10-06 20:17:21 +00:00
westi
627e7b3e6c Update pclzip to 2.8.2 - Fixes #10650 and #10777.
Includes:
 * Removal of eval()s
 * Merge WordPress 64 bit fix upstream

git-svn-id: http://svn.automattic.com/wordpress/trunk@11993 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-10-01 21:04:57 +00:00
ryan
966af43a1d Improve inline documentation for register_setting(). Props filosofo. fixes #10368
git-svn-id: http://svn.automattic.com/wordpress/trunk@11991 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-10-01 17:54:24 +00:00
ryan
d89bf58bd3 Pass args to mysql2date() in the correct order. Props filosofo, fabifott. fixes #10866
git-svn-id: http://svn.automattic.com/wordpress/trunk@11989 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-10-01 17:50:28 +00:00
ryan
3ab19e267d Show link back to post for pingbacks in the recent comments dashboard widget. Props scribu. fixes #10622
git-svn-id: http://svn.automattic.com/wordpress/trunk@11988 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-10-01 17:42:33 +00:00
markjaquith
9109450809 Surface "Move to Trash" link for posts/pages immediately after first autosave fires. Props cross country flight. fixes #10344
git-svn-id: http://svn.automattic.com/wordpress/trunk@11986 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-10-01 11:44:18 +00:00
azaozz
4e20ae5719 Image Editor: fix refreshing of the thumbnail, use WP_Http_Fopen::test(), see #10528
git-svn-id: http://svn.automattic.com/wordpress/trunk@11985 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-09-30 23:39:09 +00:00
azaozz
6f099a9117 Image Editor: add load and save image filters, fix backup sizes meta, see #10528
git-svn-id: http://svn.automattic.com/wordpress/trunk@11984 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-09-30 08:38:32 +00:00
azaozz
111ffda455 htmlspecialchars after apply_filters, props Viper007Bond, see #10858
git-svn-id: http://svn.automattic.com/wordpress/trunk@11983 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-09-29 10:28:08 +00:00
azaozz
856e319884 Press This: editor fixes and CSS tweaks for IE6/7
git-svn-id: http://svn.automattic.com/wordpress/trunk@11982 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-09-29 09:46:13 +00:00
ryan
5224680c4d 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: http://svn.automattic.com/wordpress/trunk@11980 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-09-28 14:36:48 +00:00
azaozz
0630337d8e Apply "comment_edit_pre" filter when quick-editing comments, props Viper007Bond, fixes #10858
git-svn-id: http://svn.automattic.com/wordpress/trunk@11975 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-09-26 22:28:22 +00:00
azaozz
ba74883676 TinyMCE 3.2.7
git-svn-id: http://svn.automattic.com/wordpress/trunk@11974 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-09-26 08:33:16 +00:00
azaozz
1e611d37da Image Editor: fix preview size calculation when cropping small part of a very large image, see #10528
git-svn-id: http://svn.automattic.com/wordpress/trunk@11973 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-09-26 04:07:27 +00:00
ryan
57f26bb58e Remove trailing whitespace
git-svn-id: http://svn.automattic.com/wordpress/trunk@11971 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-09-24 17:19:13 +00:00
ryan
ead46cf470 Actions for postmeta updates. Props Demitrious Kelly. see #10750
git-svn-id: http://svn.automattic.com/wordpress/trunk@11968 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-09-24 17:10:28 +00:00
azaozz
33836d522b Image Editor: fix JS prompt, add size to 'load_image_to_edit' filter, see #10528
git-svn-id: http://svn.automattic.com/wordpress/trunk@11967 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-09-24 08:47:33 +00:00
markjaquith
c664315b01 Active plugin filter, plugin deactivation array_splice() protection. props apeatling. fixes #10839
git-svn-id: http://svn.automattic.com/wordpress/trunk@11966 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-09-24 04:15:37 +00:00
azaozz
48932f96fe Image Editor improvements, see #10528
git-svn-id: http://svn.automattic.com/wordpress/trunk@11965 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-09-24 01:54:07 +00:00
westi
a86aa7b399 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: http://svn.automattic.com/wordpress/trunk@11963 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-09-23 07:06:58 +00:00
westi
7ee91c9aeb 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: http://svn.automattic.com/wordpress/trunk@11962 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-09-23 06:59:20 +00:00
markjaquith
a131ad469e Eliminate the redundant and confusing comment threading depth of 1. Threading starts at 2 now. fixes #10829
git-svn-id: http://svn.automattic.com/wordpress/trunk@11958 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-09-22 06:00:46 +00:00
ryan
5e4dc4dfd4 get_delete_post_link()
git-svn-id: http://svn.automattic.com/wordpress/trunk@11956 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-09-21 21:33:00 +00:00
ryan
ef17b0b875 Key should be comment_id not post_id. see #2659
git-svn-id: http://svn.automattic.com/wordpress/trunk@11955 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-09-21 18:09:21 +00:00
ryan
8a0bafef24 Special case comment type 'all'. Fixes comment search. fixes #10463
git-svn-id: http://svn.automattic.com/wordpress/trunk@11954 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-09-21 14:43:31 +00:00
westi
e803c73428 Switch round some quotes. Fixes #10669 props niallkennedy
git-svn-id: http://svn.automattic.com/wordpress/trunk@11953 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-09-20 13:49:20 +00:00
westi
be1ff7ace1 Fix user creation from admin after changes for #10751. Fixes #10811 props alexkingorg.
git-svn-id: http://svn.automattic.com/wordpress/trunk@11950 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-09-18 20:47:24 +00:00
westi
ef11608c43 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: http://svn.automattic.com/wordpress/trunk@11945 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-09-17 20:51:12 +00:00
ryan
607ec769f0 Press This fixes. Props noel. fixes #10784
git-svn-id: http://svn.automattic.com/wordpress/trunk@11944 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-09-17 20:36:59 +00:00
westi
c67e70dd91 First pass commentmeta implementation. See #2659 props scribu.
git-svn-id: http://svn.automattic.com/wordpress/trunk@11943 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-09-17 20:17:33 +00:00
azaozz
103ba096a7 Include 'hidden' directories in filesystem dirlist by default, props dd32, fixes #10774
git-svn-id: http://svn.automattic.com/wordpress/trunk@11934 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-09-15 02:21:00 +00:00
westi
55c0ecb52f phpDoc subpackage is Administration not Admin.
git-svn-id: http://svn.automattic.com/wordpress/trunk@11933 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-09-14 21:13:25 +00:00
ryan
8e3808bce2 Remove trailing whitespace
git-svn-id: http://svn.automattic.com/wordpress/trunk@11930 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-09-14 14:03:32 +00:00
ryan
aa1e377ede Filter fields through kses upon display. Introduce sanitize_user_object() and sanitize_user_field(). see #10751
git-svn-id: http://svn.automattic.com/wordpress/trunk@11929 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-09-14 13:57:48 +00:00
azaozz
3709397168 Explain that the permalink is temporary for autosave generated permalinks, fixes #7733
git-svn-id: http://svn.automattic.com/wordpress/trunk@11928 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-09-14 02:06:33 +00:00
azaozz
3d8c41869d Plugin/Theme installer: Do not bail if empty destination directory exists, props dd32, fixes #10775
git-svn-id: http://svn.automattic.com/wordpress/trunk@11926 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-09-13 23:00:45 +00:00
westi
dbc8095e53 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: http://svn.automattic.com/wordpress/trunk@11925 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-09-13 21:18:55 +00:00
azaozz
a8ccdb1d62 Fix pagination in Media Library after moving items to trash
git-svn-id: http://svn.automattic.com/wordpress/trunk@11924 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-09-13 17:58:55 +00:00