Commit Graph

400 Commits

Author SHA1 Message Date
westi 32b4cbe0da Use the attachment metadata to get the size infomation rather than making an HTTP request for the image in the attachment template.
git-svn-id: http://svn.automattic.com/wordpress/trunk@14700 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-05-16 21:02:34 +00:00
nacin c40e204b6c Twenty Ten documentation and functions.php improvements. see #12695.
git-svn-id: http://svn.automattic.com/wordpress/trunk@14698 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-05-16 20:53:36 +00:00
nacin ff66f09ec9 @subpackage cannot have spaces.
git-svn-id: http://svn.automattic.com/wordpress/trunk@14692 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-05-16 17:10:21 +00:00
nacin 249a6cdd18 Use p instead of definition list for allowed tags in comment_form(). props demetris. Style the new markup in Twenty Ten. see #10910.
git-svn-id: http://svn.automattic.com/wordpress/trunk@14689 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-05-16 06:38:58 +00:00
nacin 61725ced93 Remove unnecessary and out-of-place Twenty Ten filter. Also, tabs not spaces. see #13198.
git-svn-id: http://svn.automattic.com/wordpress/trunk@14688 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-05-16 06:26:18 +00:00
potbot 3934cd678b POT, generated from r14661
git-svn-id: http://svn.automattic.com/wordpress/trunk@14662 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-05-15 12:21:45 +00:00
markjaquith 4ab768959d Do not show dummy default category output when calling the_category on a post_type that does not support the category taxonomy (like pages). Fix TwentyTen theme to not display wrapping text if there are no categories. fixes #10333
git-svn-id: http://svn.automattic.com/wordpress/trunk@14660 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-05-15 09:59:15 +00:00
potbot 0f2f5f276b POT, generated from r14627
git-svn-id: http://svn.automattic.com/wordpress/trunk@14629 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-05-14 08:21:12 +00:00
nacin a743de0788 First pass on 'Theme Locations' for navigation menus. Themes need to specify a location when calling wp_nav_menu and register locations in functions.php. Users then map menus to locations in the nav menu admin. Subject to review. see #13378.
git-svn-id: http://svn.automattic.com/wordpress/trunk@14620 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-05-14 06:20:30 +00:00
potbot f06b9dbcf6 POT, generated from r14612
git-svn-id: http://svn.automattic.com/wordpress/trunk@14613 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-05-14 00:21:45 +00:00
wpmuguru 21bef33fc6 add menu slots/theme_menus, props ryan, see #13378
git-svn-id: http://svn.automattic.com/wordpress/trunk@14611 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-05-13 22:14:54 +00:00
potbot 5ea7e3a144 POT, generated from r14554
git-svn-id: http://svn.automattic.com/wordpress/trunk@14555 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-05-11 00:22:05 +00:00
nbachiyski e27f57e1b6 Do not cut the Tagged <tags> phrase in half. Fixes #13198
git-svn-id: http://svn.automattic.com/wordpress/trunk@14552 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-05-10 21:24:32 +00:00
westi 5bcf419601 Add ARIA landmark roles to TwentyTen. Fixes #13055 props demetris.
git-svn-id: http://svn.automattic.com/wordpress/trunk@14549 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-05-10 21:10:12 +00:00
nbachiyski 41d8837397 Various twentyten i18n fixes. Props zeo, dimadin. Fixes #13198
git-svn-id: http://svn.automattic.com/wordpress/trunk@14544 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-05-10 20:30:58 +00:00
potbot c05b99ed95 POT, generated from r14542
git-svn-id: http://svn.automattic.com/wordpress/trunk@14543 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-05-10 20:22:01 +00:00
nbachiyski 75b3a4ea29 Clean up loop i18n. Props zeo, see #13198
* Take out tags from strings
 * Extract two common and complicatd strings into functions
 * Whitespace


