Commit Graph

358 Commits

Author SHA1 Message Date
Lance Willett 14996681b6 Twenty Twelve: allow translators to load extra character subsets for Open Sans font, props obenland. See #21751.
git-svn-id: http://core.svn.wordpress.org/trunk@22020 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-09-26 20:05:12 +00:00
Lance Willett ebb2967466 Twenty Twelve: header image should be wrapped in a link to home. Fixes #22004.
git-svn-id: http://core.svn.wordpress.org/trunk@22014 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-09-26 16:59:57 +00:00
Lance Willett f480a3a792 Twenty Twelve: update comment blocks at top of each page template with a better explanation of use and purpose.
git-svn-id: http://core.svn.wordpress.org/trunk@22002 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-09-25 19:58:33 +00:00
Lance Willett 5aff28bf13 Twenty Twelve: include a more verbose comment to educate themers on how to create specific template files for archive views, like tag.php and author.php. See #21951.
git-svn-id: http://core.svn.wordpress.org/trunk@21992 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-09-24 23:49:45 +00:00
Lance Willett 8399a8742b Twenty Twelve: make submenu a bit wider to support longer words in menu item link text. Matches Twenty Ten and Eleven. See #21964.
git-svn-id: http://core.svn.wordpress.org/trunk@21991 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-09-24 23:46:04 +00:00
Lance Willett 7dc528a9d9 Twenty Twelve: style basic HTML elements in text widgets, props DrewAPicture. Fixes #21932.
git-svn-id: http://core.svn.wordpress.org/trunk@21990 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-09-24 23:17:52 +00:00
Lance Willett 847b8b3723 Twenty Twelve: remove extra space left from r21976 change.
git-svn-id: http://core.svn.wordpress.org/trunk@21977 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-09-24 18:39:05 +00:00
Lance Willett 56de945e68 Twenty Twelve: remove the word "Blog" from archive title, see #21951. Also remove from two comments in functions.php.
git-svn-id: http://core.svn.wordpress.org/trunk@21976 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-09-24 18:33:09 +00:00
Lance Willett d7cbb45914 Twenty Twelve: remove `twentytwelve_frontpage_sidebar_class()` and make front page sidebar number filterable via `body_class`. Fixes #21942.
git-svn-id: http://core.svn.wordpress.org/trunk@21975 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-09-24 16:57:42 +00:00
Lance Willett b3f0c192d3 Twenty Twelve: change author template markup to use classes instead of IDs, fixes #21937.
git-svn-id: http://core.svn.wordpress.org/trunk@21941 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-09-21 16:39:38 +00:00
Lance Willett 6d132acb80 Twenty Twelve: rework markup and styles for status post format after discussion with drewstrojny and testing for float clearing. Closes #21743.
git-svn-id: http://core.svn.wordpress.org/trunk@21933 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-09-20 21:51:48 +00:00
Lance Willett 3854197ba8 Twenty Twelve: update status post format styles and markup, props drewstrojny. See #21743.
git-svn-id: http://core.svn.wordpress.org/trunk@21932 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-09-20 19:42:19 +00:00
Lance Willett 45a36f5fc0 Twenty Twelve: remove duplicate font-size rules, defined already for list items in this context.
git-svn-id: http://core.svn.wordpress.org/trunk@21930 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-09-20 16:33:40 +00:00
Lance Willett e538b8c697 Twenty Twelve: update navigation script to check for missing button and menu children earlier; allows an empty menu to be set without showing the button. See #21678.
git-svn-id: http://core.svn.wordpress.org/trunk@21929 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-09-20 16:28:27 +00:00
Lance Willett 71fea496e8 Twenty Twelve: remove overflow rule from wrapper element to allow image styles to spill out into margins. Fixes #21926. See also #21381.
git-svn-id: http://core.svn.wordpress.org/trunk@21918 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-09-19 17:38:30 +00:00
Lance Willett f6cd1c5864 Twenty Twelve: update base style for comment textarea and input elements to avoid clipping off the edges. Props emiluzelac and obenland, fixes #21916.
git-svn-id: http://core.svn.wordpress.org/trunk@21897 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-09-18 21:36:31 +00:00
Lance Willett bfb48f1384 Twenty Twelve: fix typo in stylesheet description, props nacin. See #21909.
git-svn-id: http://core.svn.wordpress.org/trunk@21893 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-09-18 18:08:58 +00:00
Lance Willett 56fc80cdec Twenty Twelve: compress new screenshot.png down a bit, 0.78% savings. See r21884.
git-svn-id: http://core.svn.wordpress.org/trunk@21887 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-09-18 17:31:50 +00:00
Lance Willett 5f5984c491 Twenty Twelve: rename homepage template to front-page; including s/home/front-page/ in many places -- see notes in ticket. See #21909.
git-svn-id: http://core.svn.wordpress.org/trunk@21886 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-09-18 17:28:36 +00:00
Bot (Translations) 263dffd5b8 POT, generated from r21882
git-svn-id: http://core.svn.wordpress.org/trunk@21885 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-09-17 22:19:03 +00:00
Lance Willett a44576f387 Twenty Twelve: update screenshot with double-sized version at 600x450, props drewstrojny. See #21388 and #21227.
git-svn-id: http://core.svn.wordpress.org/trunk@21884 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-09-17 22:18:09 +00:00
Lance Willett 1e33842a84 Twenty Twelve: allow Open Sans to be disabled per language, since it does not support all languages, and some odd combinations of OS and browser versions don't support any non-Latin language very well.
Props obenland and SergeyBiryukov for patches, fixes #21751.


