Commit Graph

150 Commits

Author SHA1 Message Date
Peter Westwood fec613607a 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: https://develop.svn.wordpress.org/trunk@14700 602fd350-edb4-49c9-b593-d223f7449a82
2010-05-16 21:02:34 +00:00
Andrew Nacin baf3a2a41e Twenty Ten documentation and functions.php improvements. see #12695.
git-svn-id: https://develop.svn.wordpress.org/trunk@14698 602fd350-edb4-49c9-b593-d223f7449a82
2010-05-16 20:53:36 +00:00
Andrew Nacin 719af15b71 @subpackage cannot have spaces.
git-svn-id: https://develop.svn.wordpress.org/trunk@14692 602fd350-edb4-49c9-b593-d223f7449a82
2010-05-16 17:10:21 +00:00
Andrew Nacin 542dea5b25 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: https://develop.svn.wordpress.org/trunk@14689 602fd350-edb4-49c9-b593-d223f7449a82
2010-05-16 06:38:58 +00:00
Andrew Nacin 9cd335bdcd Remove unnecessary and out-of-place Twenty Ten filter. Also, tabs not spaces. see #13198.
git-svn-id: https://develop.svn.wordpress.org/trunk@14688 602fd350-edb4-49c9-b593-d223f7449a82
2010-05-16 06:26:18 +00:00
potbot 48e82adba8 POT, generated from r14661
git-svn-id: https://develop.svn.wordpress.org/trunk@14662 602fd350-edb4-49c9-b593-d223f7449a82
2010-05-15 12:21:45 +00:00
Mark Jaquith 45dec2e4e8 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: https://develop.svn.wordpress.org/trunk@14660 602fd350-edb4-49c9-b593-d223f7449a82
2010-05-15 09:59:15 +00:00
potbot 5449eebe1c POT, generated from r14627
git-svn-id: https://develop.svn.wordpress.org/trunk@14629 602fd350-edb4-49c9-b593-d223f7449a82
2010-05-14 08:21:12 +00:00
Andrew Nacin 4db10bf0d7 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: https://develop.svn.wordpress.org/trunk@14620 602fd350-edb4-49c9-b593-d223f7449a82
2010-05-14 06:20:30 +00:00
potbot 057f54ffb7 POT, generated from r14612
git-svn-id: https://develop.svn.wordpress.org/trunk@14613 602fd350-edb4-49c9-b593-d223f7449a82
2010-05-14 00:21:45 +00:00
Ron Rennick 05b0578c06 add menu slots/theme_menus, props ryan, see #13378
git-svn-id: https://develop.svn.wordpress.org/trunk@14611 602fd350-edb4-49c9-b593-d223f7449a82
2010-05-13 22:14:54 +00:00
potbot 02dab1b7d6 POT, generated from r14554
git-svn-id: https://develop.svn.wordpress.org/trunk@14555 602fd350-edb4-49c9-b593-d223f7449a82
2010-05-11 00:22:05 +00:00
Nikolay Bachiyski 967ef93bc1 Do not cut the Tagged <tags> phrase in half. Fixes #13198
git-svn-id: https://develop.svn.wordpress.org/trunk@14552 602fd350-edb4-49c9-b593-d223f7449a82
2010-05-10 21:24:32 +00:00
Peter Westwood 7154389cc0 Add ARIA landmark roles to TwentyTen. Fixes #13055 props demetris.
git-svn-id: https://develop.svn.wordpress.org/trunk@14549 602fd350-edb4-49c9-b593-d223f7449a82
2010-05-10 21:10:12 +00:00
Nikolay Bachiyski ba41c965c8 Various twentyten i18n fixes. Props zeo, dimadin. Fixes #13198
git-svn-id: https://develop.svn.wordpress.org/trunk@14544 602fd350-edb4-49c9-b593-d223f7449a82
2010-05-10 20:30:58 +00:00
potbot 6fc8e6b83f POT, generated from r14542
git-svn-id: https://develop.svn.wordpress.org/trunk@14543 602fd350-edb4-49c9-b593-d223f7449a82
2010-05-10 20:22:01 +00:00
Nikolay Bachiyski 691bbab34d 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: https://develop.svn.wordpress.org/trunk@14541 602fd350-edb4-49c9-b593-d223f7449a82
2010-05-10 19:06:22 +00:00
potbot 0f995aa964 POT, generated from r14536
git-svn-id: https://develop.svn.wordpress.org/trunk@14537 602fd350-edb4-49c9-b593-d223f7449a82
2010-05-10 08:21:46 +00:00
Nikolay Bachiyski 052f0a3766 I18n fixes for header.php in Twentyten. Props zeo. See #13198
git-svn-id: https://develop.svn.wordpress.org/trunk@14535 602fd350-edb4-49c9-b593-d223f7449a82
2010-05-10 06:04:14 +00:00
Nikolay Bachiyski f7c2b55c6d I18n and whitespace fixes for functions.php in TwentyTen
git-svn-id: https://develop.svn.wordpress.org/trunk@14534 602fd350-edb4-49c9-b593-d223f7449a82
2010-05-10 05:58:24 +00:00
Nikolay Bachiyski 8999c1f21b Move vcard span out of the translatable string. See #13198
git-svn-id: https://develop.svn.wordpress.org/trunk@14533 602fd350-edb4-49c9-b593-d223f7449a82
2010-05-10 05:28:01 +00:00
Nikolay Bachiyski 906029f327 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: https://develop.svn.wordpress.org/trunk@14532 602fd350-edb4-49c9-b593-d223f7449a82
2010-05-10 05:11:11 +00:00
potbot 2b2d4685c5 POT, generated from r14524
git-svn-id: https://develop.svn.wordpress.org/trunk@14525 602fd350-edb4-49c9-b593-d223f7449a82
2010-05-09 12:21:55 +00:00
Nikolay Bachiyski 10cedbb8b6 I18n fixes in Twentyten footer. Props zeo, see #13198
git-svn-id: https://develop.svn.wordpress.org/trunk@14523 602fd350-edb4-49c9-b593-d223f7449a82
2010-05-09 09:29:06 +00:00
Matt Thomas f39f252c27 In Twenty Ten, keep the search widget lable from clashing with the search widget title. Props iandstewart.
git-svn-id: https://develop.svn.wordpress.org/trunk@14511 602fd350-edb4-49c9-b593-d223f7449a82
2010-05-08 06:57:38 +00:00
potbot ba8ab07ae2 POT, generated from r14502
git-svn-id: https://develop.svn.wordpress.org/trunk@14503 602fd350-edb4-49c9-b593-d223f7449a82
2010-05-07 20:21:45 +00:00
Andrew Nacin 5c534591ae 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: https://develop.svn.wordpress.org/trunk@14501 602fd350-edb4-49c9-b593-d223f7449a82
2010-05-07 18:13:20 +00:00
Andrew Nacin 1fcb5f3a63 Properly handle the wp_page_args filter in Twenty Ten. fixes #13293, props demetris.
git-svn-id: https://develop.svn.wordpress.org/trunk@14500 602fd350-edb4-49c9-b593-d223f7449a82
2010-05-07 18:11:58 +00:00
Andrew Nacin c8f449daa3 In Twenty Ten, give single.php a valid loop. fixes #13279.
git-svn-id: https://develop.svn.wordpress.org/trunk@14476 602fd350-edb4-49c9-b593-d223f7449a82
2010-05-06 17:34:17 +00:00
potbot 49b7670521 POT, generated from r14469
git-svn-id: https://develop.svn.wordpress.org/trunk@14470 602fd350-edb4-49c9-b593-d223f7449a82
2010-05-06 04:21:21 +00:00
Matt Thomas 624ab9b864 Add a home link to the navigation in twenty ten. Props iandstewart.
git-svn-id: https://develop.svn.wordpress.org/trunk@14469 602fd350-edb4-49c9-b593-d223f7449a82
2010-05-06 03:04:22 +00:00
Andrew Nacin e9d6adf3bf Add editor-style-rtl.css. props yoavf, fixes #13121.
git-svn-id: https://develop.svn.wordpress.org/trunk@14466 602fd350-edb4-49c9-b593-d223f7449a82
2010-05-05 20:38:42 +00:00
potbot 9394d91cde POT, generated from r14434
git-svn-id: https://develop.svn.wordpress.org/trunk@14435 602fd350-edb4-49c9-b593-d223f7449a82
2010-05-04 08:21:35 +00:00
Andrew Nacin 11e0a2e969 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: https://develop.svn.wordpress.org/trunk@14433 602fd350-edb4-49c9-b593-d223f7449a82
2010-05-04 07:01:09 +00:00
potbot 45976a2ff7 POT, generated from r14401
git-svn-id: https://develop.svn.wordpress.org/trunk@14403 602fd350-edb4-49c9-b593-d223f7449a82
2010-05-03 20:21:30 +00:00
Ryan Boren 133b1e8bf1 Coding standard cleanups. Props zeo. see #13198
git-svn-id: https://develop.svn.wordpress.org/trunk@14391 602fd350-edb4-49c9-b593-d223f7449a82
2010-05-03 19:30:02 +00:00
Ryan Boren b8ec6f9114 Typo fixes. Props zeo. see #13198
git-svn-id: https://develop.svn.wordpress.org/trunk@14389 602fd350-edb4-49c9-b593-d223f7449a82
2010-05-03 19:28:44 +00:00
Ryan Boren 00cb165e9c Use get_search_query(). Props zeo. see #13198
git-svn-id: https://develop.svn.wordpress.org/trunk@14388 602fd350-edb4-49c9-b593-d223f7449a82
2010-05-03 19:28:04 +00:00
Andrew Nacin a5b565f431 Twenty Ten RTL fixes. props yoavf. fixes #13121.
git-svn-id: https://develop.svn.wordpress.org/trunk@14385 602fd350-edb4-49c9-b593-d223f7449a82
2010-05-03 19:17:27 +00:00
Matt Thomas 95ca2ad069 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: https://develop.svn.wordpress.org/trunk@14384 602fd350-edb4-49c9-b593-d223f7449a82
2010-05-03 19:16:47 +00:00
Ryan Boren 57a5a11660 Revert [14347] and [14372]. It broke more than we expected. Try again in 3.1. see #13051
git-svn-id: https://develop.svn.wordpress.org/trunk@14374 602fd350-edb4-49c9-b593-d223f7449a82
2010-05-03 18:16:22 +00:00
potbot a49cbfa0b0 POT, generated from r14358
git-svn-id: https://develop.svn.wordpress.org/trunk@14359 602fd350-edb4-49c9-b593-d223f7449a82
2010-05-03 04:21:35 +00:00
Nikolay Bachiyski ffcc525c07 Use _n() instead of comments_number() in twentyten, because it doesn't handle plurals properly. Props zeo and dimadin. Fixes #13187
git-svn-id: https://develop.svn.wordpress.org/trunk@14358 602fd350-edb4-49c9-b593-d223f7449a82
2010-05-03 01:07:49 +00:00
potbot 0e8f9fe5ca POT, generated from r14353
git-svn-id: https://develop.svn.wordpress.org/trunk@14354 602fd350-edb4-49c9-b593-d223f7449a82
2010-05-03 00:21:25 +00:00
Ryan Boren 6a1f093ed8 Mark Asides and Gallery category slugs for translation.
git-svn-id: https://develop.svn.wordpress.org/trunk@14350 602fd350-edb4-49c9-b593-d223f7449a82
2010-05-02 23:32:59 +00:00
Ryan Boren 7fcda10d46 Escape links by default. Props alexkingorg. see #13051
git-svn-id: https://develop.svn.wordpress.org/trunk@14347 602fd350-edb4-49c9-b593-d223f7449a82
2010-05-02 22:53:59 +00:00
Andrew Nacin c0e482cc0e Check thread_comments before loading the comment-reply script. props ptahdunbar, fixes #12932
git-svn-id: https://develop.svn.wordpress.org/trunk@14339 602fd350-edb4-49c9-b593-d223f7449a82
2010-05-02 20:51:30 +00:00
potbot 6847d9b024 POT, generated from r14337
git-svn-id: https://develop.svn.wordpress.org/trunk@14338 602fd350-edb4-49c9-b593-d223f7449a82
2010-05-02 20:21:34 +00:00
Andrew Nacin 881e9cc8a4 Remove Twenty Ten's searchform.php and use the core get_search_form() markup. fixes #13053
git-svn-id: https://develop.svn.wordpress.org/trunk@14331 602fd350-edb4-49c9-b593-d223f7449a82
2010-05-02 18:10:42 +00:00
potbot 52a8a4ab3a POT, generated from r14324
git-svn-id: https://develop.svn.wordpress.org/trunk@14325 602fd350-edb4-49c9-b593-d223f7449a82
2010-05-01 00:21:36 +00:00