Commit Graph

10881 Commits

Author SHA1 Message Date
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
Ryan Boren 8a667fd4a9 Add wordpress.tv to oEmbed provider whitelist. Props Viper007Bond. see #10337
git-svn-id: https://develop.svn.wordpress.org/trunk@12181 602fd350-edb4-49c9-b593-d223f7449a82
2009-11-12 22:05:05 +00:00
Mark Jaquith 1b8e16765a Revert [12133] — remove post image support from Default theme. Too hokey.
git-svn-id: https://develop.svn.wordpress.org/trunk@12180 602fd350-edb4-49c9-b593-d223f7449a82
2009-11-12 21:54:12 +00:00
Peter Westwood 813c76d3a2 Add load_child_theme_textdomain() to allow child themes to have there own translation files. Fixes #11033 props load_child_theme_textdomain.
git-svn-id: https://develop.svn.wordpress.org/trunk@12179 602fd350-edb4-49c9-b593-d223f7449a82
2009-11-12 21:50:17 +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
Ryan Boren a3c161ee54 pomo performance improvements. Props nbachiyski. fixes #10165
git-svn-id: https://develop.svn.wordpress.org/trunk@12174 602fd350-edb4-49c9-b593-d223f7449a82
2009-11-12 16:05:43 +00:00
Ryan Boren 1be4ed69cb Fix argument order. Props mdawaffe. fixes #11125
git-svn-id: https://develop.svn.wordpress.org/trunk@12173 602fd350-edb4-49c9-b593-d223f7449a82
2009-11-12 14:43:15 +00:00
Ryan Boren dbc040136c Fix mimes empty check
git-svn-id: https://develop.svn.wordpress.org/trunk@12171 602fd350-edb4-49c9-b593-d223f7449a82
2009-11-12 05:20:48 +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
Ryan Boren 07c605407e Sanitize filenames with multiple extensions. see #11122
git-svn-id: https://develop.svn.wordpress.org/trunk@12165 602fd350-edb4-49c9-b593-d223f7449a82
2009-11-11 23:07:29 +00:00
Ryan Boren c7c418f738 Add actions for option writes. Props apokalyptik
git-svn-id: https://develop.svn.wordpress.org/trunk@12164 602fd350-edb4-49c9-b593-d223f7449a82
2009-11-11 15:26:11 +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
Peter Westwood ebe702a851 Better documentation on the format of the capabilities when adding a role. Fixes #11106 props simonwheatley.
git-svn-id: https://develop.svn.wordpress.org/trunk@12160 602fd350-edb4-49c9-b593-d223f7449a82
2009-11-09 22:15:50 +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 9c9a650030 Add force delete option.
git-svn-id: https://develop.svn.wordpress.org/trunk@12158 602fd350-edb4-49c9-b593-d223f7449a82
2009-11-09 20:12:07 +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
Peter Westwood 2cd5ea2a14 Fix delete_post_meta_by_key() so that you can delete postmeta items by key again. Fixes #11100.
git-svn-id: https://develop.svn.wordpress.org/trunk@12156 602fd350-edb4-49c9-b593-d223f7449a82
2009-11-08 11:05:49 +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
Ryan Boren 87a8ae176a Add a bunch of new filters. Use one of them to remove new lines from Scribd embeds. Invalid oEmbed post meta cache without using JS. Props Viper007Bond. see #10337
git-svn-id: https://develop.svn.wordpress.org/trunk@12153 602fd350-edb4-49c9-b593-d223f7449a82
2009-11-06 14:22:23 +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 6c86018563 Remove ints from switch. see #11073
git-svn-id: https://develop.svn.wordpress.org/trunk@12150 602fd350-edb4-49c9-b593-d223f7449a82
2009-11-05 22:53:31 +00:00
Ryan Boren 08c7020ab8 Propagate walker arg down the stack. Props scribu. fixes #10921
git-svn-id: https://develop.svn.wordpress.org/trunk@12149 602fd350-edb4-49c9-b593-d223f7449a82
2009-11-05 22:01:53 +00:00
Ryan Boren bc7e8e284b Trash comments when trashing a post. see #11073
git-svn-id: https://develop.svn.wordpress.org/trunk@12148 602fd350-edb4-49c9-b593-d223f7449a82
2009-11-05 21:03:09 +00:00
Peter Westwood 9d48d02ab6 Remove unecessary reference to wpdb global. Fixes 11087 props aaroncampbell.
git-svn-id: https://develop.svn.wordpress.org/trunk@12147 602fd350-edb4-49c9-b593-d223f7449a82
2009-11-05 20:28:46 +00:00
Mark Jaquith f922806cf7 Add missing break. props nickohrn. fixes #11037
git-svn-id: https://develop.svn.wordpress.org/trunk@12146 602fd350-edb4-49c9-b593-d223f7449a82
2009-11-05 20:02:18 +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 9bea8a1abb Allow querying multiple post types. Props prettyboymp. fixes #10791
git-svn-id: https://develop.svn.wordpress.org/trunk@12144 602fd350-edb4-49c9-b593-d223f7449a82
2009-11-05 16:08:53 +00:00
Ryan Boren 3f9f8dc3d6 Honor Post Type for Sticky Posts. Props chrisscott. fixes #11072
git-svn-id: https://develop.svn.wordpress.org/trunk@12143 602fd350-edb4-49c9-b593-d223f7449a82
2009-11-05 15:52:01 +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 a093c8c7c0 Fix comment and postmeta delete queries when deleting a post. see #11073
git-svn-id: https://develop.svn.wordpress.org/trunk@12141 602fd350-edb4-49c9-b593-d223f7449a82
2009-11-04 17:39:53 +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 bf15548a6a Fix regex. Props Viper007Bond. see #10337
git-svn-id: https://develop.svn.wordpress.org/trunk@12138 602fd350-edb4-49c9-b593-d223f7449a82
2009-11-02 20:50:49 +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
Peter Westwood 2c459fea5e Improve get_page_template() to search based on slug and id as well. Fixes #11055 props aaroncampbell.
git-svn-id: https://develop.svn.wordpress.org/trunk@12135 602fd350-edb4-49c9-b593-d223f7449a82
2009-11-01 10:18:34 +00:00
Peter Westwood 20bd817385 Introduce require_if_theme_supports(), move post thumbnails functions to there own include and only included them if the theme supports them. See #10928 and [12132]
git-svn-id: https://develop.svn.wordpress.org/trunk@12134 602fd350-edb4-49c9-b593-d223f7449a82
2009-11-01 10:10:06 +00:00
Mark Jaquith 7f3d6064fe Add basic post thumbnail support to Default theme.
git-svn-id: https://develop.svn.wordpress.org/trunk@12133 602fd350-edb4-49c9-b593-d223f7449a82
2009-11-01 08:12:21 +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
Ryan Boren b4f5f60664 Add scribd to oembed provider whitelist. see #10337
git-svn-id: https://develop.svn.wordpress.org/trunk@12131 602fd350-edb4-49c9-b593-d223f7449a82
2009-10-30 20:03:41 +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
Ryan Boren dfaf38749c get_themes() and theme root fixes. see #10467
git-svn-id: https://develop.svn.wordpress.org/trunk@12129 602fd350-edb4-49c9-b593-d223f7449a82
2009-10-30 00:18:15 +00:00
Ryan Boren 944dad2c59 Introduce get/set/delete_site_transient(). Make theme_roots a site transient.
git-svn-id: https://develop.svn.wordpress.org/trunk@12128 602fd350-edb4-49c9-b593-d223f7449a82
2009-10-29 21:53:57 +00:00
Mark Jaquith 19416faeac Allow ordering by comment_count. fixes #11037
git-svn-id: https://develop.svn.wordpress.org/trunk@12127 602fd350-edb4-49c9-b593-d223f7449a82
2009-10-29 18:02:55 +00:00