Commit Graph

2140 Commits

Author SHA1 Message Date
rob1n 49768a3192 Upgrade TinyMCE to 2.1.0. Props andy. fixes #3788
git-svn-id: https://develop.svn.wordpress.org/trunk@5256 602fd350-edb4-49c9-b593-d223f7449a82
2007-04-12 17:04:03 +00:00
rob1n 3c8cb11aee Delete the cache in tmp even if the copy failed. Props andy. fixes #4141
git-svn-id: https://develop.svn.wordpress.org/trunk@5255 602fd350-edb4-49c9-b593-d223f7449a82
2007-04-12 16:31:47 +00:00
Ryan Boren d8c8ecb711 Actually make use of wp_cache_add to avoid unnecessary cache writes. Props skeltoac. fixes #4138
git-svn-id: https://develop.svn.wordpress.org/trunk@5248 602fd350-edb4-49c9-b593-d223f7449a82
2007-04-12 02:27:12 +00:00
rob1n f8680b6c3a <!--more--> regex fixes. Props Nazgul. fixes #3698
git-svn-id: https://develop.svn.wordpress.org/trunk@5244 602fd350-edb4-49c9-b593-d223f7449a82
2007-04-11 22:47:36 +00:00
Ryan Boren 73feece365 Allow passing an empty tag set to wp_set_post_tags() so all tags can be removed from a post. see #3723
git-svn-id: https://develop.svn.wordpress.org/trunk@5243 602fd350-edb4-49c9-b593-d223f7449a82
2007-04-11 18:04:49 +00:00
rob1n 0fced13a94 Don't use fancy permalinks on draft previews. Props Viper007Bond. fixes #4117
git-svn-id: https://develop.svn.wordpress.org/trunk@5242 602fd350-edb4-49c9-b593-d223f7449a82
2007-04-11 16:52:58 +00:00
rob1n 95918aee5d Add the_meta_key filter with $key and $value arguments. Props mdawaffe. fixes #2861
git-svn-id: https://develop.svn.wordpress.org/trunk@5241 602fd350-edb4-49c9-b593-d223f7449a82
2007-04-11 05:38:30 +00:00
rob1n 5327a547db Rollback wonky part of [5193]. see #4084
git-svn-id: https://develop.svn.wordpress.org/trunk@5240 602fd350-edb4-49c9-b593-d223f7449a82
2007-04-11 03:41:42 +00:00
rob1n 9dcdbbd7ae Tweak displaying comments awaiting moderation to their authors. Props wnorris. fixes #4108
git-svn-id: https://develop.svn.wordpress.org/trunk@5238 602fd350-edb4-49c9-b593-d223f7449a82
2007-04-11 03:12:11 +00:00
rob1n c014b4d5fe Run make_clickable before texturize. Props Nazgul. fixes #4116
git-svn-id: https://develop.svn.wordpress.org/trunk@5236 602fd350-edb4-49c9-b593-d223f7449a82
2007-04-10 23:21:00 +00:00
Ryan Boren 513726b6c7 Change get_the_tags() to return an array of tags. Move tag list code to the_tags(). fixes #4123
git-svn-id: https://develop.svn.wordpress.org/trunk@5235 602fd350-edb4-49c9-b593-d223f7449a82
2007-04-10 21:23:11 +00:00
Ryan Boren e075553eba Tag clouds from mdawaffe. fixes #4129
git-svn-id: https://develop.svn.wordpress.org/trunk@5234 602fd350-edb4-49c9-b593-d223f7449a82
2007-04-10 19:52:15 +00:00
Ryan Boren f9dbc69605 Bumpage
git-svn-id: https://develop.svn.wordpress.org/trunk@5233 602fd350-edb4-49c9-b593-d223f7449a82
2007-04-10 19:08:49 +00:00
Ryan Boren b5bb5e3ee6 Add get_tags(). See #3723
git-svn-id: https://develop.svn.wordpress.org/trunk@5232 602fd350-edb4-49c9-b593-d223f7449a82
2007-04-10 18:55:51 +00:00
Ryan Boren 4f59c037ce s/get_post_tags/wp_get_post_tags/ to match the rest of the API.
git-svn-id: https://develop.svn.wordpress.org/trunk@5231 602fd350-edb4-49c9-b593-d223f7449a82
2007-04-10 18:30:55 +00:00
rob1n b88969be23 Bump jQuery and Interface versions in script loader. Props Viper007Bond. fixes #4124
git-svn-id: https://develop.svn.wordpress.org/trunk@5230 602fd350-edb4-49c9-b593-d223f7449a82
2007-04-10 17:01:52 +00:00
Matt Mullenweg 4c1d1977b7 Missing change from last commit.
git-svn-id: https://develop.svn.wordpress.org/trunk@5227 602fd350-edb4-49c9-b593-d223f7449a82
2007-04-10 07:39:47 +00:00
rob1n c4c416ce62 empty() only takes variables. Props filosofo. fixes #4118
git-svn-id: https://develop.svn.wordpress.org/trunk@5224 602fd350-edb4-49c9-b593-d223f7449a82
2007-04-10 04:28:40 +00:00
rob1n f2216ff99f Don't autop <script> blocks. Props Nazgul. fixes #3854
git-svn-id: https://develop.svn.wordpress.org/trunk@5223 602fd350-edb4-49c9-b593-d223f7449a82
2007-04-10 00:49:18 +00:00
rob1n 537e017277 Don't autop <hr />. fixes #3952
git-svn-id: https://develop.svn.wordpress.org/trunk@5222 602fd350-edb4-49c9-b593-d223f7449a82
2007-04-10 00:47:08 +00:00
rob1n 087a36b357 Default to 'en' for TinyMCE language if get_locale() is empty, to avoid meltdowns. Props m0n5t3r. fixes #4118
git-svn-id: https://develop.svn.wordpress.org/trunk@5220 602fd350-edb4-49c9-b593-d223f7449a82
2007-04-09 16:33:43 +00:00
Ryan Boren ab74cb7a60 Google spell connect fix. Props Nazgul. see #3857
git-svn-id: https://develop.svn.wordpress.org/trunk@5214 602fd350-edb4-49c9-b593-d223f7449a82
2007-04-09 00:09:42 +00:00
rob1n 995ac94ed7 Fix typo.
git-svn-id: https://develop.svn.wordpress.org/trunk@5212 602fd350-edb4-49c9-b593-d223f7449a82
2007-04-07 19:31:54 +00:00
rob1n e4620977f5 Add wp_add_post_tags() and $append variable for wp_set_post_tags(). fixes #4109
git-svn-id: https://develop.svn.wordpress.org/trunk@5209 602fd350-edb4-49c9-b593-d223f7449a82
2007-04-07 19:00:19 +00:00
Ryan Boren c113ddaa1f Avoid php notices.
git-svn-id: https://develop.svn.wordpress.org/trunk@5202 602fd350-edb4-49c9-b593-d223f7449a82
2007-04-07 05:24:37 +00:00
rob1n 2ea44df759 Move the stripslashes(), and change it to stripslashes_deep(). Props mdawaffe. fixes #4105
git-svn-id: https://develop.svn.wordpress.org/trunk@5200 602fd350-edb4-49c9-b593-d223f7449a82
2007-04-07 01:24:40 +00:00
rob1n 2e64f813ec Set the post ID when calling wp_get_attachment_url(). Props chess64. fixes #4104
git-svn-id: https://develop.svn.wordpress.org/trunk@5199 602fd350-edb4-49c9-b593-d223f7449a82
2007-04-06 23:42:38 +00:00
Ryan Boren cfb13d7bcf Relocate get_post_tags.
git-svn-id: https://develop.svn.wordpress.org/trunk@5197 602fd350-edb4-49c9-b593-d223f7449a82
2007-04-06 18:22:54 +00:00
Ryan Boren 214141d62a Typo
git-svn-id: https://develop.svn.wordpress.org/trunk@5196 602fd350-edb4-49c9-b593-d223f7449a82
2007-04-06 17:53:34 +00:00
Ryan Boren f01644b6c6 Pass link indentifier to mymysql_affected_rows(). Props Doug Kaye.
git-svn-id: https://develop.svn.wordpress.org/trunk@5195 602fd350-edb4-49c9-b593-d223f7449a82
2007-04-06 17:22:53 +00:00
rob1n 993b6f231c Add AND. fixes #4101
git-svn-id: https://develop.svn.wordpress.org/trunk@5194 602fd350-edb4-49c9-b593-d223f7449a82
2007-04-06 14:53:46 +00:00
rob1n 627cf79932 Re-encode query values after passed to add_query_arg(). Props mdawaffe. fixes #4084
git-svn-id: https://develop.svn.wordpress.org/trunk@5193 602fd350-edb4-49c9-b593-d223f7449a82
2007-04-06 04:21:21 +00:00
rob1n 1bc2123ca5 Add the argument back in. Whoops.
git-svn-id: https://develop.svn.wordpress.org/trunk@5192 602fd350-edb4-49c9-b593-d223f7449a82
2007-04-06 03:34:01 +00:00
rob1n 4a16bf61be Add private posts to get_usernumposts() when the current_user_can read_private_posts. Props molecularbear. fixes #3868
git-svn-id: https://develop.svn.wordpress.org/trunk@5190 602fd350-edb4-49c9-b593-d223f7449a82
2007-04-06 03:29:44 +00:00
rob1n 7e8754bbd8 Add a function to unify private posts SQL based on capabilities -- get_private_posts_cap_sql().
Usage: get_private_posts_cap_sql($type), where $type is either 'post' or 'page'.

