Commit Graph

355 Commits

Author SHA1 Message Date
Lance Willett b8aff153c9 Twenty Ten: improve how gallery image IDs are retrieved for use in the Gallery post format template. Props to obenland for original patch, fixes #23617.
git-svn-id: https://develop.svn.wordpress.org/trunk@23826 602fd350-edb4-49c9-b593-d223f7449a82
2013-03-27 20:37:34 +00:00
Lance Willett e9746944fa Twenty Ten: change gallery category post meta output to check for a "gallery" category using `get_term_by()` to avoid a possible WP_Error for an empty result by getting a false (boolean) return value instead.
And, change link output to use `get_category_link()` instead of `get_term_link()`.

Props SergeyBiryukov and keoshi, fixes #23837.

git-svn-id: https://develop.svn.wordpress.org/trunk@23793 602fd350-edb4-49c9-b593-d223f7449a82
2013-03-22 22:56:55 +00:00
Lance Willett 2376c91374 Twenty Ten and Twenty Eleven: revert r23720 and r23721 (closes #23772) and r23718 and r23719 (closes #23774).
Unfortunately, it's too late for these improvements in older themes since it's very likely they'll adversely affect child themes.

git-svn-id: https://develop.svn.wordpress.org/trunk@23778 602fd350-edb4-49c9-b593-d223f7449a82
2013-03-22 16:15:24 +00:00
potbot 91acb96461 POT, generated from r23722
git-svn-id: https://develop.svn.wordpress.org/trunk@23723 602fd350-edb4-49c9-b593-d223f7449a82
2013-03-15 19:19:45 +00:00
Lance Willett b989307db1 Twenty Ten: use callback in functions.php to enqueue scripts and styles rather than putting them directly in header.php template file. Props obenland, fixes #23772.
git-svn-id: https://develop.svn.wordpress.org/trunk@23721 602fd350-edb4-49c9-b593-d223f7449a82
2013-03-15 18:24:45 +00:00
Lance Willett e9945c2fb4 Twenty Ten: use a filter to modify the output of `wp_title()`. Props obenland, closes #23774.
git-svn-id: https://develop.svn.wordpress.org/trunk@23719 602fd350-edb4-49c9-b593-d223f7449a82
2013-03-15 18:16:47 +00:00
potbot 979a213506 POT, generated from r23478
git-svn-id: https://develop.svn.wordpress.org/trunk@23479 602fd350-edb4-49c9-b593-d223f7449a82
2013-02-22 18:19:47 +00:00
Lance Willett 0fd0860e5c Twenty Ten: prevent overflow for large, captioned images. Fixes #22820, props obenland.
git-svn-id: https://develop.svn.wordpress.org/trunk@23478 602fd350-edb4-49c9-b593-d223f7449a82
2013-02-22 17:42:04 +00:00
Lance Willett ab0a5f6c72 Twenty Ten: add helpful descriptions to sidebars. Fixes #15401.
git-svn-id: https://develop.svn.wordpress.org/trunk@23477 602fd350-edb4-49c9-b593-d223f7449a82
2013-02-22 17:32:48 +00:00
Lance Willett a67dd02a73 Twenty Ten: better color contrast for links and text, props elfin. Fixes #14794.
git-svn-id: https://develop.svn.wordpress.org/trunk@23475 602fd350-edb4-49c9-b593-d223f7449a82
2013-02-22 16:54:01 +00:00
potbot 33fa531bf8 POT, generated from r23230
git-svn-id: https://develop.svn.wordpress.org/trunk@23231 602fd350-edb4-49c9-b593-d223f7449a82
2013-01-01 00:19:17 +00:00
potbot a19e5b1809 POT, generated from r23127
git-svn-id: https://develop.svn.wordpress.org/trunk@23128 602fd350-edb4-49c9-b593-d223f7449a82
2012-12-07 21:19:05 +00:00
Andrew Nacin 45699e974c Bump the versions for Twenty Ten, Twenty Eleven, and Twenty Twelve.
git-svn-id: https://develop.svn.wordpress.org/trunk@23125 602fd350-edb4-49c9-b593-d223f7449a82
2012-12-07 20:43:34 +00:00
Lance Willett 67891fed5c Twenty Ten: style a few more input types, and fix missing quotes around types in selectors. See #20579.
git-svn-id: https://develop.svn.wordpress.org/trunk@22897 602fd350-edb4-49c9-b593-d223f7449a82
2012-11-28 17:49:43 +00:00
potbot faba7f612a POT, generated from r22621
git-svn-id: https://develop.svn.wordpress.org/trunk@22624 602fd350-edb4-49c9-b593-d223f7449a82
2012-11-16 22:18:49 +00:00
Lance Willett f675bc1e34 Twenty Ten: clean up r22617, remove extra end comment and indent code. See #20469.
git-svn-id: https://develop.svn.wordpress.org/trunk@22621 602fd350-edb4-49c9-b593-d223f7449a82
2012-11-16 22:06:01 +00:00
Lance Willett ca58fbc22d Twenty Ten: move the "Comments closed" text outside the `have_comments()` conditional, props kovshenin. Closes #20469.
git-svn-id: https://develop.svn.wordpress.org/trunk@22617 602fd350-edb4-49c9-b593-d223f7449a82
2012-11-16 21:35:42 +00:00
potbot 8d64f6c567 POT, generated from r22524
git-svn-id: https://develop.svn.wordpress.org/trunk@22525 602fd350-edb4-49c9-b593-d223f7449a82
2012-11-10 08:18:43 +00:00
Mark Jaquith 504b94b1b3 Use ImageOptim to losslessly smush our images. About half a MB in savings! fixes #22381. props waldojaquith
git-svn-id: https://develop.svn.wordpress.org/trunk@22425 602fd350-edb4-49c9-b593-d223f7449a82
2012-11-07 18:49:10 +00:00
Lance Willett 67deebeca5 Bundled Themes: allow `show_home` argument to be overridden when using `wp_page_menu` as a fallback to a Custom Menu. Props SergeyBiryukov and kovshenin, fixes #22331.
git-svn-id: https://develop.svn.wordpress.org/trunk@22359 602fd350-edb4-49c9-b593-d223f7449a82
2012-11-02 16:52:53 +00:00
Lance Willett e092ce7546 Twenty Ten: better spacing for rows of in-content page links. Props iandstewart, fixes #16570.
git-svn-id: https://develop.svn.wordpress.org/trunk@22216 602fd350-edb4-49c9-b593-d223f7449a82
2012-10-12 16:32:34 +00:00
Lance Willett 0026eb9c10 Twenty Ten image optimization, compress JPG and PNG files a bit more.
git-svn-id: https://develop.svn.wordpress.org/trunk@22215 602fd350-edb4-49c9-b593-d223f7449a82
2012-10-12 16:27:21 +00:00
Lance Willett df938da26c Twenty Ten and Eleven: remove invalid rel attribute generator from footer markup, see #22095.
git-svn-id: https://develop.svn.wordpress.org/trunk@22214 602fd350-edb4-49c9-b593-d223f7449a82
2012-10-12 16:13:37 +00:00
Lance Willett 678b2e0695 Style <small> element in default themes a bit smaller than normal text, props obenland. Fixes #22109.
git-svn-id: https://develop.svn.wordpress.org/trunk@22211 602fd350-edb4-49c9-b593-d223f7449a82
2012-10-12 15:24:23 +00:00
Lance Willett c77c6ae9cb Twenty Ten: escape i18n attributes as late as possible, fixes cases in loop.php -- props mfields. See #21756.
git-svn-id: https://develop.svn.wordpress.org/trunk@22197 602fd350-edb4-49c9-b593-d223f7449a82
2012-10-11 20:12:40 +00:00
Lance Willett 23e63d1cbc Twenty Ten and Eleven: more elegant fix for long word overflow in sidebars. Also improves image resizing for images in widgets in Twenty Ten. Props obenland, fixes #21151; see #21503 also.
git-svn-id: https://develop.svn.wordpress.org/trunk@22195 602fd350-edb4-49c9-b593-d223f7449a82
2012-10-11 20:02:33 +00:00
Lance Willett b35e7c1b03 Twenty Ten: allow page ancestors to have a visual "on" state, props mfields. Fixes #21647.
git-svn-id: https://develop.svn.wordpress.org/trunk@22194 602fd350-edb4-49c9-b593-d223f7449a82
2012-10-11 19:57:10 +00:00
potbot 6c4e60c1b0 POT, generated from r22152
git-svn-id: https://develop.svn.wordpress.org/trunk@22153 602fd350-edb4-49c9-b593-d223f7449a82
2012-10-10 00:18:33 +00:00
Andrew Nacin 2a4e10733e Add author URI and complete theme URI to Twenty Ten. props DrewAPicture, fixes #22012.
git-svn-id: https://develop.svn.wordpress.org/trunk@22151 602fd350-edb4-49c9-b593-d223f7449a82
2012-10-09 23:45:47 +00:00
Lance Willett 5e08c35830 Twenty Ten and Eleven: update screenshot.png files in both themes to double-sized versions for HiDPI support. Fixes #21388.
git-svn-id: https://develop.svn.wordpress.org/trunk@22112 602fd350-edb4-49c9-b593-d223f7449a82
2012-10-04 17:43:20 +00:00
Andrew Nacin df005b6e64 Add page templates to the Twenty Twelve POT file. Remove tags from theme POT files. fixes #22016.
git-svn-id: https://develop.svn.wordpress.org/trunk@22067 602fd350-edb4-49c9-b593-d223f7449a82
2012-09-27 17:51:53 +00:00
potbot 57e6d56ea4 POT, generated from r21605
git-svn-id: https://develop.svn.wordpress.org/trunk@21606 602fd350-edb4-49c9-b593-d223f7449a82
2012-08-24 16:18:49 +00:00
Andrew Nacin e1d2b7baa0 Add new 'flexible-header' tag for themes. Add it to Twenty Ten and Twenty Eleven. [21533] added it for Twenty Twelve.
props lancewillett. fixes #21065.



git-svn-id: https://develop.svn.wordpress.org/trunk@21604 602fd350-edb4-49c9-b593-d223f7449a82
2012-08-24 15:22:14 +00:00
potbot 4a5e9ea34f POT, generated from r21492
git-svn-id: https://develop.svn.wordpress.org/trunk@21493 602fd350-edb4-49c9-b593-d223f7449a82
2012-08-09 19:22:33 +00:00
Lance Willett fc4fffaad5 Twenty Ten and Eleven: *_continue_reading_link() should be pluggable, fixes #16500. Props nacin and SergeyBiryukov.
git-svn-id: https://develop.svn.wordpress.org/trunk@21490 602fd350-edb4-49c9-b593-d223f7449a82
2012-08-09 18:21:58 +00:00
Lance Willett 56c4577fea Twenty Ten: code readability in twentyten_comment, props kovshenin, fixes #21474. (And minor pinking shears.)
git-svn-id: https://develop.svn.wordpress.org/trunk@21486 602fd350-edb4-49c9-b593-d223f7449a82
2012-08-09 17:22:44 +00:00
potbot dd85c1d055 POT, generated from r21043
git-svn-id: https://develop.svn.wordpress.org/trunk@21044 602fd350-edb4-49c9-b593-d223f7449a82
2012-06-10 15:18:09 +00:00
Ryan Boren 3c11c749cb Bump bundled theme versions. Props nacin. fixes #20886
git-svn-id: https://develop.svn.wordpress.org/trunk@21040 602fd350-edb4-49c9-b593-d223f7449a82
2012-06-10 14:18:45 +00:00
potbot 2cf59de3a3 POT, generated from r20985
git-svn-id: https://develop.svn.wordpress.org/trunk@20986 602fd350-edb4-49c9-b593-d223f7449a82
2012-06-04 15:18:16 +00:00
Ryan Boren 8ed05fc6fd Back compat for bundled themes. Props nacin, SergeyBiryukov, kobenland. fixes #20768
git-svn-id: https://develop.svn.wordpress.org/trunk@20983 602fd350-edb4-49c9-b593-d223f7449a82
2012-06-04 14:43:19 +00:00
potbot ea6a8355e4 POT, generated from r20974
git-svn-id: https://develop.svn.wordpress.org/trunk@20975 602fd350-edb4-49c9-b593-d223f7449a82
2012-06-01 21:18:10 +00:00
Ryan Boren b85e8d138c Custom background fixes:
* Specify default background colors for the bundled themes.
* Change the default custom background callback to only operate on saved values, rather than default values.
* Prevent an unsaved default value from overriding a manually modified style.css file.

Props nacin, kobenland
fixes #20448


git-svn-id: https://develop.svn.wordpress.org/trunk@20973 602fd350-edb4-49c9-b593-d223f7449a82
2012-06-01 20:31:50 +00:00
Andrew Nacin e1c6f28e33 Provide a Text Domain header for Twenty Ten and Twenty Eleven. WP_Theme will then look to translate the style.css headers (name, author, description, etc.) on themes.php, even if the theme isn't activated. fixes #20448.
git-svn-id: https://develop.svn.wordpress.org/trunk@20946 602fd350-edb4-49c9-b593-d223f7449a82
2012-05-27 16:44:14 +00:00
potbot 7c562a712e POT, generated from r20474
git-svn-id: https://develop.svn.wordpress.org/trunk@20475 602fd350-edb4-49c9-b593-d223f7449a82
2012-04-15 21:17:55 +00:00
Andrew Nacin 95c85ceeee Flexible heights for Twenty Ten's custom headers. see #20448.
git-svn-id: https://develop.svn.wordpress.org/trunk@20474 602fd350-edb4-49c9-b593-d223f7449a82
2012-04-15 20:51:24 +00:00
Andrew Nacin 91bb85bcff Twenty Ten: Remove $locale.php file support. see #20448.
git-svn-id: https://develop.svn.wordpress.org/trunk@20473 602fd350-edb4-49c9-b593-d223f7449a82
2012-04-15 20:46:09 +00:00
Andrew Nacin 67f21026b9 Callbacks for custom headers and custom backgrounds registered through add_theme_support() are now wp-head-callback, admin-head-callback, and admin-preview-callback. see #19910.
git-svn-id: https://develop.svn.wordpress.org/trunk@20231 602fd350-edb4-49c9-b593-d223f7449a82
2012-03-21 03:36:17 +00:00
potbot 8239a17df0 POT, generated from r20226
git-svn-id: https://develop.svn.wordpress.org/trunk@20227 602fd350-edb4-49c9-b593-d223f7449a82
2012-03-20 22:16:07 +00:00
Andrew Nacin 27656b6d3f Move Twenty Ten and the rest of Twenty Eleven to add_theme_support() for headers and backgrounds. props sabreuse for initial patch. fixes #20265. see #20249.
git-svn-id: https://develop.svn.wordpress.org/trunk@20225 602fd350-edb4-49c9-b593-d223f7449a82
2012-03-20 21:32:42 +00:00
Andrew Nacin 7c0a450920 Add template names to theme pots. see #6007.
git-svn-id: https://develop.svn.wordpress.org/trunk@19968 602fd350-edb4-49c9-b593-d223f7449a82
2012-02-21 16:37:01 +00:00