Commit Graph

2276 Commits

Author SHA1 Message Date
Ryan Boren b9b37cd426 Consult global comment in get_comment(). Don't show empty edit links.
git-svn-id: https://develop.svn.wordpress.org/trunk@5328 602fd350-edb4-49c9-b593-d223f7449a82
2007-04-27 03:51:36 +00:00
Ryan Boren 004f9d7d27 Fix text and rss widget registration. fixes #4204 for 2.3
git-svn-id: https://develop.svn.wordpress.org/trunk@5320 602fd350-edb4-49c9-b593-d223f7449a82
2007-04-26 17:49:11 +00:00
Ryan Boren 09d31c8edb Add dropdown option to archives and categories widgets. Props Joseph Scott. fixes #4194 for 2.2
git-svn-id: https://develop.svn.wordpress.org/trunk@5319 602fd350-edb4-49c9-b593-d223f7449a82
2007-04-26 17:17:30 +00:00
rob1n 2d6c38c7cf Links widget fixes from Otto42. see #4169
git-svn-id: https://develop.svn.wordpress.org/trunk@5317 602fd350-edb4-49c9-b593-d223f7449a82
2007-04-26 03:43:59 +00:00
rob1n 7a6aba312d WordPress.com -> .org and change widgetize link to Automattic's site for now. We still need to make a Codex page, just to make it more "WordPressy."
Props foolswisdom. fixes #4200