git-svn-id: http://svn.automattic.com/wordpress/trunk@14541 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-05-10 19:06:22 +00:00
potbot 57e51b0463 POT, generated from r14536
git-svn-id: http://svn.automattic.com/wordpress/trunk@14537 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-05-10 08:21:46 +00:00
nbachiyski d4e3352f1e I18n fixes for header.php in Twentyten. Props zeo. See #13198
git-svn-id: http://svn.automattic.com/wordpress/trunk@14535 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-05-10 06:04:14 +00:00
nbachiyski 25e4c70b5d I18n and whitespace fixes for functions.php in TwentyTen
git-svn-id: http://svn.automattic.com/wordpress/trunk@14534 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-05-10 05:58:24 +00:00
nbachiyski 2f7d83c22e Move vcard span out of the translatable string. See #13198
git-svn-id: http://svn.automattic.com/wordpress/trunk@14533 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-05-10 05:28:01 +00:00
nbachiyski 8b03f80b29 Twentyten attachment.php copy and i18n fixes. Props dimadin and zeo. See #13198
* Removed the Post a comment link, since it's not present on any other single post page
 * The text and link to the full-size image weren't clear and hard to i18n. Changed to Full size is 3872 × 2592 pixel, where the size is the link
 * Whitespace fixes


git-svn-id: http://svn.automattic.com/wordpress/trunk@14532 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-05-10 05:11:11 +00:00
potbot e32f458230 POT, generated from r14524
git-svn-id: http://svn.automattic.com/wordpress/trunk@14525 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-05-09 12:21:55 +00:00
nbachiyski 8c1e6b62e6 I18n fixes in Twentyten footer. Props zeo, see #13198
git-svn-id: http://svn.automattic.com/wordpress/trunk@14523 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-05-09 09:29:06 +00:00
iammattthomas 3b38c7671e In Twenty Ten, keep the search widget lable from clashing with the search widget title. Props iandstewart.
git-svn-id: http://svn.automattic.com/wordpress/trunk@14511 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-05-08 06:57:38 +00:00
potbot 96a0afbc4a POT, generated from r14502
git-svn-id: http://svn.automattic.com/wordpress/trunk@14503 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-05-07 20:21:45 +00:00
nacin 4340b23564 Make sure we're localizing the Gallery category in Twenty Ten. Use get_term_link because it can look up the category by the slug, instead of an extra get_cat_ID call. See [14350] for previous changes.
git-svn-id: http://svn.automattic.com/wordpress/trunk@14501 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-05-07 18:13:20 +00:00
nacin d06c6634ae Properly handle the wp_page_args filter in Twenty Ten. fixes #13293, props demetris.
git-svn-id: http://svn.automattic.com/wordpress/trunk@14500 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-05-07 18:11:58 +00:00
nacin 7df4cd20a1 In Twenty Ten, give single.php a valid loop. fixes #13279.
git-svn-id: http://svn.automattic.com/wordpress/trunk@14476 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-05-06 17:34:17 +00:00
potbot 02d7ec59cc POT, generated from r14469
git-svn-id: http://svn.automattic.com/wordpress/trunk@14470 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-05-06 04:21:21 +00:00
iammattthomas 9c378e8e27 Add a home link to the navigation in twenty ten. Props iandstewart.
git-svn-id: http://svn.automattic.com/wordpress/trunk@14469 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-05-06 03:04:22 +00:00
nacin 81773b5ce1 Add editor-style-rtl.css. props yoavf, fixes #13121.
git-svn-id: http://svn.automattic.com/wordpress/trunk@14466 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-05-05 20:38:42 +00:00
potbot b6557a8347 POT, generated from r14434
git-svn-id: http://svn.automattic.com/wordpress/trunk@14435 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-05-04 08:21:35 +00:00
nacin 3e035809a1 Twenty Ten spacing and string cleanups. props zeo, markmcwilliams. see #13198. Add a twentyten_credits filter, props nathanrice, fixes #12804. Also clean up the generator/credits string.
git-svn-id: http://svn.automattic.com/wordpress/trunk@14433 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-05-04 07:01:09 +00:00
potbot ebff7d7c0f POT, generated from r14401
git-svn-id: http://svn.automattic.com/wordpress/trunk@14403 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-05-03 20:21:30 +00:00
ryan 97c448ed14 Coding standard cleanups. Props zeo. see #13198
git-svn-id: http://svn.automattic.com/wordpress/trunk@14391 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-05-03 19:30:02 +00:00
ryan d20d059440 Typo fixes. Props zeo. see #13198
git-svn-id: http://svn.automattic.com/wordpress/trunk@14389 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-05-03 19:28:44 +00:00
ryan a35bf04b19 Use get_search_query(). Props zeo. see #13198
git-svn-id: http://svn.automattic.com/wordpress/trunk@14388 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-05-03 19:28:04 +00:00
nacin a42ee2366e Twenty Ten RTL fixes. props yoavf. fixes #13121.
git-svn-id: http://svn.automattic.com/wordpress/trunk@14385 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-05-03 19:17:27 +00:00
iammattthomas 941da09fa7 In Twenty Ten:
* removed custom functions for listing tags, cats, or other custom taxonomy terms.
* fixed up a couple of span tags meant to catch the text before tag and cat listings (for child themes)
* made attachment pages full width with a filterable size for the image, 'twentyten_attachment_size' (for child themes)
* removed "RSS for this post" in single.php.
clicking on attachment images in a gallery takes you to the next image, unless it's the last image in a gallery, in which case it points you back to the parent post.
* added a link to the full-size image in the post meta

