Commit Graph

10793 Commits

Author SHA1 Message Date
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
Ryan Boren 7badee2a3a Switch to wp_kses_data() for displayed filtering to avoid slashing. fixes #10949
git-svn-id: https://develop.svn.wordpress.org/trunk@12126 602fd350-edb4-49c9-b593-d223f7449a82
2009-10-29 17:32:23 +00:00
Ryan Boren 486efbd69f Introduce wp_kses_post() and wp_kses_data() for filtering unescaped data. Fixes slashing of displayed fields. fixes #10949
git-svn-id: https://develop.svn.wordpress.org/trunk@12125 602fd350-edb4-49c9-b593-d223f7449a82
2009-10-29 17:15:58 +00:00
Ryan Boren 049955e49b Theme roots are prefixed with a slash. No need to add another. Props hakre. fixes #11036
git-svn-id: https://develop.svn.wordpress.org/trunk@12124 602fd350-edb4-49c9-b593-d223f7449a82
2009-10-28 21:58:15 +00:00
Ryan Boren ad6346e33d Fix revision3 scheme. Add photobucket oembed. see #10337
git-svn-id: https://develop.svn.wordpress.org/trunk@12123 602fd350-edb4-49c9-b593-d223f7449a82
2009-10-28 20:13:09 +00:00
Andrew Ozz 8a0569e144 Fix possible bad query, props aaroncampbell, see #4529
git-svn-id: https://develop.svn.wordpress.org/trunk@12122 602fd350-edb4-49c9-b593-d223f7449a82
2009-10-28 03:10:59 +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
Ryan Boren a96b4a4e18 Theme subdirs that contain themes are not broken if missing a stylesheet. see #10467
git-svn-id: https://develop.svn.wordpress.org/trunk@12119 602fd350-edb4-49c9-b593-d223f7449a82
2009-10-27 17:32:12 +00:00
Ryan Boren ef9260219a More theme subdir fixes. see #10467
git-svn-id: https://develop.svn.wordpress.org/trunk@12118 602fd350-edb4-49c9-b593-d223f7449a82
2009-10-27 17:17:23 +00:00
Ryan Boren a0f9bea8cb Partial fix for theme subdir support. see #10467
git-svn-id: https://develop.svn.wordpress.org/trunk@12117 602fd350-edb4-49c9-b593-d223f7449a82
2009-10-27 16:45:30 +00:00
Ryan Boren e35b179907 Remove slow left join pending better solution. see #4529
git-svn-id: https://develop.svn.wordpress.org/trunk@12116 602fd350-edb4-49c9-b593-d223f7449a82
2009-10-27 15:51:58 +00:00
Andrew Ozz 4a9acd62f8 Fix timeout for the inline buttons on images in TinyMCE.
git-svn-id: https://develop.svn.wordpress.org/trunk@12115 602fd350-edb4-49c9-b593-d223f7449a82
2009-10-27 09:06:26 +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 3875ec788d Remove pointless var assignment in get_pages(), props filosofo, fixes #11027
git-svn-id: https://develop.svn.wordpress.org/trunk@12106 602fd350-edb4-49c9-b593-d223f7449a82
2009-10-25 20:54:13 +00:00
Andrew Ozz 9b809c318d Remove unused vars in get_the_content and wp_link_pages, props filosofo, fixes #11028
git-svn-id: https://develop.svn.wordpress.org/trunk@12105 602fd350-edb4-49c9-b593-d223f7449a82
2009-10-25 20:44:35 +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 deddf3c40e Remove unnecessary and dead code from wp-app.php. Fixes #10938.
git-svn-id: https://develop.svn.wordpress.org/trunk@12102 602fd350-edb4-49c9-b593-d223f7449a82
2009-10-25 10:32:15 +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 ee7f19cf74 Refresh script versions for [12098]
git-svn-id: https://develop.svn.wordpress.org/trunk@12099 602fd350-edb4-49c9-b593-d223f7449a82
2009-10-24 15:58:41 +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
Ryan Boren 8c4c0f29fe Allow non-admins to use Vimeo and allow regex in oEmbed URL formats. Props Viper007Bond. see #10337
git-svn-id: https://develop.svn.wordpress.org/trunk@12096 602fd350-edb4-49c9-b593-d223f7449a82
2009-10-23 19:33:24 +00:00
Ryan Boren 4051033a70 Fix typo
git-svn-id: https://develop.svn.wordpress.org/trunk@12095 602fd350-edb4-49c9-b593-d223f7449a82
2009-10-23 19:07:34 +00:00
Andrew Ozz efffacb462 PressThis fixes from noel, fixes #11011
git-svn-id: https://develop.svn.wordpress.org/trunk@12094 602fd350-edb4-49c9-b593-d223f7449a82
2009-10-23 04:32:56 +00:00
Ryan Boren 9f5d4563eb GUU UI rough in. see #10973
git-svn-id: https://develop.svn.wordpress.org/trunk@12093 602fd350-edb4-49c9-b593-d223f7449a82
2009-10-22 21:06:33 +00:00
Ryan Boren 9e97a77b19 Add option to optimize tables
git-svn-id: https://develop.svn.wordpress.org/trunk@12092 602fd350-edb4-49c9-b593-d223f7449a82
2009-10-22 20:23:19 +00:00
Peter Westwood df21977652 Display better information about broken themes when there is no stylesheet. Fixes #10999 props sivel.
git-svn-id: https://develop.svn.wordpress.org/trunk@12091 602fd350-edb4-49c9-b593-d223f7449a82
2009-10-22 20:15:54 +00:00
Peter Westwood 91dafd7a61 Improve _wp_filter_build_unique_id to give more consistent behaviour and make filter removal reliable for class based filters. Fixes #10535 props dd32.
git-svn-id: https://develop.svn.wordpress.org/trunk@12090 602fd350-edb4-49c9-b593-d223f7449a82
2009-10-22 19:33:11 +00:00
Peter Westwood a4fddc2825 Ensure that trailing ) in urls are included in the link when it looks appropriate. Fixes #10990 props filosofo.
git-svn-id: https://develop.svn.wordpress.org/trunk@12088 602fd350-edb4-49c9-b593-d223f7449a82
2009-10-22 18:46:27 +00:00