git-svn-id: http://core.svn.wordpress.org/trunk@21882 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-09-17 22:07:51 +00:00
Bot (Translations) 4f5bb5412e POT, generated from r21763
git-svn-id: http://core.svn.wordpress.org/trunk@21764 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-09-05 15:19:09 +00:00
Lance Willett af986d95c9 Twenty Twelve: combine two "Nothing Found" strings for consistency and simpler translation, props SergeyBiryukov. Fixes #21802.
git-svn-id: http://core.svn.wordpress.org/trunk@21763 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-09-05 15:04:34 +00:00
Bot (Translations) 4df9c57c50 POT, generated from r21761
git-svn-id: http://core.svn.wordpress.org/trunk@21762 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-09-05 05:19:03 +00:00
Lance Willett 678847e6eb Twenty Twelve: hide author name on single author blogs, using `is_multi_author()` -- fixes #21759, props iamtakashi.
git-svn-id: http://core.svn.wordpress.org/trunk@21761 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-09-05 04:33:55 +00:00
Bot (Translations) 4c9e40f2bb POT, generated from r21732
git-svn-id: http://core.svn.wordpress.org/trunk@21733 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-09-04 06:18:25 +00:00
Lance Willett 2aeaa3d3dc Twenty Twelve: remove executable bit from content-status.php, see r21726.
git-svn-id: http://core.svn.wordpress.org/trunk@21732 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-09-04 05:53:14 +00:00
Bot (Translations) 8e7f7425e3 POT, generated from r21728
git-svn-id: http://core.svn.wordpress.org/trunk@21731 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-09-04 05:18:55 +00:00
Lance Willett 1aef211307 Twenty Twelve: s/Show Menu/Menu/ for clarity and simplicity, and maybe more semantic and accessible. Fixes #21783, props iandstewart.
git-svn-id: http://core.svn.wordpress.org/trunk@21730 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-09-04 05:18:17 +00:00
Lance Willett d9ef2c1e94 Twenty Twelve: better bottom spacing for blockquotes, making it easier for child themes to style blockquotes followed by paragraphs. Props markjaquith and obenland, fixes #21764.
git-svn-id: http://core.svn.wordpress.org/trunk@21729 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-09-04 05:14:46 +00:00
Lance Willett 21c17778ae Twenty Twelve: list items need larger left margins to avoid cutting off the left-side (digit in the case of ordered lists). Props sixhours and obenland, fixes #21750.
git-svn-id: http://core.svn.wordpress.org/trunk@21728 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-09-04 05:08:32 +00:00
Lance Willett cc42ab537a Twenty Twelve: add support for Status post format. See #21743.
git-svn-id: http://core.svn.wordpress.org/trunk@21726 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-09-04 05:00:19 +00:00
Lance Willett 3121d4dd6c Twenty Twelve: review and remove unneeded overflow rules, and remove duplicate style block. Props obenland, fixes #21740.
git-svn-id: http://core.svn.wordpress.org/trunk@21725 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-09-04 04:54:24 +00:00
Lance Willett a10b65eb97 Twenty Twelve: fix edit_post_link() inconsistencies, props obenland. Fixes #21722.
git-svn-id: http://core.svn.wordpress.org/trunk@21723 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-09-04 04:17:49 +00:00
Lance Willett 21c4b2913c Twenty Twelve: remove justified text alignment rules for small screens. Closes #21385.
git-svn-id: http://core.svn.wordpress.org/trunk@21721 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-09-04 03:58:24 +00:00
Lance Willett 1c2910d8ad Twenty Twelve: fix long word overflow in IE9 and FF15 by using `word-wrap` instead of `word-break`, fixes #21503.
git-svn-id: http://core.svn.wordpress.org/trunk@21720 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-09-04 03:47:24 +00:00
Lance Willett 708c9746a9 Twenty Twelve: go with `echo get_the_date()` here, added in r21670 but reverted accidentally in r21674. Props obenland.
git-svn-id: http://core.svn.wordpress.org/trunk@21675 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-08-30 19:32:05 +00:00
Lance Willett 83fd26c1a0 Twenty Twelve: add a better permalink markup structure to content-image.php template, for usability when image posts have no title. Props obenland, fixes #21723.
git-svn-id: http://core.svn.wordpress.org/trunk@21674 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-08-30 19:27:27 +00:00
Lance Willett 1bb58f28e7 Twenty Twelve: use `get_the_date()` rather than `the_date()` in content templates to ensure a date is always output and a post permalink is visible to site visitors. Props obenland and ocean90, fixes #21721.
git-svn-id: http://core.svn.wordpress.org/trunk@21670 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-08-30 17:23:22 +00:00
Bot (Translations) 2fd9f64928 POT, generated from r21668
git-svn-id: http://core.svn.wordpress.org/trunk@21669 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-08-30 17:18:55 +00:00
Lance Willett 0c8e14a3ad Twenty Twelve: move Open Sans custom font loading to a body class to allow easier overriding, fixes #21694.
* Use wp_style_is() to check for the enqueued CSS file before adding the body class value.
 * Add a sample dequeue method in the comments as documentation for child themers and their ilk.

Props viniciusmassuchetto, nacin, and obenland.


git-svn-id: http://core.svn.wordpress.org/trunk@21668 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-08-30 16:59:22 +00:00
Lance Willett 6231725926 Twenty Twelve: remove aggressive text-align rule, set to inherit instead to allow editor-added styles to justify per author's desire. Props obenland, fixes #21739.
git-svn-id: http://core.svn.wordpress.org/trunk@21667 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-08-30 16:39:49 +00:00
Lance Willett 02f05196bf Twenty Twelve: move text treatment for footer anchor element up to its parent container, to allow styling any text in the footer.
git-svn-id: http://core.svn.wordpress.org/trunk@21666 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-08-30 16:25:31 +00:00
Lance Willett 07671eaa88 Twenty Twelve: remove unneeded float rule from nav list items, there is nothing to override here.
Also allows authors to assign CSS classes and float menu items with something like `alignright`.


git-svn-id: http://core.svn.wordpress.org/trunk@21665 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-08-30 16:24:29 +00:00
Bot (Translations) ab7fb3d244 POT, generated from r21648
git-svn-id: http://core.svn.wordpress.org/trunk@21649 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-08-28 18:18:47 +00:00
Lance Willett 8602864577 Twenty Twelve: use sidebar ID string value for sidebar checks instead of hard-coded integer, props nacin. See #21685.
git-svn-id: http://core.svn.wordpress.org/trunk@21643 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-08-28 17:16:18 +00:00
Lance Willett 3922fe7686 Twenty Twelve: rename custom page templates and place in sub-directory. Closes #21715.
git-svn-id: http://core.svn.wordpress.org/trunk@21642 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-08-28 17:12:10 +00:00
Bot (Translations) b6c5242bad POT, generated from r21639
git-svn-id: http://core.svn.wordpress.org/trunk@21640 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-08-28 03:19:03 +00:00
Lance Willett 5beee34612 Twenty Twelve: simplify custom font loading behavior, see #21694.
* Remove theme options code and support from theme.
 * Keep Open Sans font first in the stack and make it always loaded.
 * Move Customizer pieces from Theme Options out of class structure and into functions.php.


