Commit Graph

5499 Commits

Author SHA1 Message Date
Ryan Boren a579c00405 Add core_upgrade_preamble action. Props Denis-de-Bernardy. see #10973
git-svn-id: https://develop.svn.wordpress.org/trunk@12204 602fd350-edb4-49c9-b593-d223f7449a82
2009-11-17 22:49:00 +00:00
Ryan Boren a4912dccf2 Use preg_replace_callback to eliminate eval. Props BenBE1987. fixes #10896
git-svn-id: https://develop.svn.wordpress.org/trunk@12198 602fd350-edb4-49c9-b593-d223f7449a82
2009-11-17 19:25:01 +00:00
Andrew Ozz 3f51751c4d Fix pagination on the Unattached tab in the media library, show Attach in the "Attached to" column for orphan attachments
git-svn-id: https://develop.svn.wordpress.org/trunk@12196 602fd350-edb4-49c9-b593-d223f7449a82
2009-11-17 03:08:38 +00:00
Andrew Ozz 51f2c4d17d Add labels to image info in the media library, fixes #8886
git-svn-id: https://develop.svn.wordpress.org/trunk@12195 602fd350-edb4-49c9-b593-d223f7449a82
2009-11-17 00:11:49 +00:00
Ryan Boren cac2e59fda Force destruction of SimplePie objects for versions of PHP that don't release memory properly. Props arena, scribu. fixes #11074
git-svn-id: https://develop.svn.wordpress.org/trunk@12193 602fd350-edb4-49c9-b593-d223f7449a82
2009-11-16 22:42:58 +00:00
Andrew Ozz e085e3485e Don't show trashed attachments in gallery tab count, props aldenta, fixes #11147
git-svn-id: https://develop.svn.wordpress.org/trunk@12190 602fd350-edb4-49c9-b593-d223f7449a82
2009-11-16 07:54:02 +00:00
Andrew Ozz 3e1d80eb42 Fix style of text fields in IE6 in the uploader, better regex for Link URL presets buttons
git-svn-id: https://develop.svn.wordpress.org/trunk@12189 602fd350-edb4-49c9-b593-d223f7449a82
2009-11-16 07:16:34 +00:00
Andrew Ozz ac9c33e0e9 Fix improper selection of radio buttons, improve JS for storing image settings, fixes #11021
git-svn-id: https://develop.svn.wordpress.org/trunk@12188 602fd350-edb4-49c9-b593-d223f7449a82
2009-11-16 01:37:30 +00:00
Peter Westwood dd36b37254 Ensure that page templates in a subdir of a theme work correctly. Fixes #10959 based on patch from scribu.
git-svn-id: https://develop.svn.wordpress.org/trunk@12187 602fd350-edb4-49c9-b593-d223f7449a82
2009-11-13 22:40:40 +00:00
Ryan Boren 99e6a0696d bulk should default to false. fixes #11130
git-svn-id: https://develop.svn.wordpress.org/trunk@12186 602fd350-edb4-49c9-b593-d223f7449a82
2009-11-13 21:28:40 +00:00
Peter Westwood e010f7c143 Fix the editing of stylesheet files in the theme editor.
git-svn-id: https://develop.svn.wordpress.org/trunk@12185 602fd350-edb4-49c9-b593-d223f7449a82
2009-11-13 18:54:54 +00:00
Andrew Ozz a881ca3321 Fix notice in post.php, props sirzooro, fixes #11132
git-svn-id: https://develop.svn.wordpress.org/trunk@12184 602fd350-edb4-49c9-b593-d223f7449a82
2009-11-13 07:11:46 +00:00
Andrew Ozz c875acd15d Always show "Configure" links on dashboard widgets in IE6, fix "Right Now" comments counts, fixes #11129
git-svn-id: https://develop.svn.wordpress.org/trunk@12183 602fd350-edb4-49c9-b593-d223f7449a82
2009-11-13 05:39:17 +00:00
Andrew Ozz 4bf4ab5114 Fix warning when trashing a post from the write screen, fixes #11131
git-svn-id: https://develop.svn.wordpress.org/trunk@12182 602fd350-edb4-49c9-b593-d223f7449a82
2009-11-13 03:47:10 +00:00
Peter Westwood f713ed5a48 Remove the extra screen icons from the WordPress importer. Fixes #8720 props MattyRob.
git-svn-id: https://develop.svn.wordpress.org/trunk@12178 602fd350-edb4-49c9-b593-d223f7449a82
2009-11-12 21:40:54 +00:00
Mark Jaquith 292e5394a4 Some extra XSS protection. Redundant, but we should always escape late! see #11119
git-svn-id: https://develop.svn.wordpress.org/trunk@12169 602fd350-edb4-49c9-b593-d223f7449a82
2009-11-12 02:37:28 +00:00
Mark Jaquith 27da9f3013 Prevent XSS in press-this.php. props Benjamin Flesch. fixes #11119
git-svn-id: https://develop.svn.wordpress.org/trunk@12168 602fd350-edb4-49c9-b593-d223f7449a82
2009-11-11 23:54:43 +00:00
Andrew Ozz 52bff7f918 Fix image meta after editing image, disable the Save button when no changes, fixes #11115
git-svn-id: https://develop.svn.wordpress.org/trunk@12163 602fd350-edb4-49c9-b593-d223f7449a82
2009-11-11 11:24:01 +00:00
Andrew Ozz 0093a3a989 Remove all instances of "Trash" from the UI when Trash is disabled, replace trash actions with "Delete permanently", props caesarsgrunt, see #4529
git-svn-id: https://develop.svn.wordpress.org/trunk@12162 602fd350-edb4-49c9-b593-d223f7449a82
2009-11-10 10:38:19 +00:00
Andrew Ozz e15e8b710d Don't pre-fill empty image alt when inserting into a post.
git-svn-id: https://develop.svn.wordpress.org/trunk@12161 602fd350-edb4-49c9-b593-d223f7449a82
2009-11-10 00:09:40 +00:00
Andrew Ozz 5988aa12b1 Fix hiding of "Add new tag" tip in IE6/7, props yoavf, fixes #11107
git-svn-id: https://develop.svn.wordpress.org/trunk@12159 602fd350-edb4-49c9-b593-d223f7449a82
2009-11-09 21:54:52 +00:00
Ryan Boren ef2c943123 Put site into maintenance mode during bulk plugin upgrade. Skip plugin deactivate/activate. Add compatibility info. see #10973
git-svn-id: https://develop.svn.wordpress.org/trunk@12157 602fd350-edb4-49c9-b593-d223f7449a82
2009-11-09 18:53:21 +00:00
Andrew Ozz 5012c4e964 Add 'IMAGE_EDIT_OVERWRITE' constant to control edited image save or replace, most useful for setups that have dynamic image resizing, see #10528
git-svn-id: https://develop.svn.wordpress.org/trunk@12155 602fd350-edb4-49c9-b593-d223f7449a82
2009-11-07 11:20:09 +00:00
Andrew Ozz 78b67c6387 Fix Undo row timeout on Edit Comments screen, props caesarsgrunt, see #4529
git-svn-id: https://develop.svn.wordpress.org/trunk@12154 602fd350-edb4-49c9-b593-d223f7449a82
2009-11-07 00:50:28 +00:00
Andrew Ozz 4a79139c26 Fix typo, props Harald Nesland, fixes #11002
git-svn-id: https://develop.svn.wordpress.org/trunk@12152 602fd350-edb4-49c9-b593-d223f7449a82
2009-11-06 10:53:41 +00:00
Andrew Ozz 92d16fba05 Add phpdoc and extra filter to file.php, props dd32, fixes #11002
git-svn-id: https://develop.svn.wordpress.org/trunk@12151 602fd350-edb4-49c9-b593-d223f7449a82
2009-11-05 23:03:48 +00:00
Ryan Boren f3aae9bc00 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: https://develop.svn.wordpress.org/trunk@12145 602fd350-edb4-49c9-b593-d223f7449a82
2009-11-05 18:01:57 +00:00
Ryan Boren af42a894f0 Bring in wp_handle_upload_prefilter from MU
git-svn-id: https://develop.svn.wordpress.org/trunk@12142 602fd350-edb4-49c9-b593-d223f7449a82
2009-11-05 14:24:20 +00:00
Ryan Boren 1b4bdc773c Show oEmbed discovery option only if the current user has the unfiltered_html cap. see #10337
git-svn-id: https://develop.svn.wordpress.org/trunk@12140 602fd350-edb4-49c9-b593-d223f7449a82
2009-11-04 15:52:23 +00:00
Andrew Ozz 7bbf1c2489 Fix IE8 reply to comments from admin fade in/out, decrease comment undo timeout, hide comment reply when moving to trash, fixes #9896
git-svn-id: https://develop.svn.wordpress.org/trunk@12139 602fd350-edb4-49c9-b593-d223f7449a82
2009-11-03 08:28:59 +00:00
Ryan Boren 53321a0093 Call get_post_image_id() only if current_theme_supports( 'post-thumbnails' ).
git-svn-id: https://develop.svn.wordpress.org/trunk@12137 602fd350-edb4-49c9-b593-d223f7449a82
2009-11-02 18:00:41 +00:00
Ryan Boren b552dbdd9b Switch oEmbed option to control discovery. Tweak whitelist and settings page. Props Viper007Bond. see #10337
git-svn-id: https://develop.svn.wordpress.org/trunk@12136 602fd350-edb4-49c9-b593-d223f7449a82
2009-11-02 14:41:35 +00:00
Mark Jaquith cde0b909e4 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: https://develop.svn.wordpress.org/trunk@12132 602fd350-edb4-49c9-b593-d223f7449a82
2009-11-01 05:27:39 +00:00
Andrew Ozz 54c1db8dd0 Trash undo for the uploader, props caesarsgrunt, see #4529
git-svn-id: https://develop.svn.wordpress.org/trunk@12130 602fd350-edb4-49c9-b593-d223f7449a82
2009-10-30 07:09:55 +00:00
Andrew Ozz b86ab00920 Undo for posts, pages and media, props caesarsgrunt, see #4529
git-svn-id: https://develop.svn.wordpress.org/trunk@12121 602fd350-edb4-49c9-b593-d223f7449a82
2009-10-28 02:46:08 +00:00
Ryan Boren 2f034b4430 Schedule trash collection from admin page loads. see #4529
git-svn-id: https://develop.svn.wordpress.org/trunk@12120 602fd350-edb4-49c9-b593-d223f7449a82
2009-10-27 18:13:42 +00:00
Andrew Ozz 5c564f80b5 Fix tag input tip in IE
git-svn-id: https://develop.svn.wordpress.org/trunk@12114 602fd350-edb4-49c9-b593-d223f7449a82
2009-10-27 08:43:17 +00:00
Andrew Ozz 69b036bf7f Fix trashing/untrashing comments when no JS, props caesarsgrunt, see #4529
git-svn-id: https://develop.svn.wordpress.org/trunk@12113 602fd350-edb4-49c9-b593-d223f7449a82
2009-10-27 03:46:31 +00:00
Andrew Ozz 5e11e936ef PressThis: fix TinyMCE config and IE6 css "hasLayout"
git-svn-id: https://develop.svn.wordpress.org/trunk@12112 602fd350-edb4-49c9-b593-d223f7449a82
2009-10-27 00:23:58 +00:00
Mark Jaquith 9f705257d9 thumbnail JS fixes. props scribu. see #10928
git-svn-id: https://develop.svn.wordpress.org/trunk@12111 602fd350-edb4-49c9-b593-d223f7449a82
2009-10-26 18:02:44 +00:00
Mark Jaquith a556c8ce89 Consolidate post_mime_type code. props scribu. fixes #10992
git-svn-id: https://develop.svn.wordpress.org/trunk@12110 602fd350-edb4-49c9-b593-d223f7449a82
2009-10-26 17:56:28 +00:00
Ryan Boren ba1f1d3780 Export and import custom taxonomies. Props chrisscott. fixes #10012
git-svn-id: https://develop.svn.wordpress.org/trunk@12109 602fd350-edb4-49c9-b593-d223f7449a82
2009-10-26 13:57:55 +00:00
Andrew Ozz 022ee3f66d PressThis fixes from noel, see #11011
git-svn-id: https://develop.svn.wordpress.org/trunk@12108 602fd350-edb4-49c9-b593-d223f7449a82
2009-10-26 09:04:21 +00:00
Andrew Ozz ecd0e05414 Add subtitles and opening/closing DIVs on GUU results screen, see #10973
git-svn-id: https://develop.svn.wordpress.org/trunk@12107 602fd350-edb4-49c9-b593-d223f7449a82
2009-10-26 07:04:30 +00:00
Andrew Ozz 869f5f8649 Typo fixes, props dd32, fixes #11030
git-svn-id: https://develop.svn.wordpress.org/trunk@12104 602fd350-edb4-49c9-b593-d223f7449a82
2009-10-25 17:30:58 +00:00
Peter Westwood fe32641ecf Provide context to the strings in the Plugin and Theme installers to allow for different grammatical gender. Fixes #10100.
git-svn-id: https://develop.svn.wordpress.org/trunk@12103 602fd350-edb4-49c9-b593-d223f7449a82
2009-10-25 11:14:12 +00:00
Peter Westwood 9bbb57988d Improve the inline documentation about character sets and link to up-to-date resources. Fixes #5831 props hakre.
git-svn-id: https://develop.svn.wordpress.org/trunk@12101 602fd350-edb4-49c9-b593-d223f7449a82
2009-10-25 09:55:25 +00:00
Peter Westwood c8748b8364 Fix some login typos. Fixes #11031 props filosofo.
git-svn-id: https://develop.svn.wordpress.org/trunk@12100 602fd350-edb4-49c9-b593-d223f7449a82
2009-10-25 09:28:20 +00:00
Andrew Ozz 104abc4a7b When inserting the embed shortcode in TinyMCE replace it with a placeholder image, update the 'wordpress', 'wpeditimage' and 'wpgallery' TinyMCE plugins, fix the audio and video "From URL" tabs in the uploader popup to accept only URLs for embedding, see #10337
git-svn-id: https://develop.svn.wordpress.org/trunk@12098 602fd350-edb4-49c9-b593-d223f7449a82
2009-10-24 11:43:42 +00:00
Ryan Boren 76566c1a3e Plugin bulk upgrade rough in. see #10973
git-svn-id: https://develop.svn.wordpress.org/trunk@12097 602fd350-edb4-49c9-b593-d223f7449a82
2009-10-23 21:49:12 +00:00