Props iandstewart.

git-svn-id: http://svn.automattic.com/wordpress/trunk@14384 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-05-03 19:16:47 +00:00
ryan 172aa06718 Revert [14347] and [14372]. It broke more than we expected. Try again in 3.1. see #13051
git-svn-id: http://svn.automattic.com/wordpress/trunk@14374 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-05-03 18:16:22 +00:00
potbot 2764e19bc5 POT, generated from r14358
git-svn-id: http://svn.automattic.com/wordpress/trunk@14359 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-05-03 04:21:35 +00:00
nbachiyski 855ac9ef4a Use _n() instead of comments_number() in twentyten, because it doesn't handle plurals properly. Props zeo and dimadin. Fixes #13187
git-svn-id: http://svn.automattic.com/wordpress/trunk@14358 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-05-03 01:07:49 +00:00
potbot 667481ba03 POT, generated from r14353
git-svn-id: http://svn.automattic.com/wordpress/trunk@14354 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-05-03 00:21:25 +00:00
ryan b4e14fb299 Mark Asides and Gallery category slugs for translation.
git-svn-id: http://svn.automattic.com/wordpress/trunk@14350 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-05-02 23:32:59 +00:00
ryan 91354eefee Escape links by default. Props alexkingorg. see #13051
git-svn-id: http://svn.automattic.com/wordpress/trunk@14347 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-05-02 22:53:59 +00:00
nacin 1f94349afb Check thread_comments before loading the comment-reply script. props ptahdunbar, fixes #12932
git-svn-id: http://svn.automattic.com/wordpress/trunk@14339 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-05-02 20:51:30 +00:00
potbot dd854880b3 POT, generated from r14337
git-svn-id: http://svn.automattic.com/wordpress/trunk@14338 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-05-02 20:21:34 +00:00
nacin bbe76ccd6e Remove Twenty Ten's searchform.php and use the core get_search_form() markup. fixes #13053
git-svn-id: http://svn.automattic.com/wordpress/trunk@14331 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-05-02 18:10:42 +00:00
potbot 521bac0450 POT, generated from r14324
git-svn-id: http://svn.automattic.com/wordpress/trunk@14325 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-05-01 00:21:36 +00:00
nacin 2c26a7b63c Remove unnecessary space in 2010 comments.php. props zeo, fixes #13196.
git-svn-id: http://svn.automattic.com/wordpress/trunk@14323 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-04-30 22:39:37 +00:00
nacin 9fa3246d6e Translate name of sidebars in twentyten. props zeo, fixes #13189.
git-svn-id: http://svn.automattic.com/wordpress/trunk@14322 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-04-30 22:34:41 +00:00
iammattthomas 01b2401d91 In twenty ten, removing some unnecessary styles for images
git-svn-id: http://svn.automattic.com/wordpress/trunk@14300 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-04-29 17:32:56 +00:00
potbot 8dbbe467dc POT, generated from r14295
git-svn-id: http://svn.automattic.com/wordpress/trunk@14296 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-04-29 08:21:39 +00:00
nacin caa6f219dd In Twenty Ten, i18n for prev/next post link arrows. props yoavf, fixes #13123.
git-svn-id: http://svn.automattic.com/wordpress/trunk@14289 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-04-29 05:27:53 +00:00
potbot e94bc6979e POT, generated from r14283
git-svn-id: http://svn.automattic.com/wordpress/trunk@14284 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-04-28 20:21:06 +00:00
iammattthomas f0b91458e4 In Twenty Ten, fix the ordering of items in the title tag.
git-svn-id: http://svn.automattic.com/wordpress/trunk@14282 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-04-28 17:17:42 +00:00
iammattthomas 6dfe0a43ac In Twenty Ten, remove the pipe separator from the title when there is no blog description. Props noel.
git-svn-id: http://svn.automattic.com/wordpress/trunk@14281 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-04-28 17:11:18 +00:00
iammattthomas 6636a27c38 In Twenty Ten, fix aligned image styles
git-svn-id: http://svn.automattic.com/wordpress/trunk@14272 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-04-28 05:20:48 +00:00
iammattthomas b42b1502e9 In Twenty Ten, remove margins from normal inline images, set vertical alignment of inline images, and apply bottom margin to alignnone class.
git-svn-id: http://svn.automattic.com/wordpress/trunk@14269 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-04-28 04:46:10 +00:00
iammattthomas d74a32fb0d In Twenty Ten, give header img a bottom border so it looks right when there's no menu.
git-svn-id: http://svn.automattic.com/wordpress/trunk@14236 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-04-25 21:23:08 +00:00
iammattthomas d630354913 In twentyten, use path.jpg as the default header image
git-svn-id: http://svn.automattic.com/wordpress/trunk@14227 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-04-25 01:02:51 +00:00
iammattthomas 8f63ab9743 In twentyten, equalize border size on header and footer for print
git-svn-id: http://svn.automattic.com/wordpress/trunk@14225 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-04-24 18:27:08 +00:00
iammattthomas 6948c5f0fa In twentyten, fix print stylesheet for single column page template.
git-svn-id: http://svn.automattic.com/wordpress/trunk@14224 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-04-24 18:20:17 +00:00
iammattthomas 18f95b7dd5 In twentyten, apply last-child stylings to pingbacks as well as comments.
git-svn-id: http://svn.automattic.com/wordpress/trunk@14223 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-04-24 18:08:46 +00:00
potbot 59589f6dc4 POT, generated from r14204
git-svn-id: http://svn.automattic.com/wordpress/trunk@14205 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-04-23 20:21:09 +00:00
iammattthomas e0190cbf73 In twentyten, CSS code cleanup
git-svn-id: http://svn.automattic.com/wordpress/trunk@14204 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-04-23 19:09:02 +00:00
iammattthomas 7a7eae1200 In twentyten, remove border from last child of commentlist, add border to top of respond div
git-svn-id: http://svn.automattic.com/wordpress/trunk@14202 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-04-23 18:59:36 +00:00
iammattthomas 9ff0fe865e In twentyten, fix Firefox print style, make print styles use full page width, and style form inputs.
git-svn-id: http://svn.automattic.com/wordpress/trunk@14201 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-04-23 18:49:58 +00:00
nacin e01a4333cd Twentyten: Prevent right edge of the comment textarea from being hidden from view in Firefox. see #12994
git-svn-id: http://svn.automattic.com/wordpress/trunk@14115 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-04-16 19:07:00 +00:00
potbot 66dc4fe476 POT, generated from r14084
git-svn-id: http://svn.automattic.com/wordpress/trunk@14085 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-04-14 00:21:06 +00:00
iammattthomas 207a41d5a5 Links on dates in Twenty Ten back by popular demand. Fixes #12925.
git-svn-id: http://svn.automattic.com/wordpress/trunk@14084 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-04-13 23:41:13 +00:00
iammattthomas 607a8c4fbf Remove the permalink from dates in Twenty Ten, fixes #12925
git-svn-id: http://svn.automattic.com/wordpress/trunk@14083 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-04-13 23:05:37 +00:00
iammattthomas 183e194de4 Make entry-meta on single posts match entry-meta in the loop in Twenty Ten
git-svn-id: http://svn.automattic.com/wordpress/trunk@14082 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-04-13 22:43:52 +00:00
nacin cfee8704b2 Remove unnecessary quote escaping and \n\t indentation in twentyten. see #12902
git-svn-id: http://svn.automattic.com/wordpress/trunk@14037 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-04-08 03:13:48 +00:00
ryan 96bc63439a Nav menu fixes. Props ptahdunbar. see #12896 fixes #12844
git-svn-id: http://svn.automattic.com/wordpress/trunk@14031 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-04-07 15:25:48 +00:00
potbot a08b7ff487 POT, generated from r14005
git-svn-id: http://svn.automattic.com/wordpress/trunk@14006 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-04-05 04:21:01 +00:00
dd32 b22d2ea457 Move all Feature Images => header image integration into a is_singular() check. Prevents a PHP notice when $post is not set (For example, a 404 page). Fixes #12661
git-svn-id: http://svn.automattic.com/wordpress/trunk@14002 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-04-05 02:58:39 +00:00
nacin 686baae7cc Cast away the default styling of the recent comments widget in twentyten. fixes #12703
git-svn-id: http://svn.automattic.com/wordpress/trunk@13977 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-04-03 23:33:52 +00:00
potbot 8e0fab0d43 POT, generated from r13944
git-svn-id: http://svn.automattic.com/wordpress/trunk@13945 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-04-02 08:21:08 +00:00
nacin 40a8e989e1 Update obsolete docs in Twentyten.
git-svn-id: http://svn.automattic.com/wordpress/trunk@13936 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-04-02 04:45:22 +00:00
potbot 8ef6c001b4 POT, generated from r13932
git-svn-id: http://svn.automattic.com/wordpress/trunk@13933 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-04-02 04:21:11 +00:00
dd32 0c8fda014c Restore pluggable for twentyten_setup(). Its impossible for child themes to override without using a callback to remove the filter at a higher priority. Props jorbin. Fixes #12806
git-svn-id: http://svn.automattic.com/wordpress/trunk@13923 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-04-02 00:54:48 +00:00
nbachiyski e7116c1a51 POT, generated from r13891
git-svn-id: http://svn.automattic.com/wordpress/trunk@13892 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-03-30 15:51:09 +00:00
nacin b35eb435a3 Use $paged global instead of get_query_var('paged') in Twenty Ten. see #12748
git-svn-id: http://svn.automattic.com/wordpress/trunk@13889 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-03-30 13:12:36 +00:00
nacin 523b8a0846 Clarify order of operations for a child theme removing a filter of a parent theme. see #12695, see #12748
git-svn-id: http://svn.automattic.com/wordpress/trunk@13888 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-03-30 12:55:08 +00:00
nacin fab0607ee4 Second pass on twentyten/functions.php inline documentation. see #12695. Also:
rename twentyten_init() to twentyten_setup(), to reflect the hook it is run on (init would be too late, it must be after_setup_theme). Remove unnecessary twentyten_get_page_number() and transfer functionality to twentyten_the_page_number(). Remove the function_exists() wrappers from functions that are simply tied to a hook, as a better practice would be to remove the hook instead of plugging the function. For architecture changes, see #12748.

