Commit Graph

10798 Commits

Author SHA1 Message Date
ryan c3041b4f56 Honor Post Type for Sticky Posts. Props chrisscott. fixes #11072
git-svn-id: http://svn.automattic.com/wordpress/trunk@12143 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-11-05 15:52:01 +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 cf7279320b Fix comment and postmeta delete queries when deleting a post. see #11073
git-svn-id: http://svn.automattic.com/wordpress/trunk@12141 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-11-04 17:39:53 +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 872e7cc3eb Fix regex. Props Viper007Bond. see #10337
git-svn-id: http://svn.automattic.com/wordpress/trunk@12138 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-11-02 20:50:49 +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
westi a980ec773a Improve get_page_template() to search based on slug and id as well. Fixes #11055 props aaroncampbell.
git-svn-id: http://svn.automattic.com/wordpress/trunk@12135 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-11-01 10:18:34 +00:00
westi 7251aff3f3 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: http://svn.automattic.com/wordpress/trunk@12134 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-11-01 10:10:06 +00:00
markjaquith 22ae6f36c0 Add basic post thumbnail support to Default theme.
git-svn-id: http://svn.automattic.com/wordpress/trunk@12133 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-11-01 08:12:21 +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
ryan 475b2737ba Add scribd to oembed provider whitelist. see #10337
git-svn-id: http://svn.automattic.com/wordpress/trunk@12131 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-10-30 20:03:41 +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
ryan 7578a5b511 get_themes() and theme root fixes. see #10467
git-svn-id: http://svn.automattic.com/wordpress/trunk@12129 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-10-30 00:18:15 +00:00
ryan 9ee06eaec7 Introduce get/set/delete_site_transient(). Make theme_roots a site transient.
git-svn-id: http://svn.automattic.com/wordpress/trunk@12128 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-10-29 21:53:57 +00:00
markjaquith dd4b5f01c0 Allow ordering by comment_count. fixes #11037
git-svn-id: http://svn.automattic.com/wordpress/trunk@12127 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-10-29 18:02:55 +00:00
ryan 6ecb855d33 Switch to wp_kses_data() for displayed filtering to avoid slashing. fixes #10949
git-svn-id: http://svn.automattic.com/wordpress/trunk@12126 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-10-29 17:32:23 +00:00
ryan 4ec1d4bc32 Introduce wp_kses_post() and wp_kses_data() for filtering unescaped data. Fixes slashing of displayed fields. fixes #10949
git-svn-id: http://svn.automattic.com/wordpress/trunk@12125 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-10-29 17:15:58 +00:00
ryan f089f96723 Theme roots are prefixed with a slash. No need to add another. Props hakre. fixes #11036
git-svn-id: http://svn.automattic.com/wordpress/trunk@12124 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-10-28 21:58:15 +00:00
ryan cd8071e7ce Fix revision3 scheme. Add photobucket oembed. see #10337
git-svn-id: http://svn.automattic.com/wordpress/trunk@12123 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-10-28 20:13:09 +00:00
azaozz b86f746d21 Fix possible bad query, props aaroncampbell, see #4529
git-svn-id: http://svn.automattic.com/wordpress/trunk@12122 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-10-28 03:10:59 +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
ryan 1ada1c60de Theme subdirs that contain themes are not broken if missing a stylesheet. see #10467
git-svn-id: http://svn.automattic.com/wordpress/trunk@12119 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-10-27 17:32:12 +00:00
ryan fd5848823e More theme subdir fixes. see #10467
git-svn-id: http://svn.automattic.com/wordpress/trunk@12118 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-10-27 17:17:23 +00:00
ryan b2a6e37519 Partial fix for theme subdir support. see #10467
git-svn-id: http://svn.automattic.com/wordpress/trunk@12117 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-10-27 16:45:30 +00:00
ryan 0dd4b4ab9e Remove slow left join pending better solution. see #4529
git-svn-id: http://svn.automattic.com/wordpress/trunk@12116 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-10-27 15:51:58 +00:00
azaozz aac51df0e9 Fix timeout for the inline buttons on images in TinyMCE.
git-svn-id: http://svn.automattic.com/wordpress/trunk@12115 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-10-27 09:06:26 +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 ea955a4191 Remove pointless var assignment in get_pages(), props filosofo, fixes #11027
git-svn-id: http://svn.automattic.com/wordpress/trunk@12106 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-10-25 20:54:13 +00:00
azaozz a980fad82a Remove unused vars in get_the_content and wp_link_pages, props filosofo, fixes #11028
git-svn-id: http://svn.automattic.com/wordpress/trunk@12105 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-10-25 20:44:35 +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 e5bf2656db Remove unnecessary and dead code from wp-app.php. Fixes #10938.
git-svn-id: http://svn.automattic.com/wordpress/trunk@12102 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-10-25 10:32:15 +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 49b306fcc9 Refresh script versions for [12098]
git-svn-id: http://svn.automattic.com/wordpress/trunk@12099 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-10-24 15:58:41 +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 deaf8bd758 Allow non-admins to use Vimeo and allow regex in oEmbed URL formats. Props Viper007Bond. see #10337
git-svn-id: http://svn.automattic.com/wordpress/trunk@12096 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-10-23 19:33:24 +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