Commit Graph

5502 Commits

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