git-svn-id: http://core.svn.wordpress.org/trunk@21639 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-08-28 02:18:43 +00:00
Bot (Translations) bacb749629 POT, generated from r21637
git-svn-id: http://core.svn.wordpress.org/trunk@21638 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-08-28 02:18:23 +00:00
Lance Willett 0f515e20f9 Twenty Twelve: add rule to force override the fixed width for Twitter embeds. Props kovshenin, see #21680.
git-svn-id: http://core.svn.wordpress.org/trunk@21637 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-08-28 01:29:16 +00:00
Lance Willett 197fa28922 Twenty Twelve: improve line-height and font-size for text widget output without added paragraph wrappers. Props leogermani, fixes #21693.
git-svn-id: http://core.svn.wordpress.org/trunk@21636 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-08-28 01:23:13 +00:00
Lance Willett 1b66f93bb0 Twenty Twelve: add back more specific selector to wp-smiley class, forces removing image shadows from smileys. Props obenland, fixes #21696.
git-svn-id: http://core.svn.wordpress.org/trunk@21635 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-08-28 01:18:12 +00:00
Lance Willett f4116da75a Twenty Twelve: add missing period in meta section of the 'image.php' template. Props viniciusmassuchetto, fixes #21695.
git-svn-id: http://core.svn.wordpress.org/trunk@21634 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-08-28 01:15:13 +00:00
Lance Willett afd493abe9 Twenty Twelve: style email and url input types, and minor stylesheet cleanup.
git-svn-id: http://core.svn.wordpress.org/trunk@21626 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-08-25 23:27:04 +00:00
Bot (Translations) 25aa794f46 POT, generated from r21624
git-svn-id: http://core.svn.wordpress.org/trunk@21625 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-08-25 18:18:46 +00:00
Lance Willett 30ba6ef778 Twenty Twelve: pinking your trailing spaces, see #21675.
git-svn-id: http://core.svn.wordpress.org/trunk@21624 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-08-25 17:57:42 +00:00
Lance Willett 719e80e8cd Twenty Twelve: theme-options.php fixes from obenland, see #21685.
* Capability is already set to 'edit_theme_options' by default
 * Simplify logic for form input validation


git-svn-id: http://core.svn.wordpress.org/trunk@21623 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-08-25 17:51:21 +00:00
Lance Willett fe87773446 Twenty Twelve: JavaScript fix props obenland; no need to put the selector in a variable as it will be called only once anyway. See #21685.
git-svn-id: http://core.svn.wordpress.org/trunk@21622 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-08-25 17:47:34 +00:00
Lance Willett b3711fba97 Twenty Twelve: comments.php, cleanup and better indentation. Props obenland, see #21685.
git-svn-id: http://core.svn.wordpress.org/trunk@21621 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-08-25 17:41:32 +00:00
Lance Willett 61174d8cdf Twenty Twelve: consistently call sidebar areas with just the ID value, props obenland. See #21685.
git-svn-id: http://core.svn.wordpress.org/trunk@21620 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-08-25 17:32:06 +00:00
Bot (Translations) 810869a520 POT, generated from r21617
git-svn-id: http://core.svn.wordpress.org/trunk@21619 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-08-25 17:18:53 +00:00
Lance Willett 70ffe26854 Twenty Twelve: review and clean up end-of-element HTML comments. Props obenland for starter patch. Closes #21675.
git-svn-id: http://core.svn.wordpress.org/trunk@21618 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-08-25 17:16:56 +00:00
Lance Willett 3ec703a6d1 Twenty Twelve: review and clarify code commenting and documentation. Props jorbin and obenland. See #21675.
git-svn-id: http://core.svn.wordpress.org/trunk@21617 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-08-25 16:53:32 +00:00
Lance Willett 8932111b07 Twenty Twelve: spaces to tabs in navigation.js, props obenland. See #21685.
git-svn-id: http://core.svn.wordpress.org/trunk@21616 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-08-25 16:50:05 +00:00
Bot (Translations) 9519b9d000 POT, generated from r21613
git-svn-id: http://core.svn.wordpress.org/trunk@21614 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-08-25 00:19:05 +00:00
Lance Willett 6bf7377138 Twenty Twelve: bump theme version to .9
git-svn-id: http://core.svn.wordpress.org/trunk@21613 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-08-24 23:41:25 +00:00
Lance Willett b4fb1aaf21 Twenty Twelve: remove typo in r21611. No 13 fo' you.
git-svn-id: http://core.svn.wordpress.org/trunk@21612 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-08-24 21:08:35 +00:00
Lance Willett a1d39f1e1e Twenty Twelve: rework navigation to remove need for jQuery and support wp_page_menu markup better. Fixes #21562.
git-svn-id: http://core.svn.wordpress.org/trunk@21611 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-08-24 21:07:19 +00:00
Lance Willett feb752da92 Twenty Twelve: remove matchMedia JS polyfill now that older browsers are getting mobile-first navigation styles. Props Jayjdk, see #21562.
git-svn-id: http://core.svn.wordpress.org/trunk@21603 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-08-23 23:39:57 +00:00
Bot (Translations) 8feca73039 POT, generated from r21600
git-svn-id: http://core.svn.wordpress.org/trunk@21602 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-08-23 21:18:27 +00:00
Lance Willett 64afcc0dea Twenty Twelve: include links to source code for html5 shiv and matchmedia polyfil, props jorbin. Fixes #21671.
git-svn-id: http://core.svn.wordpress.org/trunk@21600 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-08-23 20:52:07 +00:00
Lance Willett 5ee453f570 Twenty Twelve: s/Show navigation/Show menu/ in small menu button text, props nacin. See #21562.
git-svn-id: http://core.svn.wordpress.org/trunk@21573 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-08-21 17:31:33 +00:00
Lance Willett ed3a84bacc Twenty Twelve: add in missing style.css tag for 'editor-style', see #21376.
git-svn-id: http://core.svn.wordpress.org/trunk@21566 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-08-20 22:26:51 +00:00
Lance Willett 8091c3e0e1 Twenty Twelve: update RTL stylsheet based on recent layout changes, see #21441.
git-svn-id: http://core.svn.wordpress.org/trunk@21565 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-08-20 22:11:36 +00:00
Lance Willett c6aca81768 Twenty Twelve: in small menu give sub-menu items a bit of indentation to denote the hierarchy of items. See #21562.
git-svn-id: http://core.svn.wordpress.org/trunk@21564 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-08-20 22:10:56 +00:00
Lance Willett c255fe7e6e Twenty Twelve: minor style fixes for small navigation menu (line-height) -- see #21562; featured image on homepage timeplate (space below image in small layouts).
git-svn-id: http://core.svn.wordpress.org/trunk@21562 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-08-20 21:44:38 +00:00
Lance Willett ef9743af7c Twenty Twelve: better naming for the homepage widget areas, props nacin. See #21619.
git-svn-id: http://core.svn.wordpress.org/trunk@21558 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-08-20 19:43:16 +00:00
Lance Willett 1dabc15e34 Twenty Twelve: re-implement the hiding of toggle element when empty menu is present, see #21562 and r21520 props cfinke.
git-svn-id: http://core.svn.wordpress.org/trunk@21557 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-08-20 19:14:51 +00:00
Lance Willett 786a5de88f Twenty Twelve: patch IE7 for clip styles (hidden elements were displaying incorrectly).
git-svn-id: http://core.svn.wordpress.org/trunk@21556 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-08-20 19:13:28 +00:00
Lance Willett 4ee38a3ca6 Twenty Twelve: change homepage widget areas to use columns or multiple areas instead of one big area. Fixes #21619, props obenland.
git-svn-id: http://core.svn.wordpress.org/trunk@21555 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-08-20 18:45:00 +00:00
Lance Willett 6de0e77fd4 Twenty Twelve: improve navigation to be mobile-first and not rely on JS for hiding and showing, props obenland for patches. See #21562.
git-svn-id: http://core.svn.wordpress.org/trunk@21554 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-08-20 18:35:33 +00:00
Lance Willett 26ebec2fc8 Twenty Twelve: remove twentytwelve_is_categorized_site() in favor of a theme-agnostic future core fix for this issue, see #21479.
Also simplify the logic for checking tag and categories, props SergeyBiryukov and obenland.


