Commit Graph

35 Commits

Author SHA1 Message Date
Andrew Nacin c5665d8ed2 Twenty Ten code cleanups. props lancewillett, fixes #15476.
git-svn-id: https://develop.svn.wordpress.org/trunk@16480 602fd350-edb4-49c9-b593-d223f7449a82
2010-11-19 05:37:47 +00:00
Peter Westwood b08df21c26 Revert most of [16332] - renaming and deprecating a commonly used function is silly. Improving it is good. Fixes #15407.
git-svn-id: https://develop.svn.wordpress.org/trunk@16334 602fd350-edb4-49c9-b593-d223f7449a82
2010-11-12 21:53:15 +00:00
scribu 11f20d737c Replace get_the_category() with get_the_categories(). Props filosofo. Fixes #15407
git-svn-id: https://develop.svn.wordpress.org/trunk@16332 602fd350-edb4-49c9-b593-d223f7449a82
2010-11-12 20:05:37 +00:00
Mark Jaquith 2cc7354154 Add Post Format support to TwentyTen. Can now use this to designate an Aside or a Gallery! see #14746
git-svn-id: https://develop.svn.wordpress.org/trunk@16197 602fd350-edb4-49c9-b593-d223f7449a82
2010-11-05 02:25:41 +00:00
Andrew Nacin 2e19f3d22e Update to Twenty Ten 1.0.3 from theme dir. see #14284.
git-svn-id: https://develop.svn.wordpress.org/trunk@15392 602fd350-edb4-49c9-b593-d223f7449a82
2010-07-12 19:40:21 +00:00
Andrew Nacin b266cf37cb Don't pass bogus argument to the_excerpt. props zeo, fixes #13883.
git-svn-id: https://develop.svn.wordpress.org/trunk@15247 602fd350-edb4-49c9-b593-d223f7449a82
2010-06-14 08:24:34 +00:00
Ron Rennick c49bbc943f arrange twentyten strings for easier translation, props zeo, fixes #13824
git-svn-id: https://develop.svn.wordpress.org/trunk@15222 602fd350-edb4-49c9-b593-d223f7449a82
2010-06-11 16:15:25 +00:00
Andrew Nacin 2cee587e18 Don't reveal gallery content in Twenty Ten when the post is password protected. fixes #13770, props zeo.
git-svn-id: https://develop.svn.wordpress.org/trunk@15194 602fd350-edb4-49c9-b593-d223f7449a82
2010-06-10 18:23:08 +00:00
Andrew Nacin 7ed0e6596e Use a more generic HTML comment. props zeo, fixes #12695.
git-svn-id: https://develop.svn.wordpress.org/trunk@14932 602fd350-edb4-49c9-b593-d223f7449a82
2010-05-26 04:36:42 +00:00
Andrew Nacin 4a47793d2c In Twenty Ten, final pass on inline docs et al. props jorbin, zeo. fixes #12695.
git-svn-id: https://develop.svn.wordpress.org/trunk@14786 602fd350-edb4-49c9-b593-d223f7449a82
2010-05-21 18:56:27 +00:00
Andrew Nacin c7cd6fcedb In Twenty Ten, documentation and code improvements. see #12695.
git-svn-id: https://develop.svn.wordpress.org/trunk@14708 602fd350-edb4-49c9-b593-d223f7449a82
2010-05-17 06:36:11 +00:00
Andrew Nacin ea2b0f17e3 Various minor tweaks to file-level phpdoc in Twentyten. props dremeda. see #12695.
git-svn-id: https://develop.svn.wordpress.org/trunk@14707 602fd350-edb4-49c9-b593-d223f7449a82
2010-05-17 06:32:03 +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
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
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
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
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 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
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
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 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
Matt Thomas 01a97737ee Links on dates in Twenty Ten back by popular demand. Fixes #12925.
git-svn-id: https://develop.svn.wordpress.org/trunk@14084 602fd350-edb4-49c9-b593-d223f7449a82
2010-04-13 23:41:13 +00:00
Matt Thomas b97e16510c Remove the permalink from dates in Twenty Ten, fixes #12925
git-svn-id: https://develop.svn.wordpress.org/trunk@14083 602fd350-edb4-49c9-b593-d223f7449a82
2010-04-13 23:05:37 +00:00
Andrew Nacin 7241fea99b Remove unnecessary quote escaping and \n\t indentation in twentyten. see #12902
git-svn-id: https://develop.svn.wordpress.org/trunk@14037 602fd350-edb4-49c9-b593-d223f7449a82
2010-04-08 03:13:48 +00:00
Andrew Nacin f15366a78c Rough cut of Twenty Ten inline documentation. see #12695. props jorbin, demetris.
git-svn-id: https://develop.svn.wordpress.org/trunk@13885 602fd350-edb4-49c9-b593-d223f7449a82
2010-03-29 22:03:15 +00:00
Andrew Nacin 4f5a2095a8 Remove trailing whites and double semicolons.
git-svn-id: https://develop.svn.wordpress.org/trunk@13830 602fd350-edb4-49c9-b593-d223f7449a82
2010-03-26 19:36:49 +00:00
Matt Thomas 645f20b3fa Replace query strings with arras in Twenty Ten, see #12698. Props demetris.
git-svn-id: https://develop.svn.wordpress.org/trunk@13818 602fd350-edb4-49c9-b593-d223f7449a82
2010-03-26 05:37:55 +00:00
Matt Thomas d504e9c257 Coding standards cleanup in twentyten, see #9015. Props sivel
git-svn-id: https://develop.svn.wordpress.org/trunk@13720 602fd350-edb4-49c9-b593-d223f7449a82
2010-03-16 20:17:22 +00:00
Dion Hulse 40e684d779 Better internationalisation for TwentyTen. Props filosofo. Fixes #12384
git-svn-id: https://develop.svn.wordpress.org/trunk@13498 602fd350-edb4-49c9-b593-d223f7449a82
2010-02-28 11:43:04 +00:00
Andrew Nacin b7308ebe6c Set svn eol-style native on new files
git-svn-id: https://develop.svn.wordpress.org/trunk@13255 602fd350-edb4-49c9-b593-d223f7449a82
2010-02-20 21:00:19 +00:00
Dion Hulse ec9ee88c2d Remove Unneeded the_post/rewind_posts() calls, Add a "No posts for this archive" type message to the loop. See #9015
git-svn-id: https://develop.svn.wordpress.org/trunk@13218 602fd350-edb4-49c9-b593-d223f7449a82
2010-02-19 10:41:15 +00:00
Matt Thomas ce56f13f5e Fix meta-sep divider on gallery items in twentyten, see #9015
git-svn-id: https://develop.svn.wordpress.org/trunk@13181 602fd350-edb4-49c9-b593-d223f7449a82
2010-02-17 19:32:11 +00:00
Dion Hulse 2bfeae67c6 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: https://develop.svn.wordpress.org/trunk@13147 602fd350-edb4-49c9-b593-d223f7449a82
2010-02-14 10:02:38 +00:00
Dion Hulse 68d7f0d172 Move the Loop into a separate file. Reduces code duplication and adds Gallery/Aside styling to all archive views. See #9015
git-svn-id: https://develop.svn.wordpress.org/trunk@13141 602fd350-edb4-49c9-b593-d223f7449a82
2010-02-14 07:13:34 +00:00