git-svn-id: https://develop.svn.wordpress.org/trunk@5316 602fd350-edb4-49c9-b593-d223f7449a82
2007-04-26 02:13:18 +00:00
rob1n 7a30348f90 Firefox uses Alt+Shift for access keys. Props johnbillion. fixes #4193
git-svn-id: https://develop.svn.wordpress.org/trunk@5315 602fd350-edb4-49c9-b593-d223f7449a82
2007-04-26 02:02:59 +00:00
rob1n b724739d74 Housekeeping -- a misspelling.
git-svn-id: https://develop.svn.wordpress.org/trunk@5312 602fd350-edb4-49c9-b593-d223f7449a82
2007-04-25 03:14:11 +00:00
rob1n a40b296021 Allow number_format to be internationalized. Props nbachiyski. fixes #3677
git-svn-id: https://develop.svn.wordpress.org/trunk@5308 602fd350-edb4-49c9-b593-d223f7449a82
2007-04-25 00:49:57 +00:00
rob1n 2b3f6e3070 Housekeeping -- clean out debug calls.
git-svn-id: https://develop.svn.wordpress.org/trunk@5307 602fd350-edb4-49c9-b593-d223f7449a82
2007-04-24 23:58:51 +00:00
rob1n 69e811bb7c Add ODT to allowed file types. Props Nazgul. fixes #4136
git-svn-id: https://develop.svn.wordpress.org/trunk@5304 602fd350-edb4-49c9-b593-d223f7449a82
2007-04-24 23:28:39 +00:00
rob1n 215dca2430 Add unfiltered_upload cap, and allow for admins. Props Nazgul. fixes #4136
git-svn-id: https://develop.svn.wordpress.org/trunk@5303 602fd350-edb4-49c9-b593-d223f7449a82
2007-04-24 23:27:20 +00:00
rob1n b0e84dde88 get_edit_*_link() functions. fixes #4153
git-svn-id: https://develop.svn.wordpress.org/trunk@5302 602fd350-edb4-49c9-b593-d223f7449a82
2007-04-24 23:21:56 +00:00
Ryan Boren 78226c0f85 Update widgets to latest bits. see #4169
git-svn-id: https://develop.svn.wordpress.org/trunk@5301 602fd350-edb4-49c9-b593-d223f7449a82
2007-04-24 21:36:17 +00:00
Ryan Boren 774a35bbec widgets.php be doubling down. Once is enough.
git-svn-id: https://develop.svn.wordpress.org/trunk@5300 602fd350-edb4-49c9-b593-d223f7449a82
2007-04-24 18:41:42 +00:00
rob1n ffc63c60e3 Widgets for 2.3. fixes #4186
git-svn-id: https://develop.svn.wordpress.org/trunk@5297 602fd350-edb4-49c9-b593-d223f7449a82
2007-04-24 01:05:17 +00:00
Ryan Boren 01dad3491e Fix variable collission in _get_cat_children. see #3985
git-svn-id: https://develop.svn.wordpress.org/trunk@5295 602fd350-edb4-49c9-b593-d223f7449a82
2007-04-23 20:28:38 +00:00
rob1n 7aca30b768 has_excerpt() template tag. fixes #4177 for 2.3
git-svn-id: https://develop.svn.wordpress.org/trunk@5293 602fd350-edb4-49c9-b593-d223f7449a82
2007-04-22 04:25:47 +00:00
Ryan Boren c883733d72 2.3-alpha
git-svn-id: https://develop.svn.wordpress.org/trunk@5288 602fd350-edb4-49c9-b593-d223f7449a82
2007-04-19 04:05:39 +00:00
rob1n baff4f7040 Replace deprecated get_settings() calls with get_option(). Props johnbillion. fixes #4167
git-svn-id: https://develop.svn.wordpress.org/trunk@5285 602fd350-edb4-49c9-b593-d223f7449a82
2007-04-19 02:53:19 +00:00
rob1n 642b38246b Cast substr()'s to int before passing through mktime() to prevent warning. Props josephscott. fixes #4166
git-svn-id: https://develop.svn.wordpress.org/trunk@5284 602fd350-edb4-49c9-b593-d223f7449a82
2007-04-19 02:49:19 +00:00
Ryan Boren e2094a4e19 Add url_to_postid filter. Props Alex King. fixes #4160
git-svn-id: https://develop.svn.wordpress.org/trunk@5283 602fd350-edb4-49c9-b593-d223f7449a82
2007-04-18 22:51:54 +00:00
Ryan Boren b749fb0711 Revert [5275] - [5277]. Fix it later. see #4153
git-svn-id: https://develop.svn.wordpress.org/trunk@5282 602fd350-edb4-49c9-b593-d223f7449a82
2007-04-17 23:00:35 +00:00
Ryan Boren c20fd94dce AJAXcat fixes and FF workaround from mdawaffe. fixes #3895
git-svn-id: https://develop.svn.wordpress.org/trunk@5280 602fd350-edb4-49c9-b593-d223f7449a82
2007-04-17 20:56:41 +00:00
rob1n e111d2de08 Fix another typo. Not a good day at all.
git-svn-id: https://develop.svn.wordpress.org/trunk@5277 602fd350-edb4-49c9-b593-d223f7449a82
2007-04-17 01:17:45 +00:00
rob1n 8e63dcecfa Fix typo. Thanks Lloyd.
git-svn-id: https://develop.svn.wordpress.org/trunk@5276 602fd350-edb4-49c9-b593-d223f7449a82
2007-04-17 00:53:58 +00:00
rob1n 734766ba6e Add get_edit_comment_link() and get_edit_post_link(). fixes #4153
git-svn-id: https://develop.svn.wordpress.org/trunk@5275 602fd350-edb4-49c9-b593-d223f7449a82
2007-04-16 23:53:34 +00:00
Ryan Boren 66d8f40564 Use wp_hash to create cron's check hash.
git-svn-id: https://develop.svn.wordpress.org/trunk@5274 602fd350-edb4-49c9-b593-d223f7449a82
2007-04-16 20:47:23 +00:00
Ryan Boren 424a7906c0 tag_exists(), category_object_exists(), and some tag and cat create fix ups. see #3723
git-svn-id: https://develop.svn.wordpress.org/trunk@5271 602fd350-edb4-49c9-b593-d223f7449a82
2007-04-15 02:26:26 +00:00
rob1n 8c25d341d9 Add in another trim(), just in case $frag is actually something.
git-svn-id: https://develop.svn.wordpress.org/trunk@5269 602fd350-edb4-49c9-b593-d223f7449a82
2007-04-14 00:19:01 +00:00
rob1n 6d905c3341 trim() question marks *after* concatenating the string. fixes #4134
git-svn-id: https://develop.svn.wordpress.org/trunk@5267 602fd350-edb4-49c9-b593-d223f7449a82
2007-04-14 00:11:47 +00:00
rob1n 447554f758 Fix gettext's plural forms for more than 2 plural forms. Props moeffju and nbachiyski. fixes #4005
git-svn-id: https://develop.svn.wordpress.org/trunk@5266 602fd350-edb4-49c9-b593-d223f7449a82
2007-04-13 23:29:47 +00:00
rob1n 9548071ffa Respect show_option_all in wp_list_categories(). Props westi. fixes #4145
git-svn-id: https://develop.svn.wordpress.org/trunk@5265 602fd350-edb4-49c9-b593-d223f7449a82
2007-04-13 23:20:14 +00:00
rob1n 2e5f0e8bde Don't treat object and param as block elements in wpautop. fixes #3854
git-svn-id: https://develop.svn.wordpress.org/trunk@5262 602fd350-edb4-49c9-b593-d223f7449a82
2007-04-12 23:19:16 +00:00
rob1n eac89c8fdd Get add_query_arg() to urlencode all values of parse_str array. Props mdawaffe. fixes #4084
git-svn-id: https://develop.svn.wordpress.org/trunk@5261 602fd350-edb4-49c9-b593-d223f7449a82
2007-04-12 22:00:22 +00:00
rob1n b88e6b40d8 Replace some stristr's with stripos'.
git-svn-id: https://develop.svn.wordpress.org/trunk@5260 602fd350-edb4-49c9-b593-d223f7449a82
2007-04-12 21:59:31 +00:00
Ryan Boren 3b2de5b5df Refactor l10n code to reduce duplication. Change placement of context. Props nbachiyski. fixes #3687
git-svn-id: https://develop.svn.wordpress.org/trunk@5258 602fd350-edb4-49c9-b593-d223f7449a82
2007-04-12 21:15:44 +00:00
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
Matt Mullenweg a059392772 Now tag pretty permalinks should work, and support custom tag bases.
git-svn-id: https://develop.svn.wordpress.org/trunk@5150 602fd350-edb4-49c9-b593-d223f7449a82
2007-03-31 09:19:32 +00:00
Matt Mullenweg 570a74e818 All the query stuff we need for tag= URLs to work.
git-svn-id: https://develop.svn.wordpress.org/trunk@5149 602fd350-edb4-49c9-b593-d223f7449a82
2007-03-31 06:16:12 +00:00
rob1n 78ed2a6eca Add https:// support to script loader. Props abtime. fixes #4046
git-svn-id: https://develop.svn.wordpress.org/trunk@5145 602fd350-edb4-49c9-b593-d223f7449a82
2007-03-31 02:47:23 +00:00
rob1n 362760a485 Add missing the_title filter call. Props jhodgdon. fixes #4050
git-svn-id: https://develop.svn.wordpress.org/trunk@5144 602fd350-edb4-49c9-b593-d223f7449a82
2007-03-30 23:46:17 +00:00
rob1n d7d36ff890 Fix typo.
git-svn-id: https://develop.svn.wordpress.org/trunk@5143 602fd350-edb4-49c9-b593-d223f7449a82
2007-03-29 04:08:54 +00:00
rob1n 44bb2a71f1 PHPdoc for plugin.php. Props Martin10. fixes #3852
git-svn-id: https://develop.svn.wordpress.org/trunk@5142 602fd350-edb4-49c9-b593-d223f7449a82
2007-03-29 02:45:34 +00:00
rob1n 8f07a4c509 Add back in a question mark. Props foolswisdom. fixes #3143
git-svn-id: https://develop.svn.wordpress.org/trunk@5138 602fd350-edb4-49c9-b593-d223f7449a82
2007-03-29 02:24:25 +00:00
rob1n 3b6010f155 Fix months in wp_title(). fixes #4043
git-svn-id: https://develop.svn.wordpress.org/trunk@5137 602fd350-edb4-49c9-b593-d223f7449a82
2007-03-29 02:06:16 +00:00
rob1n fcb2f9db91 Add get_sidebar action to get_sidebar(). fixes #1445
git-svn-id: https://develop.svn.wordpress.org/trunk@5136 602fd350-edb4-49c9-b593-d223f7449a82
2007-03-29 01:45:29 +00:00
rob1n 9f0ebcd37e Speed (wp_)list_authors by consolidating some queries. Props graeme. fixes #1659
git-svn-id: https://develop.svn.wordpress.org/trunk@5135 602fd350-edb4-49c9-b593-d223f7449a82
2007-03-29 01:39:05 +00:00
rob1n 9cfc001d44 Apply the bloginfo_rss filter and change bloginfo_rss filter to get_bloginfo. Props Kafkaesqui. fixes #2014
git-svn-id: https://develop.svn.wordpress.org/trunk@5134 602fd350-edb4-49c9-b593-d223f7449a82
2007-03-29 01:35:50 +00:00
rob1n f9b141865b Sorry, a little tester got in there. Didn't expect to be committing ;).
git-svn-id: https://develop.svn.wordpress.org/trunk@5133 602fd350-edb4-49c9-b593-d223f7449a82
2007-03-29 01:30:27 +00:00
rob1n 26a5cfc7fe Show more relevant titles (current category, date, etc.) in feed titles. fixes #1790
git-svn-id: https://develop.svn.wordpress.org/trunk@5132 602fd350-edb4-49c9-b593-d223f7449a82
2007-03-29 01:29:09 +00:00
Ryan Boren 45208447a5 Set EP_ALL to 4095. Props jhodgdon. fixes #3963
git-svn-id: https://develop.svn.wordpress.org/trunk@5131 602fd350-edb4-49c9-b593-d223f7449a82
2007-03-29 00:19:42 +00:00
Ryan Boren 924e6679d4 Rewrit endpoint fixes from westi. see #3964
git-svn-id: https://develop.svn.wordpress.org/trunk@5130 602fd350-edb4-49c9-b593-d223f7449a82
2007-03-29 00:17:40 +00:00
Ryan Boren 0d281aa632 Avoid non-object error when wp_die()ing before is instantiated. Props technosailor. fixes #4042
git-svn-id: https://develop.svn.wordpress.org/trunk@5129 602fd350-edb4-49c9-b593-d223f7449a82
2007-03-28 18:10:03 +00:00
Ryan Boren 58efc0e2b2 Change bookmark to link. Props foolswisdom. fixes #3143
git-svn-id: https://develop.svn.wordpress.org/trunk@5124 602fd350-edb4-49c9-b593-d223f7449a82
2007-03-27 23:54:48 +00:00
Ryan Boren 51cd99bb02 More clean_url and int casts for trunk.
git-svn-id: https://develop.svn.wordpress.org/trunk@5119 602fd350-edb4-49c9-b593-d223f7449a82
2007-03-27 23:45:41 +00:00
Ryan Boren 8a15ffc657 Dynamically refill comment list when a comment is deleted. Props mdawaffe. fixes #4038
git-svn-id: https://develop.svn.wordpress.org/trunk@5118 602fd350-edb4-49c9-b593-d223f7449a82
2007-03-27 21:20:16 +00:00
Ryan Boren 0ba70bb459 Serve robots.txt as text/plain. Props JeremyVisser. fixes #4037
git-svn-id: https://develop.svn.wordpress.org/trunk@5117 602fd350-edb4-49c9-b593-d223f7449a82
2007-03-27 16:44:36 +00:00
Ryan Boren 9de70f4145 Add trackback_url filter. Props jhodgdon. fixes #4032
git-svn-id: https://develop.svn.wordpress.org/trunk@5116 602fd350-edb4-49c9-b593-d223f7449a82
2007-03-26 23:40:49 +00:00
Ryan Boren 0a6d5f8788 Fallback to loading english for tinyMCE if requested locale is not there. see #3882
git-svn-id: https://develop.svn.wordpress.org/trunk@5114 602fd350-edb4-49c9-b593-d223f7449a82
2007-03-26 22:05:36 +00:00
Matt Mullenweg 644849ac0e If we don't have IDs at this point, bail out. There are no tag defaults. Should fix #4035 though I can't recreate their particular error.
git-svn-id: https://develop.svn.wordpress.org/trunk@5113 602fd350-edb4-49c9-b593-d223f7449a82
2007-03-26 18:05:28 +00:00
Matt Mullenweg 505c0ad074 Don't show tags on the category page.
git-svn-id: https://develop.svn.wordpress.org/trunk@5112 602fd350-edb4-49c9-b593-d223f7449a82
2007-03-26 17:25:15 +00:00
Matt Mullenweg bfb4b8c091 Basic theme support for tags.
git-svn-id: https://develop.svn.wordpress.org/trunk@5111 602fd350-edb4-49c9-b593-d223f7449a82
2007-03-26 08:08:31 +00:00
Matt Mullenweg b7debfb42b A backend interface for tagging.
git-svn-id: https://develop.svn.wordpress.org/trunk@5110 602fd350-edb4-49c9-b593-d223f7449a82
2007-03-26 07:28:29 +00:00
Ryan Boren 387c06a69f Revert [5102]
git-svn-id: https://develop.svn.wordpress.org/trunk@5109 602fd350-edb4-49c9-b593-d223f7449a82
2007-03-26 06:13:19 +00:00
Ryan Boren a2470ad625 Update to latest tinyMCE compressor. Simplify MCE language loading. see #3882
git-svn-id: https://develop.svn.wordpress.org/trunk@5108 602fd350-edb4-49c9-b593-d223f7449a82
2007-03-26 03:44:35 +00:00
Ryan Boren b4ef10ef85 Fix day display in title. Props phKU. fixes #3801
git-svn-id: https://develop.svn.wordpress.org/trunk@5106 602fd350-edb4-49c9-b593-d223f7449a82
2007-03-25 23:47:48 +00:00
Ryan Boren 7d8f8b40f2 Return instead of exit in template-loader. Props Otto42 and Nazgul. fixes #3790
git-svn-id: https://develop.svn.wordpress.org/trunk@5104 602fd350-edb4-49c9-b593-d223f7449a82
2007-03-25 23:39:14 +00:00
Ryan Boren afd5de8f9d Correct reversed logic in maybe_serialize. Props takayukister. fixes #4029
git-svn-id: https://develop.svn.wordpress.org/trunk@5102 602fd350-edb4-49c9-b593-d223f7449a82
2007-03-25 23:23:52 +00:00
Ryan Boren 6e2d108bf0 Deprecate number argument to comments_number. No longer used. fixes #2687
git-svn-id: https://develop.svn.wordpress.org/trunk@5101 602fd350-edb4-49c9-b593-d223f7449a82
2007-03-25 23:18:19 +00:00
Ryan Boren 152256ca63 Fix relative link mangling in clean_url. fixes #4017 for trunk
git-svn-id: https://develop.svn.wordpress.org/trunk@5095 602fd350-edb4-49c9-b593-d223f7449a82
2007-03-23 23:31:44 +00:00
Ryan Boren de3198277a Allow siteurl and home to be defined as constants in wp-config, bypassing the DB. Props filosofo and charleshooper. fixes #4003
git-svn-id: https://develop.svn.wordpress.org/trunk@5093 602fd350-edb4-49c9-b593-d223f7449a82
2007-03-23 17:45:40 +00:00
Ryan Boren d64c69bcd4 Castaways on Gilligan's Isle
git-svn-id: https://develop.svn.wordpress.org/trunk@5090 602fd350-edb4-49c9-b593-d223f7449a82
2007-03-23 02:16:16 +00:00
Matt Mullenweg d57901d29a Ryan slays the dragon. (Some of these return WP_Error objects.)
git-svn-id: https://develop.svn.wordpress.org/trunk@5089 602fd350-edb4-49c9-b593-d223f7449a82
2007-03-23 02:05:29 +00:00
Ryan Boren df22b0ccc9 Don't prepend protocol to relative links. fixes #4017 #4001 for trunk
git-svn-id: https://develop.svn.wordpress.org/trunk@5088 602fd350-edb4-49c9-b593-d223f7449a82
2007-03-23 01:45:24 +00:00
Matt Mullenweg b1f6f9a6a8 (int)er the dragon.
git-svn-id: https://develop.svn.wordpress.org/trunk@5087 602fd350-edb4-49c9-b593-d223f7449a82
2007-03-23 00:59:21 +00:00
Ryan Boren 3e2783acdd Cast to int
git-svn-id: https://develop.svn.wordpress.org/trunk@5086 602fd350-edb4-49c9-b593-d223f7449a82
2007-03-22 23:03:07 +00:00
Ryan Boren 77559c20b4 More int casts
git-svn-id: https://develop.svn.wordpress.org/trunk@5082 602fd350-edb4-49c9-b593-d223f7449a82
2007-03-22 20:52:29 +00:00
Ryan Boren 8357362440 Add _c() for disambiguatin translateable strings. Props nbachiyski. fixes #3687
git-svn-id: https://develop.svn.wordpress.org/trunk@5081 602fd350-edb4-49c9-b593-d223f7449a82
2007-03-22 03:34:23 +00:00
Ryan Boren 61a985f409 Cast to int. Props xknown. fixes #4012 for trunk.
git-svn-id: https://develop.svn.wordpress.org/trunk@5078 602fd350-edb4-49c9-b593-d223f7449a82
2007-03-22 01:04:19 +00:00
Ryan Boren b3727f5cb0 Don't add http:// to relative links. Props donncha. fixes #4001
git-svn-id: https://develop.svn.wordpress.org/trunk@5065 602fd350-edb4-49c9-b593-d223f7449a82
2007-03-21 00:29:40 +00:00
Ryan Boren 3c5b5f926b Fix typo. Props rob1n. fixes #4000
git-svn-id: https://develop.svn.wordpress.org/trunk@5063 602fd350-edb4-49c9-b593-d223f7449a82
2007-03-20 03:18:44 +00:00
Ryan Boren 6a3688b9c2 Add RTL support to kubrick. Props Sewar. fixes #3953
git-svn-id: https://develop.svn.wordpress.org/trunk@5062 602fd350-edb4-49c9-b593-d223f7449a82
2007-03-19 19:08:15 +00:00
Ryan Boren 58200c8ac8 Add wp_mail_from filter. Props rob1n. fixes #2053
git-svn-id: https://develop.svn.wordpress.org/trunk@5061 602fd350-edb4-49c9-b593-d223f7449a82
2007-03-18 23:16:14 +00:00
Mark Jaquith d8336eed5c use clean_url() instead of attribute_escape() when dealing with src/href to protect against XSS. props xknown. fixes #3986 for trunk.
git-svn-id: https://develop.svn.wordpress.org/trunk@5056 602fd350-edb4-49c9-b593-d223f7449a82
2007-03-17 08:46:59 +00:00
Ryan Boren d4007dfa64 Don't cast to string if empty. Props donncha. fixes #3979
git-svn-id: https://develop.svn.wordpress.org/trunk@5051 602fd350-edb4-49c9-b593-d223f7449a82
2007-03-16 22:00:43 +00:00
Mark Jaquith cb973fe273 have wp_list_pages() default to menu_order sorting and only use post_title sorting as a secondary sort. props johnbillion. fixes #3924 for trunk.
git-svn-id: https://develop.svn.wordpress.org/trunk@5049 602fd350-edb4-49c9-b593-d223f7449a82
2007-03-16 08:19:10 +00:00
Mark Jaquith e00c636c7d Sanitize output of previous_posts() and next_posts(). Props Alex Concha for the report.
git-svn-id: https://develop.svn.wordpress.org/trunk@5045 602fd350-edb4-49c9-b593-d223f7449a82
2007-03-16 08:04:24 +00:00
Ryan Boren d2aba83689 More attribute_escape().
git-svn-id: https://develop.svn.wordpress.org/trunk@5044 602fd350-edb4-49c9-b593-d223f7449a82
2007-03-16 01:20:53 +00:00
Mark Jaquith 096395f366 nonce-protect comments by users with unfiltered_html cap to prevent xsrf/xss. fixes #3973 for trunk
git-svn-id: https://develop.svn.wordpress.org/trunk@5039 602fd350-edb4-49c9-b593-d223f7449a82
2007-03-14 23:10:57 +00:00
Mark Jaquith 51fcbe01ba More int casting, just to be safe.
git-svn-id: https://develop.svn.wordpress.org/trunk@5037 602fd350-edb4-49c9-b593-d223f7449a82
2007-03-14 07:40:56 +00:00
Ryan Boren d3578ce12e Fix order by in wp_get_archives(). Props mattbta. fixes #3961
git-svn-id: https://develop.svn.wordpress.org/trunk@5036 602fd350-edb4-49c9-b593-d223f7449a82
2007-03-14 02:21:39 +00:00
Ryan Boren 01c199e20c Move smilies init to function and trigger from init. Props rob1n. fixes #1721
git-svn-id: https://develop.svn.wordpress.org/trunk@5032 602fd350-edb4-49c9-b593-d223f7449a82
2007-03-12 21:31:24 +00:00
Ryan Boren 71bbe5ffb4 Quote values heading to DB. Cast some ints.
git-svn-id: https://develop.svn.wordpress.org/trunk@5029 602fd350-edb4-49c9-b593-d223f7449a82
2007-03-12 16:09:44 +00:00
Mark Jaquith 02f3720bfa [5006] didn't take. props Nazgul for the spot. fixes #3866
git-svn-id: https://develop.svn.wordpress.org/trunk@5028 602fd350-edb4-49c9-b593-d223f7449a82
2007-03-12 08:59:15 +00:00
Matt Mullenweg eb54f68261 Add filters to theme_mods
git-svn-id: https://develop.svn.wordpress.org/trunk@5026 602fd350-edb4-49c9-b593-d223f7449a82
2007-03-12 00:07:54 +00:00
Ryan Boren ef006054ca vars.php cleanups and speedups from rob1n. fixes #3956
git-svn-id: https://develop.svn.wordpress.org/trunk@5024 602fd350-edb4-49c9-b593-d223f7449a82
2007-03-11 01:19:16 +00:00
Ryan Boren a89ea3e725 Prophylactic casting.
git-svn-id: https://develop.svn.wordpress.org/trunk@5022 602fd350-edb4-49c9-b593-d223f7449a82
2007-03-10 20:34:01 +00:00
Mark Jaquith 9331f3efea Improvements to untrailingslashit() and trailingslashit(). props Jamie Talbot. fixes #3899
git-svn-id: https://develop.svn.wordpress.org/trunk@5021 602fd350-edb4-49c9-b593-d223f7449a82
2007-03-10 08:32:57 +00:00
Mark Jaquith e643142a5e new function: untrailingslashit(). fixes #3899
git-svn-id: https://develop.svn.wordpress.org/trunk@5020 602fd350-edb4-49c9-b593-d223f7449a82
2007-03-10 06:25:33 +00:00
Mark Jaquith e2f9950018 user_trailingslashit filter for users who sometimes want trailing slashes only on certain URL types. fixes #3899
git-svn-id: https://develop.svn.wordpress.org/trunk@5019 602fd350-edb4-49c9-b593-d223f7449a82
2007-03-10 06:18:43 +00:00
Mark Jaquith b2105a943e Cleaner and more complete fix for [5017]. fixes #3949
git-svn-id: https://develop.svn.wordpress.org/trunk@5018 602fd350-edb4-49c9-b593-d223f7449a82
2007-03-10 06:09:52 +00:00