git-svn-id: http://svn.automattic.com/wordpress/trunk@13886 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-03-30 00:05:17 +00:00
nacin a4c7fb5869 Rough cut of Twenty Ten inline documentation. see #12695. props jorbin, demetris.
git-svn-id: http://svn.automattic.com/wordpress/trunk@13885 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-03-29 22:03:15 +00:00
iammattthomas e8eb2634eb Remove print.css from twentyten
git-svn-id: http://svn.automattic.com/wordpress/trunk@13873 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-03-29 04:16:03 +00:00
iammattthomas 0fe0c542ec Merge twentyten print style into style.css. Fixes #12733. Props demetris.
git-svn-id: http://svn.automattic.com/wordpress/trunk@13872 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-03-29 00:48:03 +00:00
iammattthomas 45b1a1fe24 A compromise approach for #12542 -- Treat site-title as H1 on front page, unless it's a static page.
git-svn-id: http://svn.automattic.com/wordpress/trunk@13846 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-03-27 21:50:39 +00:00
iammattthomas 209d4a7a2e Twenty Ten: Don't use post thumbnail as the custom header if it's smaller than the header size. See #12661. Props iandstewart
git-svn-id: http://svn.automattic.com/wordpress/trunk@13836 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-03-27 01:59:46 +00:00
nacin 40773a776b Remove trailing whites and double semicolons.
git-svn-id: http://svn.automattic.com/wordpress/trunk@13830 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-03-26 19:36:49 +00:00
iammattthomas 8babcc5d7c Replace query strings with arras in Twenty Ten, see #12698. Props demetris.
git-svn-id: http://svn.automattic.com/wordpress/trunk@13818 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-03-26 05:37:55 +00:00
westi 1111996fe1 Switch to get_template_part Fixes #12371. Try on some narrative comments for size see #12695.
git-svn-id: http://svn.automattic.com/wordpress/trunk@13816 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-03-25 22:04:27 +00:00
nacin 1e019112b8 Add delimiter to tag listing on twentyten/single.php. see #9015
git-svn-id: http://svn.automattic.com/wordpress/trunk@13757 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-03-18 21:45:08 +00:00
iammattthomas fb2328191e Fix missing domain translation, see #9015. Props momo360modena.
git-svn-id: http://svn.automattic.com/wordpress/trunk@13724 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-03-16 23:11:30 +00:00
iammattthomas a70633cedc Coding standards cleanup in twentyten, see #9015. Props sivel
git-svn-id: http://svn.automattic.com/wordpress/trunk@13720 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-03-16 20:17:22 +00:00
ryan f635d99754 Menus rework. Props ptahdunbar. see #11817
git-svn-id: http://svn.automattic.com/wordpress/trunk@13704 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-03-15 16:26:46 +00:00
nbachiyski e2bee8f908 Add POT file and languages dir for twentyten. Louis, I think this is the beginning of a beautiful friendship.
git-svn-id: http://svn.automattic.com/wordpress/trunk@13703 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-03-15 14:29:11 +00:00
iammattthomas f1961ae08d Moving mobile webkit styles to style.css; adjusting widget_search label and site-description sizes. See #12303
git-svn-id: http://svn.automattic.com/wordpress/trunk@13566 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-03-03 00:38:00 +00:00
iammattthomas 2d85143b5e Use a short HTML5-style charset declaration in twentyten, props demetris. See #12483
git-svn-id: http://svn.automattic.com/wordpress/trunk@13565 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-03-03 00:19:18 +00:00
iammattthomas 55cf746265 Add a bit of padding to form inputs in twentyten, see #9015
git-svn-id: http://svn.automattic.com/wordpress/trunk@13558 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-03-02 19:17:43 +00:00
iammattthomas 9c8ad3b226 Tweaks to mobile-webkit styles; see #12303
git-svn-id: http://svn.automattic.com/wordpress/trunk@13556 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-03-02 18:59:08 +00:00
nacin 750448871a Cleaner and ideally future-proof detection of mobile Safari browsers. see #12303
git-svn-id: http://svn.automattic.com/wordpress/trunk@13555 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-03-02 18:48:31 +00:00
iammattthomas 03e8e13e3d Add mobile webkit styles for twentyten. See #12303
git-svn-id: http://svn.automattic.com/wordpress/trunk@13554 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-03-02 18:43:22 +00:00
nacin a17a92274b Remove only gallery CSS in twentyten, leaving the gallery div classes and id intact. see #9015
git-svn-id: http://svn.automattic.com/wordpress/trunk@13552 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-03-02 18:08:14 +00:00
ryan 25a2a06a9e Menu enhancements. Props ptahdunbar. fixes #11817
git-svn-id: http://svn.automattic.com/wordpress/trunk@13512 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-02-28 20:00:49 +00:00
dd32 7b2c083769 Better internationalisation for TwentyTen. Props filosofo. Fixes #12384
git-svn-id: http://svn.automattic.com/wordpress/trunk@13498 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-02-28 11:43:04 +00:00
nacin 45748141c0 Introduce add_editor_style() to easily register a stylesheet for the visual editor. see #11512 see #9015
git-svn-id: http://svn.automattic.com/wordpress/trunk@13441 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-02-26 20:12:06 +00:00
ryan a3ae373902 Note theme support for custom background, header, and menus. see #11817
git-svn-id: http://svn.automattic.com/wordpress/trunk@13417 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-02-25 22:04:59 +00:00
ryan a8a6d742e1 Default header selector, first pass. see #12343
git-svn-id: http://svn.automattic.com/wordpress/trunk@13403 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-02-25 19:18:44 +00:00
dd32 f51247ef50 Deprecate automatic_feed_links() in favor of add_theme_support('automatic-feed-links'). Props Viper007Bond. Fixes #12364
git-svn-id: http://svn.automattic.com/wordpress/trunk@13398 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-02-25 08:56:19 +00:00
ryan 091d1150d3 Fallback to wp_page_menu() from wp_nav_menu() if no menus are setup. Use wp_nav_menu() in twentyten. see #11817
git-svn-id: http://svn.automattic.com/wordpress/trunk@13368 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-02-24 08:45:26 +00:00
iammattthomas b92bce7e7f Tag editor-style support, adjust site-info font size in twentyten. See #9015
git-svn-id: http://svn.automattic.com/wordpress/trunk@13335 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-02-23 19:08:46 +00:00
iammattthomas b2f3ed656b Move headers to images directory, remove old header in twentyten. See #12343
git-svn-id: http://svn.automattic.com/wordpress/trunk@13333 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-02-23 18:23:26 +00:00
iammattthomas 80532efbf4 New screenshot for twentyten, see #9015
git-svn-id: http://svn.automattic.com/wordpress/trunk@13320 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-02-23 02:23:53 +00:00
ryan 8ddc80ff70 Add a selection of headers to twentyten. see #9015
git-svn-id: http://svn.automattic.com/wordpress/trunk@13319 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-02-23 01:46:25 +00:00
nacin 5d4bb4cd7a Set svn eol-style native on new files
git-svn-id: http://svn.automattic.com/wordpress/trunk@13255 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-02-20 21:00:19 +00:00
dd32 c402ed54bb Remove Unneeded the_post/rewind_posts() calls, Add a "No posts for this archive" type message to the loop. See #9015
git-svn-id: http://svn.automattic.com/wordpress/trunk@13218 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-02-19 10:41:15 +00:00
dd32 9ed7cba3e7 Rename the new 'themes_loaded' hook to 'after_setup_theme' to prevent confusion as to what it actually does & where its fired from. Fixes #12231
git-svn-id: http://svn.automattic.com/wordpress/trunk@13214 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-02-19 10:00:00 +00:00
iammattthomas b004b13b2b Fix meta-sep divider on gallery items in twentyten, see #9015
git-svn-id: http://svn.automattic.com/wordpress/trunk@13181 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-02-17 19:32:11 +00:00
ryan a48e17cca1 Comment form output tweaks. Props beaulebens. see #10910
git-svn-id: http://svn.automattic.com/wordpress/trunk@13180 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-02-17 19:28:03 +00:00
iammattthomas 252bd08b8c Adding single-column, no sidebar page template to twentyten. See #9015
git-svn-id: http://svn.automattic.com/wordpress/trunk@13179 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-02-17 19:05:39 +00:00
iammattthomas c26e30894e Give the visual editor a max-width that matches the content width in twentyten
git-svn-id: http://svn.automattic.com/wordpress/trunk@13178 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-02-17 18:50:48 +00:00
markjaquith 0744c77fbf revert function rename from r13129 which broke the comments form. props beaulebens. see #9015
git-svn-id: http://svn.automattic.com/wordpress/trunk@13166 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-02-16 00:21:06 +00:00
dd32 f626e31e00 Twentyten whitespace cleanup, Wrap functions in function_exists() call to allow child themes to override them. Props sivel. See #9015
git-svn-id: http://svn.automattic.com/wordpress/trunk@13157 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-02-14 21:39:20 +00:00
nacin 9141add802 Use $wp_query->get_queried_object(). Also move wp_head() to end of <head>, see #9015.
git-svn-id: http://svn.automattic.com/wordpress/trunk@13152 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-02-14 11:52:27 +00:00
dd32 8902f273ce Replace $authordata usage with API, Restore "Also posted in.."/"Also tagged..." on taxonomy archives, Handle Excerpts for Asides correctly on Archives. See #9015
git-svn-id: http://svn.automattic.com/wordpress/trunk@13147 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-02-14 10:02:38 +00:00
westi 067e66c8f6 Introduce new get_generic_template() function for themes to use to bring in pieces of template.
Use in twentyten for loop.php including. See #9015.