git-svn-id: http://core.svn.wordpress.org/trunk@21543 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-08-17 22:18:01 +00:00
Lance Willett d39c16594b Twenty Twelve: output dynamic end comment ID value for navigation container (above|below).
git-svn-id: http://core.svn.wordpress.org/trunk@21542 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-08-17 21:20:16 +00:00
Lance Willett 9b3bb27a48 Twenty Twelve: minor CSS cleanup for extra trailing selector comma, spacing, and too-specific class selector.
git-svn-id: http://core.svn.wordpress.org/trunk@21540 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-08-17 17:23:49 +00:00
Lance Willett dd69a089f0 Twenty Twelve: add flexible-header tag back into style.css, in anticipation of it being a core-allowed tag, see #21065.
Remove responsive-width since it's not decided yet, see #21065.


git-svn-id: http://core.svn.wordpress.org/trunk@21533 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-08-15 22:20:57 +00:00
Lance Willett 24c16e3b05 Twenty Twelve: remove `initial-scale` value from viewport meta element to avoid iOS zoom bug. Props bradthomas127, see #21577.
git-svn-id: http://core.svn.wordpress.org/trunk@21525 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-08-15 16:05:13 +00:00
Lance Willett 718184b554 Twenty Twelve: s/"/'/ in array notation, props JarretC. Fixes #21587.
git-svn-id: http://core.svn.wordpress.org/trunk@21524 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-08-15 15:58:25 +00:00
Lance Willett 5f1392a175 Twenty Twelve: selector for navigation menu should style the menu list element, props obenland, see #21562.
Also remove duplicate line-height rule, props bradthomas127. See #21577.