Props molecularbear. fixes #3861


git-svn-id: https://develop.svn.wordpress.org/trunk@5189 602fd350-edb4-49c9-b593-d223f7449a82
2007-04-06 03:25:41 +00:00
rob1n 28066a110c Add stripos() for compatibility for PHP < 5. This will be needed for a patch later, I think.
git-svn-id: https://develop.svn.wordpress.org/trunk@5187 602fd350-edb4-49c9-b593-d223f7449a82
2007-04-06 02:54:12 +00:00
rob1n 335777c369 Add DBX to link-add.php. Props Nazgul. fixes #3922
git-svn-id: https://develop.svn.wordpress.org/trunk@5186 602fd350-edb4-49c9-b593-d223f7449a82
2007-04-06 00:56:28 +00:00
Ryan Boren 8a8e57b000 Bit twiddling. Add type bitfield to categories table. see #3723
git-svn-id: https://develop.svn.wordpress.org/trunk@5184 602fd350-edb4-49c9-b593-d223f7449a82
2007-04-05 21:16:02 +00:00
Ryan Boren c81341f3ee Category listing speedups. see #3985
git-svn-id: https://develop.svn.wordpress.org/trunk@5179 602fd350-edb4-49c9-b593-d223f7449a82
2007-04-04 22:32:24 +00:00
Ryan Boren 93cdc6deac Cache category hierarchy to make cat listing faster. Phase 1. see #3985
git-svn-id: https://develop.svn.wordpress.org/trunk@5178 602fd350-edb4-49c9-b593-d223f7449a82
2007-04-04 20:44:45 +00:00
Mark Jaquith aa82383dc6 Fix category_name=foo WP_Queries. fixes #4069
git-svn-id: https://develop.svn.wordpress.org/trunk@5171 602fd350-edb4-49c9-b593-d223f7449a82
2007-04-02 19:40:15 +00:00
Matt Mullenweg 3be1be3815 Because of the next we should always do a reset.
git-svn-id: https://develop.svn.wordpress.org/trunk@5170 602fd350-edb4-49c9-b593-d223f7449a82
2007-04-02 07:46:05 +00:00
Matt Mullenweg 0b78f9638c Fixes bottlenecks found in filter system using xdebug + kcachegrind. merge_filters was being called 1000+ times.
git-svn-id: https://develop.svn.wordpress.org/trunk@5169 602fd350-edb4-49c9-b593-d223f7449a82
2007-04-02 07:03:38 +00:00
Ryan Boren b11b72c851 i18n for quicktags.js. Props Nazgul. fixes #3958
git-svn-id: https://develop.svn.wordpress.org/trunk@5167 602fd350-edb4-49c9-b593-d223f7449a82
2007-04-01 16:06:19 +00:00
rob1n d57de9f654 Add CSS class in if it's not empty when there's no comments. fixes #2180
git-svn-id: https://develop.svn.wordpress.org/trunk@5165 602fd350-edb4-49c9-b593-d223f7449a82
2007-04-01 15:57:13 +00:00
rob1n 616570aadc Run the post titles through the the_title filter. fixes #3366
git-svn-id: https://develop.svn.wordpress.org/trunk@5164 602fd350-edb4-49c9-b593-d223f7449a82
2007-04-01 15:40:50 +00:00
Matt Mullenweg f600a397d1 Don't forget the tag_cache
git-svn-id: https://develop.svn.wordpress.org/trunk@5163 602fd350-edb4-49c9-b593-d223f7449a82
2007-04-01 08:44:10 +00:00
Matt Mullenweg d5776af750 Make most of the buttons a map, helps the write page load faster.
git-svn-id: https://develop.svn.wordpress.org/trunk@5160 602fd350-edb4-49c9-b593-d223f7449a82
2007-03-31 22:12:35 +00:00
rob1n f4ec57d876 Add exit hook to wp_delete_post(). Props kevinB. fixes #4055
git-svn-id: https://develop.svn.wordpress.org/trunk@5158 602fd350-edb4-49c9-b593-d223f7449a82
2007-03-31 21:41:08 +00:00
rob1n 5a4c2c68ad Add link rating to wp_list_bookmarks(). fixes #3916
git-svn-id: https://develop.svn.wordpress.org/trunk@5153 602fd350-edb4-49c9-b593-d223f7449a82
2007-03-31 19:43:49 +00:00