git-svn-id: http://svn.automattic.com/wordpress/trunk@13146 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-02-14 09:32:23 +00:00
nacin 8e48c44de4 Use automatic_feed_links() in twentyten, see #9015
git-svn-id: http://svn.automattic.com/wordpress/trunk@13144 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-02-14 08:07:55 +00:00
dd32 38a77b72cb Move the Loop into a separate file. Reduces code duplication and adds Gallery/Aside styling to all archive views. See #9015
git-svn-id: http://svn.automattic.com/wordpress/trunk@13141 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-02-14 07:13:34 +00:00
nacin ea5e854684 home_url() returns a value, needs to be echoed in twentyten header and footer. See #9015
git-svn-id: http://svn.automattic.com/wordpress/trunk@13138 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-02-14 06:12:12 +00:00
dd32 93b372f1f8 Comments.php PHP cleanup. See #9015
git-svn-id: http://svn.automattic.com/wordpress/trunk@13130 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-02-14 01:16:58 +00:00
dd32 20c0e6c2ef Fix comment listing, Correct Indentations. See #9015
git-svn-id: http://svn.automattic.com/wordpress/trunk@13129 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-02-14 01:12:51 +00:00
dd32 f2799cb2e9 Formatting, Translations & Whitespace. Props ptahdunbar. See #9015
git-svn-id: http://svn.automattic.com/wordpress/trunk@13128 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-02-14 01:00:22 +00:00
dd32 df2a293967 Whitespace cleanup, TwentyTen <title> standardisation & gettext. See #9015
git-svn-id: http://svn.automattic.com/wordpress/trunk@13112 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-02-13 13:35:03 +00:00
dd32 392ee06071 s/the_time()/get_the_date/ for dates. See #9015
git-svn-id: http://svn.automattic.com/wordpress/trunk@13111 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-02-13 11:20:56 +00:00
dd32 cba1eb5db4 Remove extra get_option() calls (the functions default to that), Use the Media API for attachment image HTML, Replace deprecated function use(1.2~2.9 deprecated). See #9015
git-svn-id: http://svn.automattic.com/wordpress/trunk@13109 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-02-13 11:09:51 +00:00
dd32 b4c55aa60b Remove Direct SQL, Use new esc_html() function, Correct the case of the ID keys. See #9015
git-svn-id: http://svn.automattic.com/wordpress/trunk@13105 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-02-13 09:59:16 +00:00
iammattthomas db84efc3b0 Make the RSS widget title match other widgets in twentyten
git-svn-id: http://svn.automattic.com/wordpress/trunk@13061 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-02-12 06:11:46 +00:00
iammattthomas a71e477b6f Fix typo in twentyten
git-svn-id: http://svn.automattic.com/wordpress/trunk@13060 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-02-12 06:03:20 +00:00
iammattthomas 05220e3748 Close profile link tag in twentyten
git-svn-id: http://svn.automattic.com/wordpress/trunk@13059 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-02-12 04:48:24 +00:00
ryan 61859c5f5e First pass at custom background support. Needs UI love. see #12186
git-svn-id: http://svn.automattic.com/wordpress/trunk@13041 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-02-09 20:37:12 +00:00
ryan 152304f1e1 Use comment_form(). Props beaulebens. see #9015
git-svn-id: http://svn.automattic.com/wordpress/trunk@13031 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-02-08 21:02:08 +00:00
ryan b235937bcc Escape some attributes. Fix search form action. see #9015
git-svn-id: http://svn.automattic.com/wordpress/trunk@13029 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-02-08 20:28:13 +00:00
ryan 1e4d04ee6b Use post_password_required(). see #9015
git-svn-id: http://svn.automattic.com/wordpress/trunk@13027 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-02-08 18:24:01 +00:00
ryan c9d92fc859 Trim trailing whitespace
git-svn-id: http://svn.automattic.com/wordpress/trunk@13025 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-02-08 18:02:23 +00:00
ryan 0ad559106d gettext for twentyten. see #12170
git-svn-id: http://svn.automattic.com/wordpress/trunk@13024 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-02-08 17:59:08 +00:00
ryan 1fb181a4eb Twenty Ten initial import. Props Ian Stewart, Matt Thomas, and others. see #9015
git-svn-id: http://svn.automattic.com/wordpress/trunk@13012 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-02-07 16:16:26 +00:00