Commit Graph

355 Commits

Author SHA1 Message Date
Lance Willett
5697b2f828 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: http://core.svn.wordpress.org/trunk@23826 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-03-27 20:37:34 +00:00
Lance Willett
8eea008b2c 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: http://core.svn.wordpress.org/trunk@23793 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-03-22 22:56:55 +00:00
Lance Willett
399ab4bb59 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: http://core.svn.wordpress.org/trunk@23778 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-03-22 16:15:24 +00:00
Bot (Translations)
25fe67aebf POT, generated from r23722
git-svn-id: http://core.svn.wordpress.org/trunk@23723 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-03-15 19:19:45 +00:00
Lance Willett
f4b2484cc9 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: http://core.svn.wordpress.org/trunk@23721 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-03-15 18:24:45 +00:00
Lance Willett
24e099bb3e Twenty Ten: use a filter to modify the output of wp_title(). Props obenland, closes #23774.
git-svn-id: http://core.svn.wordpress.org/trunk@23719 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-03-15 18:16:47 +00:00
Bot (Translations)
34d0d57f8f POT, generated from r23478
git-svn-id: http://core.svn.wordpress.org/trunk@23479 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-02-22 18:19:47 +00:00
Lance Willett
abb81f4cbc Twenty Ten: prevent overflow for large, captioned images. Fixes #22820, props obenland.
git-svn-id: http://core.svn.wordpress.org/trunk@23478 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-02-22 17:42:04 +00:00
Lance Willett
c615bf76e4 Twenty Ten: add helpful descriptions to sidebars. Fixes #15401.
git-svn-id: http://core.svn.wordpress.org/trunk@23477 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-02-22 17:32:48 +00:00
Lance Willett
d76dad3e44 Twenty Ten: better color contrast for links and text, props elfin. Fixes #14794.
git-svn-id: http://core.svn.wordpress.org/trunk@23475 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-02-22 16:54:01 +00:00
Bot (Translations)
603dfd2626 POT, generated from r23230
git-svn-id: http://core.svn.wordpress.org/trunk@23231 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-01-01 00:19:17 +00:00
Bot (Translations)
27ac12ef6a POT, generated from r23127
git-svn-id: http://core.svn.wordpress.org/trunk@23128 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-12-07 21:19:05 +00:00
Andrew Nacin
43051df6c7 Bump the versions for Twenty Ten, Twenty Eleven, and Twenty Twelve.
git-svn-id: http://core.svn.wordpress.org/trunk@23125 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-12-07 20:43:34 +00:00
Lance Willett
13e971496d Twenty Ten: style a few more input types, and fix missing quotes around types in selectors. See #20579.
git-svn-id: http://core.svn.wordpress.org/trunk@22897 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-11-28 17:49:43 +00:00
Bot (Translations)
c8c1d11ab2 POT, generated from r22621
git-svn-id: http://core.svn.wordpress.org/trunk@22624 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-11-16 22:18:49 +00:00
Lance Willett
f8bbb4c6d0 Twenty Ten: clean up r22617, remove extra end comment and indent code. See #20469.
git-svn-id: http://core.svn.wordpress.org/trunk@22621 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-11-16 22:06:01 +00:00
Lance Willett
9ebd8d18ac Twenty Ten: move the "Comments closed" text outside the have_comments() conditional, props kovshenin. Closes #20469.
git-svn-id: http://core.svn.wordpress.org/trunk@22617 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-11-16 21:35:42 +00:00
Bot (Translations)
c776b44bad POT, generated from r22524
git-svn-id: http://core.svn.wordpress.org/trunk@22525 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-11-10 08:18:43 +00:00
Mark Jaquith
2ec9c4acc2 Use ImageOptim to losslessly smush our images. About half a MB in savings! fixes #22381. props waldojaquith
git-svn-id: http://core.svn.wordpress.org/trunk@22425 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-11-07 18:49:10 +00:00
Lance Willett
f3cfd63822 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: http://core.svn.wordpress.org/trunk@22359 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-11-02 16:52:53 +00:00
Lance Willett
e4daac36c2 Twenty Ten: better spacing for rows of in-content page links. Props iandstewart, fixes #16570.
git-svn-id: http://core.svn.wordpress.org/trunk@22216 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-10-12 16:32:34 +00:00
Lance Willett
9870e50d80 Twenty Ten image optimization, compress JPG and PNG files a bit more.
git-svn-id: http://core.svn.wordpress.org/trunk@22215 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-10-12 16:27:21 +00:00
Lance Willett
c01a25a113 Twenty Ten and Eleven: remove invalid rel attribute generator from footer markup, see #22095.
git-svn-id: http://core.svn.wordpress.org/trunk@22214 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-10-12 16:13:37 +00:00
Lance Willett
fa4b36948a Style <small> element in default themes a bit smaller than normal text, props obenland. Fixes #22109.
git-svn-id: http://core.svn.wordpress.org/trunk@22211 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-10-12 15:24:23 +00:00
Lance Willett
cdbda911ae Twenty Ten: escape i18n attributes as late as possible, fixes cases in loop.php -- props mfields. See #21756.
git-svn-id: http://core.svn.wordpress.org/trunk@22197 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-10-11 20:12:40 +00:00
Lance Willett
c4368c8a23 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: http://core.svn.wordpress.org/trunk@22195 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-10-11 20:02:33 +00:00
Lance Willett
36c9df6f16 Twenty Ten: allow page ancestors to have a visual "on" state, props mfields. Fixes #21647.
git-svn-id: http://core.svn.wordpress.org/trunk@22194 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-10-11 19:57:10 +00:00
Bot (Translations)
2882da59b1 POT, generated from r22152
git-svn-id: http://core.svn.wordpress.org/trunk@22153 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-10-10 00:18:33 +00:00
Andrew Nacin
2554b2bfbf Add author URI and complete theme URI to Twenty Ten. props DrewAPicture, fixes #22012.
git-svn-id: http://core.svn.wordpress.org/trunk@22151 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-10-09 23:45:47 +00:00
Lance Willett
d4ac0394c3 Twenty Ten and Eleven: update screenshot.png files in both themes to double-sized versions for HiDPI support. Fixes #21388.
git-svn-id: http://core.svn.wordpress.org/trunk@22112 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-10-04 17:43:20 +00:00
Andrew Nacin
32b4571c18 Add page templates to the Twenty Twelve POT file. Remove tags from theme POT files. fixes #22016.
git-svn-id: http://core.svn.wordpress.org/trunk@22067 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-09-27 17:51:53 +00:00
Bot (Translations)
aef278a516 POT, generated from r21605
git-svn-id: http://core.svn.wordpress.org/trunk@21606 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-08-24 16:18:49 +00:00
Andrew Nacin
770ee9720a 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: http://core.svn.wordpress.org/trunk@21604 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-08-24 15:22:14 +00:00
potbot
8d1526b981 POT, generated from r21492
git-svn-id: http://core.svn.wordpress.org/trunk@21493 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-08-09 19:22:33 +00:00
lancewillett
27281f6fd1 Twenty Ten and Eleven: *_continue_reading_link() should be pluggable, fixes #16500. Props nacin and SergeyBiryukov.
git-svn-id: http://core.svn.wordpress.org/trunk@21490 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-08-09 18:21:58 +00:00
lancewillett
3c586888ad Twenty Ten: code readability in twentyten_comment, props kovshenin, fixes #21474. (And minor pinking shears.)
git-svn-id: http://core.svn.wordpress.org/trunk@21486 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-08-09 17:22:44 +00:00
potbot
daf4d87c4d POT, generated from r21043
git-svn-id: http://core.svn.wordpress.org/trunk@21044 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-06-10 15:18:09 +00:00
ryan
e8443447de Bump bundled theme versions. Props nacin. fixes #20886
git-svn-id: http://core.svn.wordpress.org/trunk@21040 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-06-10 14:18:45 +00:00
potbot
c228019369 POT, generated from r20985
git-svn-id: http://core.svn.wordpress.org/trunk@20986 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-06-04 15:18:16 +00:00
ryan
55958522c1 Back compat for bundled themes. Props nacin, SergeyBiryukov, kobenland. fixes #20768
git-svn-id: http://core.svn.wordpress.org/trunk@20983 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-06-04 14:43:19 +00:00
potbot
99b79efd19 POT, generated from r20974
git-svn-id: http://core.svn.wordpress.org/trunk@20975 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-06-01 21:18:10 +00:00
ryan
0f1f59b092 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: http://core.svn.wordpress.org/trunk@20973 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-06-01 20:31:50 +00:00
nacin
1f11c21eae 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: http://core.svn.wordpress.org/trunk@20946 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-05-27 16:44:14 +00:00
potbot
aff39254b3 POT, generated from r20474
git-svn-id: http://svn.automattic.com/wordpress/trunk@20475 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-04-15 21:17:55 +00:00
nacin
fa631702a6 Flexible heights for Twenty Ten's custom headers. see #20448.
git-svn-id: http://svn.automattic.com/wordpress/trunk@20474 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-04-15 20:51:24 +00:00
nacin
0393394451 Twenty Ten: Remove $locale.php file support. see #20448.
git-svn-id: http://svn.automattic.com/wordpress/trunk@20473 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-04-15 20:46:09 +00:00
nacin
359ed454b7 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: http://svn.automattic.com/wordpress/trunk@20231 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-03-21 03:36:17 +00:00
potbot
b61ad29d1e POT, generated from r20226
git-svn-id: http://svn.automattic.com/wordpress/trunk@20227 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-03-20 22:16:07 +00:00
nacin
1a265e464c 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: http://svn.automattic.com/wordpress/trunk@20225 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-03-20 21:32:42 +00:00
nacin
55f0de0cc4 Add template names to theme pots. see #6007.
git-svn-id: http://svn.automattic.com/wordpress/trunk@19968 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-02-21 16:37:01 +00:00