Commit Graph

5755 Commits

Author SHA1 Message Date
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 1d9c71611a Fix Right Now comments counts when only one comment exists
git-svn-id: http://svn.automattic.com/wordpress/trunk@12294 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-11-30 01:53:25 +00:00
azaozz dafb319ebe Fix Right Now comments counts for trash, spam or undo.
git-svn-id: http://svn.automattic.com/wordpress/trunk@12293 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-11-30 00:49:33 +00:00
azaozz f33e161d18 Tweak colors for trash, spam and undo of comments, fix IE6/7 background for unapproved comments, fix JS error in IE6/7, props caesarsgrunt, see #4529
git-svn-id: http://svn.automattic.com/wordpress/trunk@12291 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-11-29 10:29:12 +00:00
azaozz f296da8169 "Trash" fixes, props caesarsgrunt, see #4529
git-svn-id: http://svn.automattic.com/wordpress/trunk@12290 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-11-28 03:56:20 +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 3fb83c89e9 Reset notice after restoring a comment from the trash, props caesarsgrunt, fixes #11223
git-svn-id: http://svn.automattic.com/wordpress/trunk@12282 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-11-26 08:04:25 +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
azaozz fc341ce3ab Stop the fade-out of the Undo notices on Edit Comments screen, props caesarsgrunt, fixes #11259, see #4529
git-svn-id: http://svn.automattic.com/wordpress/trunk@12278 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-11-26 04:37:39 +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
azaozz 6efcb2913a Autop: add fieldset to blocks, remove support for empty <p> for now, fix block in block problems when switching the editor from visual to html and back, fixes #8644
git-svn-id: http://svn.automattic.com/wordpress/trunk@12275 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-11-25 09:50:20 +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 5c5b0ddaff Filter imported comments
git-svn-id: http://svn.automattic.com/wordpress/trunk@12270 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-11-24 14:40:25 +00:00
ryan 55c131eb14 Filter imported comments
git-svn-id: http://svn.automattic.com/wordpress/trunk@12269 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-11-24 14:00:41 +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
ryan bc718b550a Standardize RTL admin fonts. Props yoavf. fixes #11239
git-svn-id: http://svn.automattic.com/wordpress/trunk@12262 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-11-23 16:10:06 +00:00
westi b912aa2012 Allow plugins to change the redirect on post/page publishing/submitting. Fixes #10929 props johnjosephbachir and johnbillion.
git-svn-id: http://svn.automattic.com/wordpress/trunk@12260 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-11-22 22:30:27 +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 4cb414fc17 Restore 'Add New Themes' menu name. Props nacin. fixes #10738
git-svn-id: http://svn.automattic.com/wordpress/trunk@12248 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-11-20 21:59:34 +00:00
ryan 61962c4eb5 Use correct variable name. Props sirzooro. fixes #11204
git-svn-id: http://svn.automattic.com/wordpress/trunk@12247 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-11-20 20:12:01 +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 1bc25890e2 Show errors when minimum requirements are not met when installing, props dd32 Denis-de-Bernardy, fixes #9474
git-svn-id: http://svn.automattic.com/wordpress/trunk@12238 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-11-20 04:11:01 +00:00
azaozz b48cf4a3e3 Do not show entities when inserting newly added category in the parents dropdown, props aldenta, fixes #11182
git-svn-id: http://svn.automattic.com/wordpress/trunk@12236 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-11-20 01:54:12 +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
azaozz 4200c001cb Specify background color for input elements, props hakre, fixes #10881
git-svn-id: http://svn.automattic.com/wordpress/trunk@12234 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-11-19 23:46:23 +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 101751921b Add media_row_actions filter. Props holizz. fixes #9172
git-svn-id: http://svn.automattic.com/wordpress/trunk@12221 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-11-19 17:46:07 +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 bfd2b650ee Don't show page statuses with 0 pages. Props batmoo. fixes #11180
git-svn-id: http://svn.automattic.com/wordpress/trunk@12219 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-11-19 17:04:44 +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 51aaa9c7c3 Fix removal of .form-invalid in IE, props aldenta, fixes #11181
git-svn-id: http://svn.automattic.com/wordpress/trunk@12215 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-11-19 10:24:14 +00:00
azaozz 42df991367 Check if $_SERVER['HTTP_ACCEPT_ENCODING'] is set before determining whether to compress scripts, props nacin, fixes #11169
git-svn-id: http://svn.automattic.com/wordpress/trunk@12214 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-11-19 09:46: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 3e76803fbf Add core_upgrade_preamble action. Props Denis-de-Bernardy. see #10973
git-svn-id: http://svn.automattic.com/wordpress/trunk@12204 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-11-17 22:49:00 +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 d1f60c88f0 Fix pagination on the Unattached tab in the media library, show Attach in the "Attached to" column for orphan attachments
git-svn-id: http://svn.automattic.com/wordpress/trunk@12196 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-11-17 03:08:38 +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
westi 92ffc891e0 Fix the editing of stylesheet files in the theme editor.
git-svn-id: http://svn.automattic.com/wordpress/trunk@12185 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-11-13 18:54:54 +00:00
azaozz 73666bae79 Fix notice in post.php, props sirzooro, fixes #11132
git-svn-id: http://svn.automattic.com/wordpress/trunk@12184 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-11-13 07:11:46 +00:00
azaozz dc7d0f1dff Always show "Configure" links on dashboard widgets in IE6, fix "Right Now" comments counts, fixes #11129
git-svn-id: http://svn.automattic.com/wordpress/trunk@12183 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-11-13 05:39:17 +00:00
azaozz 2258189f14 Fix warning when trashing a post from the write screen, fixes #11131
git-svn-id: http://svn.automattic.com/wordpress/trunk@12182 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-11-13 03:47:10 +00:00
westi f8b7514e8c Remove the extra screen icons from the WordPress importer. Fixes #8720 props MattyRob.
git-svn-id: http://svn.automattic.com/wordpress/trunk@12178 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-11-12 21:40:54 +00:00
markjaquith 2a77fc75cd Some extra XSS protection. Redundant, but we should always escape late! see #11119
git-svn-id: http://svn.automattic.com/wordpress/trunk@12169 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-11-12 02:37:28 +00:00
markjaquith 17ad540a6c Prevent XSS in press-this.php. props Benjamin Flesch. fixes #11119
git-svn-id: http://svn.automattic.com/wordpress/trunk@12168 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-11-11 23:54:43 +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
azaozz a762c0103f Fix hiding of "Add new tag" tip in IE6/7, props yoavf, fixes #11107
git-svn-id: http://svn.automattic.com/wordpress/trunk@12159 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-11-09 21:54:52 +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 0893cbd9a2 Fix Undo row timeout on Edit Comments screen, props caesarsgrunt, see #4529
git-svn-id: http://svn.automattic.com/wordpress/trunk@12154 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-11-07 00:50:28 +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 c5fd618f70 Disable error reporting in setup-config.php. It doesn't load wp-settings.php so error reporting is not properly setup. fixes #11084
git-svn-id: http://svn.automattic.com/wordpress/trunk@12145 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-11-05 18:01:57 +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
ryan 1c0015371f Show oEmbed discovery option only if the current user has the unfiltered_html cap. see #10337
git-svn-id: http://svn.automattic.com/wordpress/trunk@12140 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-11-04 15:52:23 +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
markjaquith a8c96db902 Introducing add_theme_support(feature) and current_theme_supports(feature) for announcing and checking theme support for various features. Implement it for post/page thumbanils, hiding UI if not supported.
git-svn-id: http://svn.automattic.com/wordpress/trunk@12132 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-11-01 05:27:39 +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 d0c8558025 Undo for posts, pages and media, props caesarsgrunt, see #4529
git-svn-id: http://svn.automattic.com/wordpress/trunk@12121 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-10-28 02:46:08 +00:00
ryan 31f5798fbb Schedule trash collection from admin page loads. see #4529
git-svn-id: http://svn.automattic.com/wordpress/trunk@12120 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-10-27 18:13:42 +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
azaozz 195e473fe4 Fix trashing/untrashing comments when no JS, props caesarsgrunt, see #4529
git-svn-id: http://svn.automattic.com/wordpress/trunk@12113 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-10-27 03:46:31 +00:00
azaozz a4996245ec PressThis: fix TinyMCE config and IE6 css "hasLayout"
git-svn-id: http://svn.automattic.com/wordpress/trunk@12112 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-10-27 00:23:58 +00:00
markjaquith 085c01ac7a thumbnail JS fixes. props scribu. see #10928
git-svn-id: http://svn.automattic.com/wordpress/trunk@12111 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-10-26 18:02:44 +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 c79136f6d1 PressThis fixes from noel, see #11011
git-svn-id: http://svn.automattic.com/wordpress/trunk@12108 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-10-26 09:04:21 +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 7a67d6e60f Provide context to the strings in the Plugin and Theme installers to allow for different grammatical gender. Fixes #10100.
git-svn-id: http://svn.automattic.com/wordpress/trunk@12103 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-10-25 11:14:12 +00:00
westi e7a44cb398 Improve the inline documentation about character sets and link to up-to-date resources. Fixes #5831 props hakre.
git-svn-id: http://svn.automattic.com/wordpress/trunk@12101 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-10-25 09:55:25 +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
ryan ed4b430fd5 Fix typo
git-svn-id: http://svn.automattic.com/wordpress/trunk@12095 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-10-23 19:07:34 +00:00
azaozz efe32b7285 PressThis fixes from noel, fixes #11011
git-svn-id: http://svn.automattic.com/wordpress/trunk@12094 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-10-23 04:32:56 +00:00
ryan aca36c75ce GUU UI rough in. see #10973
git-svn-id: http://svn.automattic.com/wordpress/trunk@12093 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-10-22 21:06:33 +00:00
ryan 097262f36f Add option to optimize tables
git-svn-id: http://svn.automattic.com/wordpress/trunk@12092 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-10-22 20:23:19 +00:00
westi 3eb5db4558 Display better information about broken themes when there is no stylesheet. Fixes #10999 props sivel.
git-svn-id: http://svn.automattic.com/wordpress/trunk@12091 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-10-22 20:15:54 +00:00
ryan 08f3564b22 GUU UI rough in. see #10973
git-svn-id: http://svn.automattic.com/wordpress/trunk@12087 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-10-22 16:19:50 +00:00
ryan 5653e587b3 GUU UI rough in. see #10973
git-svn-id: http://svn.automattic.com/wordpress/trunk@12086 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-10-22 16:10:28 +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
ryan 0273adeb65 Tweak embed settings. Props Viper007Bond. see #10337
git-svn-id: http://svn.automattic.com/wordpress/trunk@12076 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-10-20 21:28:35 +00:00
azaozz 81b2167be3 Fix replying to comments from admin, props josephscott
git-svn-id: http://svn.automattic.com/wordpress/trunk@12071 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-10-20 17:45:12 +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
azaozz 7927c2f6c6 Pull thumbnail scripts out of Posts screens too. see #10928
git-svn-id: http://svn.automattic.com/wordpress/trunk@12065 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-10-19 21:51:16 +00:00
markjaquith d9ed18b720 pull thumbnail scripts out of Page admin pages. see #10928. props scribu, gracious even in reversion.
git-svn-id: http://svn.automattic.com/wordpress/trunk@12064 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-10-19 21:46:10 +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
markjaquith 557a8d242c Allow pages to have thumbnails too. Props scribu. see #10928
git-svn-id: http://svn.automattic.com/wordpress/trunk@12056 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-10-19 14:44:17 +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
westi 04638ecd6f Remove duplicated create_function calls an use a private _search_terms_tidy function instead for tidying up the post/page searching when looking to attach orphans to a parent post or page.
git-svn-id: http://svn.automattic.com/wordpress/trunk@12052 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-10-18 11:50:59 +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
azaozz d0b8296e23 Smoooth animations for comment move to trash and undo, see #4529
git-svn-id: http://svn.automattic.com/wordpress/trunk@12050 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-10-18 05:59:03 +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
markjaquith 169c14b225 Add the author to the quick edit dropdown author list if they currently lack the ability to edit so as to avoid stealing their post away from them. fixes #10967
git-svn-id: http://svn.automattic.com/wordpress/trunk@12046 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-10-17 05:18:29 +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 2fa9ebab8f Remove close TB call that was removed earlier. see #10928
git-svn-id: http://svn.automattic.com/wordpress/trunk@12037 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-10-15 13:58:10 +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
markjaquith 17039e3294 Do not close media thickbox after thumbnail is selected, in case uploads are in progress. see #10928
git-svn-id: http://svn.automattic.com/wordpress/trunk@12031 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-10-14 08:42:32 +00:00
azaozz 72666a5458 Fix tags and categories postboxes in PressThis
git-svn-id: http://svn.automattic.com/wordpress/trunk@12030 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-10-14 07:30:10 +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
azaozz efa493655e Show the login form in a popup when autosave hits the login grace period, fixes #10704
git-svn-id: http://svn.automattic.com/wordpress/trunk@12021 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-10-11 11:26:59 +00:00
azaozz bc9fb32835 Open View/Preview post in a new window from the link in the Saved/Updated message, cleanup messages code, add Draft updated for Pages.
git-svn-id: http://svn.automattic.com/wordpress/trunk@12020 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-10-11 00:37:26 +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 3d1fa0d0d1 Show "Draft updated" instead of "Post updated" when saving drafts.
git-svn-id: http://svn.automattic.com/wordpress/trunk@12017 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-10-10 07:24:05 +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 67288a2db1 Admin RTL CSS updates. Props yoavf. fixes #10923
git-svn-id: http://svn.automattic.com/wordpress/trunk@12004 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-10-07 13:57:43 +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
azaozz 1c4b720478 Press This fixes, props noel, see #10784
git-svn-id: http://svn.automattic.com/wordpress/trunk@11994 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-10-03 07:14:44 +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
markjaquith 7a86ba7cf9 Hide "Attach" link for media (which requires JS) if no JS available. (BUGS ON A PLANE!)
git-svn-id: http://svn.automattic.com/wordpress/trunk@11979 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-09-27 18:54:17 +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
azaozz 200f6e921a Image Editor: fix minified CSS, see #10528
git-svn-id: http://svn.automattic.com/wordpress/trunk@11972 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-09-24 20:22:31 +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
ryan e1c0fad754 Use hard-coded functions instead of create_function() in importers. Props mdawaffe. fixes #10836
git-svn-id: http://svn.automattic.com/wordpress/trunk@11964 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-09-23 22:03:39 +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
azaozz fecbb60966 Add "View trash" link to the notice after moving to the trash
git-svn-id: http://svn.automattic.com/wordpress/trunk@11952 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-09-19 01:06:17 +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 de6b730d1f screen_icon() after <div class="wrap">, props johnbillion, fixes #10795
git-svn-id: http://svn.automattic.com/wordpress/trunk@11940 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-09-16 03:13:21 +00:00
azaozz e758264d87 Fix plugin menu item icon hover state, props johnbillion, fixes #10794
git-svn-id: http://svn.automattic.com/wordpress/trunk@11939 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-09-16 03:01:27 +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 e789271d81 Remove trailing whitespace
git-svn-id: http://svn.automattic.com/wordpress/trunk@11931 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-09-14 14:04:30 +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
westi 2561a6bb45 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: http://svn.automattic.com/wordpress/trunk@11923 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-09-13 08:52:39 +00:00
westi 4cb6db8467 phpDoc for wp_{check|set}_post_lock functions.
git-svn-id: http://svn.automattic.com/wordpress/trunk@11922 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-09-13 08:34:24 +00:00
ryan 7b6e0b16b8 Add btt.php and jkw.php to list of files to remove during upgrade.
git-svn-id: http://svn.automattic.com/wordpress/trunk@11918 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-09-11 18:12:10 +00:00
ryan a5ca722613 Retire Jerome's keywords importer
git-svn-id: http://svn.automattic.com/wordpress/trunk@11917 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-09-11 17:55:35 +00:00
ryan a6dabdc42f Retire BunnyTags importer
git-svn-id: http://svn.automattic.com/wordpress/trunk@11914 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-09-11 17:53:14 +00:00
azaozz 1c161c23c2 Image editing (first run). Includes code by stephanreiter, see #10528
git-svn-id: http://svn.automattic.com/wordpress/trunk@11911 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-09-10 22:07:33 +00:00
ryan 7886fac111 More add/delete/update actions. Props Demitrious Kelly. see #10750
git-svn-id: http://svn.automattic.com/wordpress/trunk@11909 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-09-10 14:43:45 +00:00
azaozz 0381e51fd6 Don't show "Change Permalinks" button when editing the page set as "Front page", props simonwheatley, fixes #10760
git-svn-id: http://svn.automattic.com/wordpress/trunk@11908 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-09-10 01:21:03 +00:00
ryan e8c32c03b0 Pass logged_in cookie to async-upload. Props nbachiyski. fixes #10739
git-svn-id: http://svn.automattic.com/wordpress/trunk@11904 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-09-08 15:22:42 +00:00
ryan 02c7c0e38e is_blog_installed() improvements and repair.php. see #10728
git-svn-id: http://svn.automattic.com/wordpress/trunk@11902 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-09-06 18:46:27 +00:00
markjaquith 11c3cb07b9 Display comments in descending date order, consistently. props scribu. fixes #10674
git-svn-id: http://svn.automattic.com/wordpress/trunk@11901 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-09-04 08:50:55 +00:00
westi 2918ccefd5 Better feedback on publishing of future posts and pages. Fixes #10711 based on patch from scribu.
git-svn-id: http://svn.automattic.com/wordpress/trunk@11897 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-09-01 21:15:20 +00:00
westi 499a4d63cc Always filter the url in the media upload form. Fixes #10707 props nbachiyski.
git-svn-id: http://svn.automattic.com/wordpress/trunk@11896 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-09-01 20:44:17 +00:00
azaozz 38d5ac6152 Fix quotes, props Denis-de-Bernardy, see #2699
git-svn-id: http://svn.automattic.com/wordpress/trunk@11884 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-08-27 09:59:22 +00:00
ryan 4064e1cb6c Make option_name the primary key for the options table. Props Denis-de-Bernardy. fixes #2699
git-svn-id: http://svn.automattic.com/wordpress/trunk@11883 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-08-26 22:46:33 +00:00
westi 476a750167 Correctly CamelCase TypePad. Fixes #10686 props niallkennedy.
git-svn-id: http://svn.automattic.com/wordpress/trunk@11882 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-08-26 06:51:36 +00:00
azaozz b7f7105c2b Fix comment moderation for authors, props scribu, fixes #10677
git-svn-id: http://svn.automattic.com/wordpress/trunk@11881 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-08-26 06:47:45 +00:00
azaozz 83161b0695 Fix race condition with autosave when clicking Publish immediately after entering post title, fixes #6728
git-svn-id: http://svn.automattic.com/wordpress/trunk@11879 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-08-26 04:11:16 +00:00
azaozz 3fd2769caa Remove background from .button[disabled]
git-svn-id: http://svn.automattic.com/wordpress/trunk@11876 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-08-25 07:50:29 +00:00
azaozz e9ce147405 Clean up .button and .button[disabled] CSS classes, add spinner and gray-out buttons after clicking Publish or Update post.
git-svn-id: http://svn.automattic.com/wordpress/trunk@11874 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-08-25 05:14:49 +00:00
azaozz e03f120254 Fix notice in wp-admin/includes/post.php, props harrym, fixes #10678 for trunk
git-svn-id: http://svn.automattic.com/wordpress/trunk@11871 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-08-24 19:39:08 +00:00
azaozz 395495bd99 Fix error in widgets.js, props Denis-de-Bernardy, see #10021
git-svn-id: http://svn.automattic.com/wordpress/trunk@11870 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-08-24 19:16:53 +00:00
azaozz a50bce6e70 Add global JS vars and actions to the media uploader iframe
git-svn-id: http://svn.automattic.com/wordpress/trunk@11868 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-08-24 00:09:39 +00:00
ryan 5787c17206 fs_connect() fixes. Props dd32. fixes #10541
git-svn-id: http://svn.automattic.com/wordpress/trunk@11862 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-08-21 01:36:01 +00:00
ryan 91bc15b495 Fix fs_no_folder error message display. Props jeff_. fixes #10608
git-svn-id: http://svn.automattic.com/wordpress/trunk@11861 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-08-21 01:30:15 +00:00
ryan 2cafc0b559 Add rtl.dev.css. see #10664
git-svn-id: http://svn.automattic.com/wordpress/trunk@11859 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-08-21 01:25:11 +00:00
azaozz 7a5b2339d9 More jQuery based scripts optimizations, props Denis-de-Bernardy, see #10021
git-svn-id: http://svn.automattic.com/wordpress/trunk@11858 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-08-21 01:03:26 +00:00
ryan 390a75658b Minify admin CSS. see #10664
git-svn-id: http://svn.automattic.com/wordpress/trunk@11857 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-08-20 21:12:33 +00:00
westi ffc53b56ea Make add_object_page() and add_utility_page() use add_menu_page() rather than duplicated code. Fixes #9942 props scribu.
git-svn-id: http://svn.automattic.com/wordpress/trunk@11856 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-08-20 21:00:52 +00:00
ryan 22d0a6c641 Remove Sphere from search list. Props niallkennedy. fixes #10637
git-svn-id: http://svn.automattic.com/wordpress/trunk@11855 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-08-20 20:58:44 +00:00
westi 33ed3723bd Don't offer to make a category its own parent - that just wouldn't work. Fixes #10644 props scribu.
git-svn-id: http://svn.automattic.com/wordpress/trunk@11854 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-08-20 20:47:02 +00:00
westi d28c67315a Move _wp_get_user_contactmethods() into the registrations functions file so it is always available when required. Fixes #10662.
git-svn-id: http://svn.automattic.com/wordpress/trunk@11852 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-08-20 19:51:43 +00:00
ryan 28f552efa5 Add autosave_generate_nonces action. Props prettyboymp. fixes #10634
git-svn-id: http://svn.automattic.com/wordpress/trunk@11851 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-08-20 16:57:11 +00:00
azaozz 6a6257ee42 Show My Posts as default view on the Edit Posts screen for users without 'edit_others_posts' cap.
git-svn-id: http://svn.automattic.com/wordpress/trunk@11843 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-08-19 22:37:51 +00:00
ryan 58f9fb3e13 Don't import _wp_attachment_metadata. It is regenerated when the attachment is imported.
git-svn-id: http://svn.automattic.com/wordpress/trunk@11842 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-08-19 21:37:47 +00:00
azaozz be026258fa "Trash" updates, props caesarsgrunt, see #4529
git-svn-id: http://svn.automattic.com/wordpress/trunk@11841 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-08-19 08:35:24 +00:00
azaozz 4c13a5acf4 Use the current user as author for autosave, fixes #10004
git-svn-id: http://svn.automattic.com/wordpress/trunk@11840 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-08-19 02:30:42 +00:00
azaozz 491b68752b Speed up jQuery based scripts, props Denis-de-Bernardy, see #10021
git-svn-id: http://svn.automattic.com/wordpress/trunk@11837 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-08-18 09:53:37 +00:00
westi 235f560950 Add in the missing </td> so that the install page validates correctly.
git-svn-id: http://svn.automattic.com/wordpress/trunk@11834 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-08-16 09:09:24 +00:00
westi 5813bf3ab2 Restore the default behaviour on install of blogs appearing in search engines. Fixes #10621 for trunk.
git-svn-id: http://svn.automattic.com/wordpress/trunk@11832 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-08-16 09:01:39 +00:00
azaozz 5c21d67399 WP_Filesystem fixes and phpdoc, props hakre dd32, see #10304
git-svn-id: http://svn.automattic.com/wordpress/trunk@11831 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-08-16 08:34:53 +00:00
azaozz eb921e186d Remove old query args when updating user profile, props dd32, fixes #9038
git-svn-id: http://svn.automattic.com/wordpress/trunk@11830 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-08-16 07:43:37 +00:00
azaozz 62f826c9e5 Fix non-translated strings in dashboard, fixes #10617
git-svn-id: http://svn.automattic.com/wordpress/trunk@11827 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-08-16 05:51:36 +00:00
azaozz 954a1c3bac Fix warning in wp-admin/widgets.php when using Accessibility Mode on brand new install, fixes #10610
git-svn-id: http://svn.automattic.com/wordpress/trunk@11824 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-08-16 01:56:21 +00:00
azaozz ca27f326a9 Add constants for ftp connections timeouts, props dd32, see #10522
git-svn-id: http://svn.automattic.com/wordpress/trunk@11823 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-08-15 12:01:04 +00:00
azaozz 73de56d05e Fix WP_Filesystem_FTPext->exists(), props dd32, fixes #10060
git-svn-id: http://svn.automattic.com/wordpress/trunk@11821 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-08-15 08:31:06 +00:00
azaozz 5dc37883b2 Remove dot and silence errors in get_filesystem_method()
git-svn-id: http://svn.automattic.com/wordpress/trunk@11819 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-08-15 08:03:48 +00:00
azaozz 5a98759e8d Fix class-wp-filesystem-ssh2 put_contents() for empty files, props lostinlafayette dd32, fixes #10604
git-svn-id: http://svn.automattic.com/wordpress/trunk@11818 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-08-15 07:49:28 +00:00
westi b9c5a29b69 Add the new file too.
git-svn-id: http://svn.automattic.com/wordpress/trunk@11816 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-08-14 18:58:22 +00:00
westi e2a720ee12 Refactor the meta boxes out of the edit pages and into an include file. See #9674 props wnorris.
git-svn-id: http://svn.automattic.com/wordpress/trunk@11815 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-08-14 17:37:40 +00:00