Commit Graph

150 Commits

Author SHA1 Message Date
Lance Willett
e28400718b 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: https://develop.svn.wordpress.org/trunk@21623 602fd350-edb4-49c9-b593-d223f7449a82
2012-08-25 17:51:21 +00:00
Lance Willett
2f03315495 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: https://develop.svn.wordpress.org/trunk@21622 602fd350-edb4-49c9-b593-d223f7449a82
2012-08-25 17:47:34 +00:00
Lance Willett
4e6d018d53 Twenty Twelve: comments.php, cleanup and better indentation. Props obenland, see #21685.
git-svn-id: https://develop.svn.wordpress.org/trunk@21621 602fd350-edb4-49c9-b593-d223f7449a82
2012-08-25 17:41:32 +00:00
Lance Willett
762134e6f6 Twenty Twelve: consistently call sidebar areas with just the ID value, props obenland. See #21685.
git-svn-id: https://develop.svn.wordpress.org/trunk@21620 602fd350-edb4-49c9-b593-d223f7449a82
2012-08-25 17:32:06 +00:00
potbot
05160bb1dc POT, generated from r21617
git-svn-id: https://develop.svn.wordpress.org/trunk@21619 602fd350-edb4-49c9-b593-d223f7449a82
2012-08-25 17:18:53 +00:00
Lance Willett
b35b668041 Twenty Twelve: review and clean up end-of-element HTML comments. Props obenland for starter patch. Closes #21675.
git-svn-id: https://develop.svn.wordpress.org/trunk@21618 602fd350-edb4-49c9-b593-d223f7449a82
2012-08-25 17:16:56 +00:00
Lance Willett
9cbecf7a84 Twenty Twelve: review and clarify code commenting and documentation. Props jorbin and obenland. See #21675.
git-svn-id: https://develop.svn.wordpress.org/trunk@21617 602fd350-edb4-49c9-b593-d223f7449a82
2012-08-25 16:53:32 +00:00
Lance Willett
e86e4fae4b Twenty Twelve: spaces to tabs in navigation.js, props obenland. See #21685.
git-svn-id: https://develop.svn.wordpress.org/trunk@21616 602fd350-edb4-49c9-b593-d223f7449a82
2012-08-25 16:50:05 +00:00
potbot
351fa9cdea POT, generated from r21613
git-svn-id: https://develop.svn.wordpress.org/trunk@21614 602fd350-edb4-49c9-b593-d223f7449a82
2012-08-25 00:19:05 +00:00
Lance Willett
29252a0121 Twenty Twelve: bump theme version to .9
git-svn-id: https://develop.svn.wordpress.org/trunk@21613 602fd350-edb4-49c9-b593-d223f7449a82
2012-08-24 23:41:25 +00:00
Lance Willett
ed2c34c971 Twenty Twelve: remove typo in r21611. No 13 fo' you.
git-svn-id: https://develop.svn.wordpress.org/trunk@21612 602fd350-edb4-49c9-b593-d223f7449a82
2012-08-24 21:08:35 +00:00
Lance Willett
6255e979f8 Twenty Twelve: rework navigation to remove need for jQuery and support wp_page_menu markup better. Fixes #21562.
git-svn-id: https://develop.svn.wordpress.org/trunk@21611 602fd350-edb4-49c9-b593-d223f7449a82
2012-08-24 21:07:19 +00:00
Lance Willett
ad6704a632 Twenty Twelve: remove matchMedia JS polyfill now that older browsers are getting mobile-first navigation styles. Props Jayjdk, see #21562.
git-svn-id: https://develop.svn.wordpress.org/trunk@21603 602fd350-edb4-49c9-b593-d223f7449a82
2012-08-23 23:39:57 +00:00
potbot
2578ecfabd POT, generated from r21600
git-svn-id: https://develop.svn.wordpress.org/trunk@21602 602fd350-edb4-49c9-b593-d223f7449a82
2012-08-23 21:18:27 +00:00
Lance Willett
326d6db1ed Twenty Twelve: include links to source code for html5 shiv and matchmedia polyfil, props jorbin. Fixes #21671.
git-svn-id: https://develop.svn.wordpress.org/trunk@21600 602fd350-edb4-49c9-b593-d223f7449a82
2012-08-23 20:52:07 +00:00
Lance Willett
2b6c43d89b Twenty Twelve: s/Show navigation/Show menu/ in small menu button text, props nacin. See #21562.
git-svn-id: https://develop.svn.wordpress.org/trunk@21573 602fd350-edb4-49c9-b593-d223f7449a82
2012-08-21 17:31:33 +00:00
Lance Willett
89d3a6c1a1 Twenty Twelve: add in missing style.css tag for 'editor-style', see #21376.
git-svn-id: https://develop.svn.wordpress.org/trunk@21566 602fd350-edb4-49c9-b593-d223f7449a82
2012-08-20 22:26:51 +00:00
Lance Willett
81e0beea4c Twenty Twelve: update RTL stylsheet based on recent layout changes, see #21441.
git-svn-id: https://develop.svn.wordpress.org/trunk@21565 602fd350-edb4-49c9-b593-d223f7449a82
2012-08-20 22:11:36 +00:00
Lance Willett
c03b4a21c6 Twenty Twelve: in small menu give sub-menu items a bit of indentation to denote the hierarchy of items. See #21562.
git-svn-id: https://develop.svn.wordpress.org/trunk@21564 602fd350-edb4-49c9-b593-d223f7449a82
2012-08-20 22:10:56 +00:00
Lance Willett
c4e51487e5 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: https://develop.svn.wordpress.org/trunk@21562 602fd350-edb4-49c9-b593-d223f7449a82
2012-08-20 21:44:38 +00:00
Lance Willett
453941f725 Twenty Twelve: better naming for the homepage widget areas, props nacin. See #21619.
git-svn-id: https://develop.svn.wordpress.org/trunk@21558 602fd350-edb4-49c9-b593-d223f7449a82
2012-08-20 19:43:16 +00:00
Lance Willett
35ad2034b2 Twenty Twelve: re-implement the hiding of toggle element when empty menu is present, see #21562 and r21520 props cfinke.
git-svn-id: https://develop.svn.wordpress.org/trunk@21557 602fd350-edb4-49c9-b593-d223f7449a82
2012-08-20 19:14:51 +00:00
Lance Willett
9bdc159632 Twenty Twelve: patch IE7 for clip styles (hidden elements were displaying incorrectly).
git-svn-id: https://develop.svn.wordpress.org/trunk@21556 602fd350-edb4-49c9-b593-d223f7449a82
2012-08-20 19:13:28 +00:00
Lance Willett
1addc8f756 Twenty Twelve: change homepage widget areas to use columns or multiple areas instead of one big area. Fixes #21619, props obenland.
git-svn-id: https://develop.svn.wordpress.org/trunk@21555 602fd350-edb4-49c9-b593-d223f7449a82
2012-08-20 18:45:00 +00:00
Lance Willett
c148784433 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: https://develop.svn.wordpress.org/trunk@21554 602fd350-edb4-49c9-b593-d223f7449a82
2012-08-20 18:35:33 +00:00
Lance Willett
c43e008f54 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: https://develop.svn.wordpress.org/trunk@21543 602fd350-edb4-49c9-b593-d223f7449a82
2012-08-17 22:18:01 +00:00
Lance Willett
0c088e5f37 Twenty Twelve: output dynamic end comment ID value for navigation container (above|below).
git-svn-id: https://develop.svn.wordpress.org/trunk@21542 602fd350-edb4-49c9-b593-d223f7449a82
2012-08-17 21:20:16 +00:00
Lance Willett
d022dec53b Twenty Twelve: minor CSS cleanup for extra trailing selector comma, spacing, and too-specific class selector.
git-svn-id: https://develop.svn.wordpress.org/trunk@21540 602fd350-edb4-49c9-b593-d223f7449a82
2012-08-17 17:23:49 +00:00
Lance Willett
b6c113f135 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: https://develop.svn.wordpress.org/trunk@21533 602fd350-edb4-49c9-b593-d223f7449a82
2012-08-15 22:20:57 +00:00
Lance Willett
8d5d12272d Twenty Twelve: remove initial-scale value from viewport meta element to avoid iOS zoom bug. Props bradthomas127, see #21577.
git-svn-id: https://develop.svn.wordpress.org/trunk@21525 602fd350-edb4-49c9-b593-d223f7449a82
2012-08-15 16:05:13 +00:00
Lance Willett
1ccc08642e Twenty Twelve: s/"/'/ in array notation, props JarretC. Fixes #21587.
git-svn-id: https://develop.svn.wordpress.org/trunk@21524 602fd350-edb4-49c9-b593-d223f7449a82
2012-08-15 15:58:25 +00:00
Lance Willett
c5902bca7b 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: https://develop.svn.wordpress.org/trunk@21520 602fd350-edb4-49c9-b593-d223f7449a82
2012-08-15 05:56:24 +00:00
Lance Willett
b07a12820a Twenty Twelve: stop nav slide animation when clicking the button multiple times in a row. Props Jayjdk, fixes #21531.
git-svn-id: https://develop.svn.wordpress.org/trunk@21519 602fd350-edb4-49c9-b593-d223f7449a82
2012-08-15 05:37:36 +00:00
Lance Willett
77411d483e Twenty Twelve: fix centering of image captions on image attachment view. Fixes #21530.
git-svn-id: https://develop.svn.wordpress.org/trunk@21518 602fd350-edb4-49c9-b593-d223f7449a82
2012-08-15 05:30:36 +00:00
Lance Willett
8b7561bee8 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: https://develop.svn.wordpress.org/trunk@21517 602fd350-edb4-49c9-b593-d223f7449a82
2012-08-15 05:25:40 +00:00
Lance Willett
64746c8d75 Twenty Twelve: move IE8 styles to specific IE selector, props obenland. Closes #21440.
git-svn-id: https://develop.svn.wordpress.org/trunk@21516 602fd350-edb4-49c9-b593-d223f7449a82
2012-08-15 05:08:07 +00:00
Lance Willett
2e2fd01f5d Twenty Twelve: editor RTL style fixes props yoavf, see #21441.
git-svn-id: https://develop.svn.wordpress.org/trunk@21515 602fd350-edb4-49c9-b593-d223f7449a82
2012-08-15 05:03:21 +00:00
Lance Willett
680b671330 Twenty Twelve: pinking shears for header.php
git-svn-id: https://develop.svn.wordpress.org/trunk@21492 602fd350-edb4-49c9-b593-d223f7449a82
2012-08-09 18:42:36 +00:00
Lance Willett
ced74a6194 Twenty Twelve: make twentytwelve_is_categorized_site() pluggable, see #21479.
git-svn-id: https://develop.svn.wordpress.org/trunk@21489 602fd350-edb4-49c9-b593-d223f7449a82
2012-08-09 18:20:25 +00:00
Lance Willett
bad4cefc68 Twenty Twelve: fix bypostauthor styling, probs obenland and SergeyBiryukov (also improves the RTL layout, see #21441).
git-svn-id: https://develop.svn.wordpress.org/trunk@21483 602fd350-edb4-49c9-b593-d223f7449a82
2012-08-08 19:10:22 +00:00
Lance Willett
05f72b8149 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: https://develop.svn.wordpress.org/trunk@21482 602fd350-edb4-49c9-b593-d223f7449a82
2012-08-08 18:03:59 +00:00
Lance Willett
8d8b4214c5 Twenty Twelve: cleanup up extra space in functions.php
git-svn-id: https://develop.svn.wordpress.org/trunk@21479 602fd350-edb4-49c9-b593-d223f7449a82
2012-08-08 16:59:15 +00:00
Lance Willett
da5b33b5a5 Twenty Twelve: better gallery columns support, and CSS cleanup. Closes #21475, props philiparthurmoore and pdclark.
git-svn-id: https://develop.svn.wordpress.org/trunk@21478 602fd350-edb4-49c9-b593-d223f7449a82
2012-08-08 16:38:21 +00:00
Lance Willett
24fda2c796 Twenty Twelve: fix for long words getting hidden in widgets. Props DrewAPicture, closes #21503.
git-svn-id: https://develop.svn.wordpress.org/trunk@21477 602fd350-edb4-49c9-b593-d223f7449a82
2012-08-08 16:21:14 +00:00
Lance Willett
bf2fe5d976 Twenty Twelve: make nav toggle button same height as other buttons.
git-svn-id: https://develop.svn.wordpress.org/trunk@21476 602fd350-edb4-49c9-b593-d223f7449a82
2012-08-08 16:14:36 +00:00
Lance Willett
fb349e634a Twenty Twelve: add polyfill JS for matchMedia rules, avoids JS error in older IE versions. See #21440.
git-svn-id: https://develop.svn.wordpress.org/trunk@21475 602fd350-edb4-49c9-b593-d223f7449a82
2012-08-08 16:13:32 +00:00
Lance Willett
c0784c5fc5 Twenty Twelve: update author archive markup and styles, props klagraff. Fixes #21494.
git-svn-id: https://develop.svn.wordpress.org/trunk@21464 602fd350-edb4-49c9-b593-d223f7449a82
2012-08-06 21:05:02 +00:00
Lance Willett
09aa0a56b8 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: https://develop.svn.wordpress.org/trunk@21462 602fd350-edb4-49c9-b593-d223f7449a82
2012-08-06 20:48:47 +00:00
Lance Willett
8250390852 Twenty Twelve: fix searchform styling issues and simplify selectors even more. Fixes #21478, props hd-J and jkudish.
git-svn-id: https://develop.svn.wordpress.org/trunk@21451 602fd350-edb4-49c9-b593-d223f7449a82
2012-08-06 00:30:52 +00:00
Lance Willett
bca0288810 Twenty Twelve: generalize form styles so plugins that insert things like contact forms will fit in. Props ryanimel, see #21477.
git-svn-id: https://develop.svn.wordpress.org/trunk@21450 602fd350-edb4-49c9-b593-d223f7449a82
2012-08-06 00:19:29 +00:00