Commit Graph

962 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
potbot 9826917f39 POT, generated from r21605
git-svn-id: https://develop.svn.wordpress.org/trunk@21607 602fd350-edb4-49c9-b593-d223f7449a82
2012-08-24 16:18:56 +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
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
potbot e731297f92 POT, generated from r21492
git-svn-id: https://develop.svn.wordpress.org/trunk@21494 602fd350-edb4-49c9-b593-d223f7449a82
2012-08-09 19:22:41 +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 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 e41b7dcf5a Twenty Eleven: allow content-single.php to be overridden for post formats, props murky. Closes #17996.
git-svn-id: https://develop.svn.wordpress.org/trunk@21491 602fd350-edb4-49c9-b593-d223f7449a82
2012-08-09 18:31:02 +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 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 7b11f93275 Twenty Eleven: fix gallery thumbnail image overflow, props chellycat. Fixes #20478.
git-svn-id: https://develop.svn.wordpress.org/trunk@21488 602fd350-edb4-49c9-b593-d223f7449a82
2012-08-09 17:58:56 +00:00
Lance Willett 38ccc90afc Twenty Eleven: fix long URLs in comments overflow content area, fixes #21491. Props SergeyBiryukov jkudish andrewspittle.
Also minor pinking shears in stylesheet and functions file.


git-svn-id: https://develop.svn.wordpress.org/trunk@21487 602fd350-edb4-49c9-b593-d223f7449a82
2012-08-09 17:32:39 +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
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