Commit Graph

5297 Commits

Author SHA1 Message Date
Mark Jaquith 12f588566f Do not destroy characters surrounding shortcodes in strip_shortcodes(). fixes #10326
git-svn-id: https://develop.svn.wordpress.org/trunk@12206 602fd350-edb4-49c9-b593-d223f7449a82
2009-11-18 08:12:05 +00:00
Andrew Ozz 557d414f70 Let plugins predefine thickbox image vars, props aaroncampbell, fixes #6453
git-svn-id: https://develop.svn.wordpress.org/trunk@12205 602fd350-edb4-49c9-b593-d223f7449a82
2009-11-18 00:19:55 +00:00
Ryan Boren 28338e0170 Deprecate make_url_footnote(). fixes #4968
git-svn-id: https://develop.svn.wordpress.org/trunk@12203 602fd350-edb4-49c9-b593-d223f7449a82
2009-11-17 21:11:24 +00:00
Ryan Boren 428f0698c0 Fix undefined index notice in canonical. Props dd32. fixes #11057
git-svn-id: https://develop.svn.wordpress.org/trunk@12202 602fd350-edb4-49c9-b593-d223f7449a82
2009-11-17 21:01:03 +00:00
Ryan Boren 76fdc4d91e Add translator comment. Props nbachiyski. fixes #10737
git-svn-id: https://develop.svn.wordpress.org/trunk@12201 602fd350-edb4-49c9-b593-d223f7449a82
2009-11-17 20:54:38 +00:00
Ryan Boren 761aac294c Return null if no term queried. fixes #11112
git-svn-id: https://develop.svn.wordpress.org/trunk@12200 602fd350-edb4-49c9-b593-d223f7449a82
2009-11-17 20:51:32 +00:00
Ryan Boren 56989f4f5c Allow 0xAD in URI attributes. Props nbachiyski. fixes #9823 #10859
git-svn-id: https://develop.svn.wordpress.org/trunk@12199 602fd350-edb4-49c9-b593-d223f7449a82
2009-11-17 20:18:48 +00:00
Ryan Boren 6266cbaf3b Ue get_default_feed() for *_the_category_rss(). Props filosofo, peaceablewhale. fixes #5802
git-svn-id: https://develop.svn.wordpress.org/trunk@12197 602fd350-edb4-49c9-b593-d223f7449a82
2009-11-17 16:27:36 +00:00
Ryan Boren 8565a52fb0 Remove unnecessary variable initialization. Props nbachiyski. fixes #10736
git-svn-id: https://develop.svn.wordpress.org/trunk@12194 602fd350-edb4-49c9-b593-d223f7449a82
2009-11-16 22:44:59 +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
Ryan Boren 70384f35f7 Bump
git-svn-id: https://develop.svn.wordpress.org/trunk@12191 602fd350-edb4-49c9-b593-d223f7449a82
2009-11-16 14:57:10 +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
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
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
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
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
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
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 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
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 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 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
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 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 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