git-svn-id: http://core.svn.wordpress.org/trunk@21520 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-08-15 05:56:24 +00:00
Lance Willett 934101fd65 Twenty Twelve: stop nav slide animation when clicking the button multiple times in a row. Props Jayjdk, fixes #21531.
git-svn-id: http://core.svn.wordpress.org/trunk@21519 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-08-15 05:37:36 +00:00
Lance Willett 175a38d2d4 Twenty Twelve: fix centering of image captions on image attachment view. Fixes #21530.
git-svn-id: http://core.svn.wordpress.org/trunk@21518 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-08-15 05:30:36 +00:00
Lance Willett 632e41fe7d Twenty Twelve: better fix for long words getting hidden in widgets, putting the rules in the correct selector, props obenland. Closes #21503.
git-svn-id: http://core.svn.wordpress.org/trunk@21517 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-08-15 05:25:40 +00:00
Lance Willett 6ef60557e4 Twenty Twelve: move IE8 styles to specific IE selector, props obenland. Closes #21440.
git-svn-id: http://core.svn.wordpress.org/trunk@21516 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-08-15 05:08:07 +00:00
Lance Willett 2bf29fe495 Twenty Twelve: editor RTL style fixes props yoavf, see #21441.
git-svn-id: http://core.svn.wordpress.org/trunk@21515 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-08-15 05:03:21 +00:00
lancewillett 7e850a0ce6 Twenty Twelve: pinking shears for header.php
git-svn-id: http://core.svn.wordpress.org/trunk@21492 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-08-09 18:42:36 +00:00
lancewillett 2fe505e25a Twenty Twelve: make twentytwelve_is_categorized_site() pluggable, see #21479.
git-svn-id: http://core.svn.wordpress.org/trunk@21489 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-08-09 18:20:25 +00:00
lancewillett 5fd1d828a6 Twenty Twelve: fix bypostauthor styling, probs obenland and SergeyBiryukov (also improves the RTL layout, see #21441).
git-svn-id: http://core.svn.wordpress.org/trunk@21483 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-08-08 19:10:22 +00:00
lancewillett 7ef95f756b Twenty Twelve: add basic styles for IE7 and IE8, supports basic layout now with the small-nav styles. Props obenland, closes #21440.
git-svn-id: http://core.svn.wordpress.org/trunk@21482 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-08-08 18:03:59 +00:00
lancewillett a83649d755 Twenty Twelve: cleanup up extra space in functions.php
git-svn-id: http://core.svn.wordpress.org/trunk@21479 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-08-08 16:59:15 +00:00
lancewillett ab2b32c6a9 Twenty Twelve: better gallery columns support, and CSS cleanup. Closes #21475, props philiparthurmoore and pdclark.
git-svn-id: http://core.svn.wordpress.org/trunk@21478 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-08-08 16:38:21 +00:00
lancewillett e220162063 Twenty Twelve: fix for long words getting hidden in widgets. Props DrewAPicture, closes #21503.
git-svn-id: http://core.svn.wordpress.org/trunk@21477 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-08-08 16:21:14 +00:00
lancewillett 5280582df1 Twenty Twelve: make nav toggle button same height as other buttons.
git-svn-id: http://core.svn.wordpress.org/trunk@21476 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-08-08 16:14:36 +00:00
lancewillett 2099053853 Twenty Twelve: add polyfill JS for matchMedia rules, avoids JS error in older IE versions. See #21440.
git-svn-id: http://core.svn.wordpress.org/trunk@21475 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-08-08 16:13:32 +00:00
lancewillett 850adce105 Twenty Twelve: update author archive markup and styles, props klagraff. Fixes #21494.
git-svn-id: http://core.svn.wordpress.org/trunk@21464 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-08-06 21:05:02 +00:00
lancewillett 7b9d8c1491 Twenty Twelve: line-height style fixes, props chellycat. See #21486.
* For entry titles match larger screen style with the base styles to add a bit more line-height.
 * Add line-height to entry-content and entry-summary, so that elements appearing outside of paragraph tags inside these containers will still have the appropriate line-heights.
 * Add line-height for pingbacks, which looks a bit too tight when pingbacks span multiple lines.


git-svn-id: http://core.svn.wordpress.org/trunk@21462 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-08-06 20:48:47 +00:00
lancewillett edbe047def Twenty Twelve: fix searchform styling issues and simplify selectors even more. Fixes #21478, props hd-J and jkudish.
git-svn-id: http://core.svn.wordpress.org/trunk@21451 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-08-06 00:30:52 +00:00
lancewillett 15ca4e3e89 Twenty Twelve: generalize form styles so plugins that insert things like contact forms will fit in. Props ryanimel, see #21477.
git-svn-id: http://core.svn.wordpress.org/trunk@21450 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-08-06 00:19:29 +00:00
lancewillett c431b810d2 Twenty Twelve: check for empty variable for simpler logic, props jkudish. See #21479.
git-svn-id: http://core.svn.wordpress.org/trunk@21449 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-08-06 00:01:32 +00:00
lancewillett bbd8dfb103 Twenty Twelve: standardize label used for Web Fonts option. Props jkudish, fixes #21487.
git-svn-id: http://core.svn.wordpress.org/trunk@21448 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-08-05 23:58:12 +00:00
lancewillett fba5363fce Twenty Twelve: widget style fikes, align the ".timesince" class in the Twitter widget to the right like Twenty Eleven does. Props chellycat, see #21477.
git-svn-id: http://core.svn.wordpress.org/trunk@21447 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-08-05 23:48:13 +00:00
lancewillett f79fe8ac32 Twenty Twelve: Position the stats smiley in a happy place, and add Plugins rule block. See #21477, props iandstewart.
git-svn-id: http://core.svn.wordpress.org/trunk@21446 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-08-05 23:41:59 +00:00
lancewillett e6afa58c20 Twenty Twelve: style acronym element same as dfn and abbr, props DrewAPicture. Fixes #21484.
git-svn-id: http://core.svn.wordpress.org/trunk@21445 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-08-05 23:11:11 +00:00
lancewillett e9c6360474 Twenty Twelve: hide category and tag output in post meta if only 1 term. Props ryanimel, jkudish and fixes #21479.
git-svn-id: http://core.svn.wordpress.org/trunk@21444 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-08-05 23:04:32 +00:00
lancewillett a6a135300d Twenty Twelve, apply RSS styles from r21436 to RTL stylesheet, props SergeyBiryukov. Fixes #21476.
git-svn-id: http://core.svn.wordpress.org/trunk@21442 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-08-05 22:56:50 +00:00
lancewillett 2c7e03611a Twenty Twelve, RTL: per azaozz, center the editor body in RTL to stop messing with calculating height/width in JS. Props obenland, see #21441.
git-svn-id: http://core.svn.wordpress.org/trunk@21441 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-08-05 22:54:47 +00:00
lancewillett 8cfd109c27 Twenty Twelve: use inline-block for clickable titles, props klagraff and iandstewart.
git-svn-id: http://core.svn.wordpress.org/trunk@21440 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-08-05 22:42:46 +00:00
lancewillett 06e354c14f Twenty Twelve: better button styles for consistent look across browsers. Props obenland, fixes #21473.
git-svn-id: http://core.svn.wordpress.org/trunk@21438 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-08-05 22:39:26 +00:00
lancewillett 22fa9e4f74 Twenty Twelve: only show excerpt on search view, not full content.
Props bradthomas127 and obenland. See #21462.


git-svn-id: http://core.svn.wordpress.org/trunk@21437 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-08-05 22:27:22 +00:00
lancewillett 94ec99851d Twenty Twelve: style up the RSS widget output to match Recent Posts better. Props SergeyBiryukov and obenland, see #21476.
git-svn-id: http://core.svn.wordpress.org/trunk@21436 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-08-05 22:20:35 +00:00
lancewillett 09c319a557 Twenty Twelve RTL: more fixes props obenland. See #21441.
git-svn-id: http://core.svn.wordpress.org/trunk@21434 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-08-05 21:34:56 +00:00
lancewillett ae0e3c298a Twenty Twelve RTL: add editor-style-rtl stylesheet, props SergeyBiryukov and obenland. See #21441.
git-svn-id: http://core.svn.wordpress.org/trunk@21433 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-08-05 21:27:50 +00:00
lancewillett e22591ce49 Twenty Twelve RTL: Adds the visual of comment threading back to RTL, props iandstewart. See #21441.
git-svn-id: http://core.svn.wordpress.org/trunk@21432 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-08-05 21:14:23 +00:00
lancewillett df26bdae3d Twenty Twelve RTL: We ought not to RTL image alignment since the editor adds the class and the button is always the same. See #21441 props iandstewart.
git-svn-id: http://core.svn.wordpress.org/trunk@21431 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-08-05 21:13:21 +00:00
lancewillett bfb8144c1f Twenty Twelve RTL: adds missing margin for lists in comments, props iandstewart. See #21441.
git-svn-id: http://core.svn.wordpress.org/trunk@21430 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-08-05 21:10:21 +00:00
lancewillett cf619d2520 Twenty Twelve: set version to null to force no stylesheet version number when loading third-party CSS for Google Fonts. Props drewstrojny and obenland.
git-svn-id: http://core.svn.wordpress.org/trunk@21428 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-08-05 20:41:20 +00:00
lancewillett d2e2ba54b1 Twenty Twelve: print style tweaks for footer meta and link underlines. See #21377.
git-svn-id: http://core.svn.wordpress.org/trunk@21427 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-08-05 20:21:07 +00:00
lancewillett e197f9195c Twenty Twelve: justify text in smaller views, props chriswallace. Fixes #21385.
git-svn-id: http://core.svn.wordpress.org/trunk@21426 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-08-05 19:56:42 +00:00
lancewillett 3a0841fee7 Twenty Twelve: bump theme-customizer JS version. See #21443.
git-svn-id: http://core.svn.wordpress.org/trunk@21412 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-08-02 22:17:06 +00:00
lancewillett ffc2e121fc Twenty Twelve: Add postMessage support in Customizer for fonts, site title and description, and background color body_class value updates.
Props obenland for first patch and testing. Fixes #21443.


git-svn-id: http://core.svn.wordpress.org/trunk@21411 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-08-02 22:10:03 +00:00
lancewillett 751445937c Twenty Twelve: update print styles to merge similar rules, props SergeyBiryukov, see #21377.
git-svn-id: http://core.svn.wordpress.org/trunk@21410 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-08-02 21:11:11 +00:00
lancewillett 36bd0f0339 Twenty Twelve: update editor stylesheet, props obenland. See #21376.
git-svn-id: http://core.svn.wordpress.org/trunk@21409 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-08-02 21:06:03 +00:00
lancewillett 4819a3ab37 Twenty Twelve: make sure embeds and videos don't overflow their containers, and add iframe styles to all embeds, videos, and objects. Fixes #21382.
Props chriswallace and obenland for troubleshooting.


git-svn-id: http://core.svn.wordpress.org/trunk@21408 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-08-02 20:57:47 +00:00
lancewillett 0a83a5cb02 Twenty Twelve: add max-width rule to help captions not overflow their container at small window sizes. Props chriswallace and obenland, fixes #21383.
git-svn-id: http://core.svn.wordpress.org/trunk@21407 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-08-02 20:53:38 +00:00
lancewillett ee6a92ceb7 Twenty Twelve: style hr, big, del, ins in editor stylesheet (and add all except big to style.css also). Fixes #21376.
git-svn-id: http://core.svn.wordpress.org/trunk@21406 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-08-02 20:27:23 +00:00
lancewillett 29b95be1b5 Twenty Twelve: fix navigation selectors as the change in r21404 broke the small navigation menu behavior.
git-svn-id: http://core.svn.wordpress.org/trunk@21405 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-08-02 19:53:45 +00:00
lancewillett 1d9662043e Twenty Twelve: CSS and markup improvements for better child theme support, part 3. See #21379.
* Add classes like `.site` and `.site-content` in addition to the set of IDs already present, making things much better for child themes to have more than one generic element like `nav` inside the content container.
 * Bump JS version after selector change.
 * Move `image-attachment` to `post_class()` output

More exhaustive notes in the ticket on each id and class change.


git-svn-id: http://core.svn.wordpress.org/trunk@21404 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-08-02 19:12:11 +00:00
lancewillett a7b6455c97 Twenty Twelve: CSS and markup improvements for better child theme support, part 2. See #21379.
* Allow image alignment to apply anywhere, not just entry content area
 * Remove unneeded `hgroup` `header` and `nav` selectors


git-svn-id: http://core.svn.wordpress.org/trunk@21402 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-08-02 18:28:10 +00:00
lancewillett 4b2f431080 Twenty Twelve: CSS and markup improvements for better child theme support, part 1.
Move all media queries to bottom of document.


git-svn-id: http://core.svn.wordpress.org/trunk@21401 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-08-02 17:50:52 +00:00
lancewillett a9052b5e1a Twenty Twelve: Homepage page template logic cleanup and style updates, props obenland. Fixes #21245.
git-svn-id: http://core.svn.wordpress.org/trunk@21398 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-08-01 18:52:20 +00:00
lancewillett 0403c40ecf Twenty Twelve: update styles for tag/category descriptions on archive pages, props drewstrojny. Closes #21255.
git-svn-id: http://core.svn.wordpress.org/trunk@21397 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-08-01 17:38:00 +00:00
lancewillett dcde226134 Twenty Twelve: change featured post banner and comment author callout to look less like buttons. Props chriswallace and drewstrojny, fixes #21384.
git-svn-id: http://core.svn.wordpress.org/trunk@21396 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-08-01 17:34:31 +00:00
nacin c52291165e Revert parameter changes in [21394] as these are unnecessary.
Our plugin API always passes the requested number arguments to a callback,
even if previous callbacks asked for less arguments than later callbacks.

see #21264.



git-svn-id: http://core.svn.wordpress.org/trunk@21395 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-08-01 17:03:29 +00:00
lancewillett 8e8c62cc9c Twenty Twelve: better comment block for twentytwelve_wp_title() and set passed arguments to empty strings for compatibility with plugins or child themes that might override wp_title() before this filter runs.
See #21264.


git-svn-id: http://core.svn.wordpress.org/trunk@21394 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-08-01 16:45:12 +00:00
lancewillett 51563cf8ff Twenty Twelve: add CSS rule for threaded comments. Fixes #21405.
git-svn-id: http://core.svn.wordpress.org/trunk@21393 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-08-01 16:08:47 +00:00
lancewillett 87cc5cd6c9 Twenty Twelve: add print styles to stylesheet, first pass props obenland. See #21377.
git-svn-id: http://core.svn.wordpress.org/trunk@21392 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-08-01 15:47:02 +00:00
lancewillett c899eae2ae Twenty Twelve: use is_ssl() to load the correct protocol for Google font CSS file. Fixes #21399, props obenland.
git-svn-id: http://core.svn.wordpress.org/trunk@21391 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-08-01 15:36:44 +00:00
lancewillett 5c5a3522ca Twenty Twelve: add editor stylesheet, first pass props obenland. See #21376.
RTL version and tweaks to come after more testing.


git-svn-id: http://core.svn.wordpress.org/trunk@21389 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-08-01 15:28:50 +00:00
lancewillett 7f29970ebd Twenty Twelve: update comment header in html5 JS file.
Related to #20640.


git-svn-id: http://core.svn.wordpress.org/trunk@21388 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-08-01 15:06:24 +00:00
lancewillett 4768331a77 Twenty Twelve: improve definition term layout a bit, use line-height instead of bottom margin. Fixes #21259.
git-svn-id: http://core.svn.wordpress.org/trunk@21372 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-07-30 20:06:26 +00:00
lancewillett afef3dd01d Twenty Twelve: fix typo for comment-content container showing incorrect class value, props obenland. Closes #21242.
git-svn-id: http://core.svn.wordpress.org/trunk@21371 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-07-30 19:56:35 +00:00
lancewillett 8c15bd54ac Twenty Twelve: squeeze 1.47% more size savings by compressing screenshot again.
git-svn-id: http://core.svn.wordpress.org/trunk@21370 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-07-30 19:51:43 +00:00
lancewillett ba2fe5b89a Twenty Twelve: fix typo, s/#entry-meta/.entry-meta/ props zeo. Closes #21418.
git-svn-id: http://core.svn.wordpress.org/trunk@21369 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-07-30 19:48:43 +00:00
lancewillett 9f5310274b Twenty Twelve: enable async body class value changes for custom background color changes in Theme Customizer. See #21226.
git-svn-id: http://core.svn.wordpress.org/trunk@21343 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-07-25 19:42:55 +00:00
lancewillett 080992c54b Twenty Twelve: improve table styles, props sennza and drewstrojny. Fixes #21261.
git-svn-id: http://core.svn.wordpress.org/trunk@21342 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-07-25 19:15:55 +00:00
lancewillett edc8dd9f0b Twenty Twelve: new screenshot, props drewstrojny. Fixes #21227.
git-svn-id: http://core.svn.wordpress.org/trunk@21341 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-07-25 19:09:46 +00:00
lancewillett fe813cf573 Twenty Twelve: update pre element styles, props senzza and drewstrojny. Fixes #21263.
git-svn-id: http://core.svn.wordpress.org/trunk@21340 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-07-25 19:03:39 +00:00
lancewillett a0dabb5b6c Twenty Twelve: give address element a little more line-height, props sennza and drewstrojny. Fixes #21262.
git-svn-id: http://core.svn.wordpress.org/trunk@21338 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-07-25 18:58:04 +00:00
lancewillett 3fcb5b1764 Twenty Twelve: adjust styles for definition lists, props sennza and drewstrojny. Fixes #21259.
git-svn-id: http://core.svn.wordpress.org/trunk@21337 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-07-25 18:55:33 +00:00
lancewillett d9a33b924f Twenty Twelve: CSS cleanup for clearing float method. Use `overflow: hidden;` and leave the other method intact in `.clear` rule so child themes can use it if needed. See #21381.
git-svn-id: http://core.svn.wordpress.org/trunk@21336 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-07-25 18:44:37 +00:00
lancewillett 8313567c35 Twenty Twelve: CSS cleanup for old prefixes. See #21381.
git-svn-id: http://core.svn.wordpress.org/trunk@21334 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-07-25 18:13:41 +00:00
lancewillett f6b8c4779a Twenty Twelve: tag and category descriptions should not be part of h1 element. Props obenland, see #21255.
git-svn-id: http://core.svn.wordpress.org/trunk@21331 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-07-25 17:55:50 +00:00
lancewillett 8b283073d0 Twenty Twelve: remove unneeded filter (props nacin) and fix up PHP comment blocks in custom-header.php file for s/@package/@since/ on individual functions. See #21231.
git-svn-id: http://core.svn.wordpress.org/trunk@21329 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-07-25 17:30:19 +00:00
lancewillett cb4f0bf507 Twenty Twelve: remove back compat for custom header image, installs prior to 3.4 will not see it as an option. Props obenland, closes #21231.
git-svn-id: http://core.svn.wordpress.org/trunk@21328 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-07-25 17:12:40 +00:00
lancewillett 80a592d548 Twenty Twelve: remove duplicate RSS feed title from wp_title output, props SergeyBiryukov. Closes #21233.
git-svn-id: http://core.svn.wordpress.org/trunk@21327 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-07-25 16:51:23 +00:00
lancewillett d7ba9b6944 Twenty Twelve: add explanatory notes to top of style.css for the use of rem and pixel units for font-size and line-height values, props drewstrojny. See #21379.
git-svn-id: http://core.svn.wordpress.org/trunk@21326 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-07-25 16:46:21 +00:00
lancewillett f42eabe82b Twenty Twelve: set gray background as default, handling empty and white as fallback cases. See #21226.
Also fix incorrect logic for full-width-page.php page template check in `twentytwelve_body_class` function.


git-svn-id: http://core.svn.wordpress.org/trunk@21325 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-07-25 16:28:50 +00:00
lancewillett d74e83ec52 Twenty Twelve: update theme options file to use PHP5 constructor and visibility keywords, and also minor DocBlock cleanup. Props Mamaduka and obenland, closes #21297.
git-svn-id: http://core.svn.wordpress.org/trunk@21280 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-07-18 18:41:17 +00:00
lancewillett 9582854122 Twenty Twelve: Update full-width handling with a missing CSS selector, and add case of no sidebar to the content_width calculation. Props obenland, fixes #21254.
git-svn-id: http://core.svn.wordpress.org/trunk@21279 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-07-18 18:13:49 +00:00
lancewillett adb3791ab8 Twenty Twelve: minor comment text fix, props griffinjt. Closes #21291.
git-svn-id: http://core.svn.wordpress.org/trunk@21278 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-07-18 18:06:18 +00:00
lancewillett b3a3ab5977 Twenty Twelve: add styles for common HTML elements in comment content, and also style up password protected form. Props drewstrojny, fixes #21242.
git-svn-id: http://core.svn.wordpress.org/trunk@21277 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-07-18 18:03:38 +00:00
lancewillett 0e8c8fb1e3 Twenty Twelve: make title truly pluggable by moving output from header.php to a function. Props obenland, fixes #21233.
git-svn-id: http://core.svn.wordpress.org/trunk@21276 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-07-18 17:07:15 +00:00
lancewillett a7221773c5 Twenty Twelve: proper namespace for two script/style handles in functions.php, props obenland. Fixes #21230.
git-svn-id: http://core.svn.wordpress.org/trunk@21275 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-07-18 16:26:40 +00:00
lancewillett bba762d76c Twenty Twelve: remove tag_description and category_description filters from archive template in favor of core filters. Fixes #21230.
git-svn-id: http://core.svn.wordpress.org/trunk@21268 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-07-13 00:36:27 +00:00
lancewillett 85f7094ce6 Twenty Twelve: change content_width variable to the correct value, matching the width of the main content container. Fixes #21248.
git-svn-id: http://core.svn.wordpress.org/trunk@21267 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-07-13 00:27:29 +00:00
lancewillett ff55b09c92 Twenty Twelve: update search title styling to be consistent with archive title styling. Fixes #21239, props saltcod.
git-svn-id: http://core.svn.wordpress.org/trunk@21265 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-07-13 00:17:05 +00:00
lancewillett bf1f57085e Twenty Twelve: improve screen-reader-text handling (aka assistive-text) to use text hiding technique more friendly for RTL.
Also remove a duplicate CSS declaration as the same selector exists below in the file.


git-svn-id: http://core.svn.wordpress.org/trunk@21264 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-07-13 00:08:52 +00:00
lancewillett fde992b32f Twenty Twelve: show sticky badge only on non-paged home view. Fixes #21238, props DrewAPicture and obenland.
git-svn-id: http://core.svn.wordpress.org/trunk@21263 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-07-12 23:53:27 +00:00
lancewillett f7cf67d3f0 Twenty Twelve: fix @package documentation, props obenland. Fixes #21232.
git-svn-id: http://core.svn.wordpress.org/trunk@21262 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-07-12 23:28:33 +00:00
nacin 741876a148 The Twenty Twelve for WordPress.
props drewstrojny, lancewillett.

also props corvannoorloos, jeffsebring, kobenland, iandstewart, mfields,
mtdesign, op12no2, philiparthurmoore, sixhours, mamaduka.

see #19978.



git-svn-id: http://core.svn.wordpress.org/trunk@21261 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-07-12 04:20:46 +00:00
nacin edb6c96b9f Remove Twenty Twelve from 3.4. see #19978. see http://wp.me/pbNCB-yA.
git-svn-id: http://svn.automattic.com/wordpress/trunk@20219 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-03-20 18:41:54 +00:00
lancewillett e3813d7b68 Twenty Twelve: make proper use of the cached jQuery collection in navigation.js, props mattwiebe. Fixes #20131.
git-svn-id: http://svn.automattic.com/wordpress/trunk@20017 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-02-28 19:17:04 +00:00
potbot bda5b1f83f POT, generated from r20011
git-svn-id: http://svn.automattic.com/wordpress/trunk@20012 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-02-28 06:18:04 +00:00
lancewillett 5750c6d41b Twenty Twelve: remove an unneeded, presentational class value, see #19978.
git-svn-id: http://svn.automattic.com/wordpress/trunk@20011 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-02-28 05:28:08 +00:00
lancewillett 240242aa06 Twenty Twelve: better comment markup and styles, props drewstrojny. See #19978.
git-svn-id: http://svn.automattic.com/wordpress/trunk@20010 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-02-28 05:24:57 +00:00
lancewillett 146e6e6b8a Twenty Twelve: correctly enqueue the fonts CSS file, see #19978.
git-svn-id: http://svn.automattic.com/wordpress/trunk@20009 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-02-28 05:19:50 +00:00
potbot 4edc515677 POT, generated from r20007
git-svn-id: http://svn.automattic.com/wordpress/trunk@20008 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-02-28 04:17:41 +00:00
lancewillett a044beab6a Twenty Twelve: add support for toggling the navigation menu in small screens. See #19978.
Triggered when a viewport is under 600 pixels wide. This functionality depends on JS being enabled, and will naturally fall back to a normal, expanded menu for a client without JS.

Props iandstewart for the original JS file and concept.


git-svn-id: http://svn.automattic.com/wordpress/trunk@20007 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-02-28 03:59:47 +00:00
lancewillett 9a4874ec7a Twenty Twelve: better "no posts found" message and action for index view. If a logged-in user can edit posts, show an appropriate message. Otherwise, show the normal "no posts found" message. See #19978.
git-svn-id: http://svn.automattic.com/wordpress/trunk@20006 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-02-28 03:48:34 +00:00
potbot fb5a582539 POT, generated from r20003
git-svn-id: http://svn.automattic.com/wordpress/trunk@20005 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-02-28 03:17:50 +00:00
lancewillett 9f74f12084 Twenty Twelve: remove test lines from r20003
git-svn-id: http://svn.automattic.com/wordpress/trunk@20004 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-02-28 03:14:00 +00:00
lancewillett 9a3c274cb9 Twenty Twelve: use the time element for image attachment views, and `esc_html()` for `get_the_date()` in the element's output. Props iandstewart, see #19978.
git-svn-id: http://svn.automattic.com/wordpress/trunk@20003 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-02-28 03:10:53 +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
potbot 8fee574c32 POT, generated from r19963
git-svn-id: http://svn.automattic.com/wordpress/trunk@19964 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-02-21 15:18:15 +00:00
nacin 62afe6a915 Revert [19959]. The footer generator URL should be translated (think pt.wordpress.org). see #19978.
git-svn-id: http://svn.automattic.com/wordpress/trunk@19963 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-02-21 14:49:38 +00:00
potbot fa9a91f134 POT, generated from r19961
git-svn-id: http://svn.automattic.com/wordpress/trunk@19962 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-02-21 07:18:03 +00:00
lancewillett 83c7b1ef00 Twenty Twelve: no need for threaded comment reply JS to load if comments are closed. Props iandstewart, see #19978.
git-svn-id: http://svn.automattic.com/wordpress/trunk@19961 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-02-21 06:41:20 +00:00
lancewillett 02ea26c01f Twenty Twelve: add ARIA role of "navigation" to the all nav elements. Props iandstewart, see #19978.
git-svn-id: http://svn.automattic.com/wordpress/trunk@19960 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-02-21 06:34:36 +00:00
lancewillett a78b34752a Twenty Twelve: no need to translate the footer generator URL. See #19978.
git-svn-id: http://svn.automattic.com/wordpress/trunk@19959 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-02-21 06:24:49 +00:00
lancewillett 285fd9bc55 Twenty Twelve style updates, props drewstrojny. See #19978.
And, use a simpler and more consistent `site-header` class value. Props iandstewart.


git-svn-id: http://svn.automattic.com/wordpress/trunk@19958 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-02-21 06:14:51 +00:00