Commit Graph

929 Commits

Author SHA1 Message Date
Lance Willett 6d9357444c Twenty Twelve: enable async body class value changes for custom background color changes in Theme Customizer. See #21226.
git-svn-id: https://develop.svn.wordpress.org/trunk@21343 602fd350-edb4-49c9-b593-d223f7449a82
2012-07-25 19:42:55 +00:00
Lance Willett 280d1d249c Twenty Twelve: improve table styles, props sennza and drewstrojny. Fixes #21261.
git-svn-id: https://develop.svn.wordpress.org/trunk@21342 602fd350-edb4-49c9-b593-d223f7449a82
2012-07-25 19:15:55 +00:00
Lance Willett 752f63847b Twenty Twelve: new screenshot, props drewstrojny. Fixes #21227.
git-svn-id: https://develop.svn.wordpress.org/trunk@21341 602fd350-edb4-49c9-b593-d223f7449a82
2012-07-25 19:09:46 +00:00
Lance Willett 1510f1b7c8 Twenty Twelve: update pre element styles, props senzza and drewstrojny. Fixes #21263.
git-svn-id: https://develop.svn.wordpress.org/trunk@21340 602fd350-edb4-49c9-b593-d223f7449a82
2012-07-25 19:03:39 +00:00
Lance Willett 89c8ce5277 Twenty Twelve: give address element a little more line-height, props sennza and drewstrojny. Fixes #21262.
git-svn-id: https://develop.svn.wordpress.org/trunk@21338 602fd350-edb4-49c9-b593-d223f7449a82
2012-07-25 18:58:04 +00:00
Lance Willett 000f94a4ff Twenty Twelve: adjust styles for definition lists, props sennza and drewstrojny. Fixes #21259.
git-svn-id: https://develop.svn.wordpress.org/trunk@21337 602fd350-edb4-49c9-b593-d223f7449a82
2012-07-25 18:55:33 +00:00
Lance Willett 83c5befaae 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: https://develop.svn.wordpress.org/trunk@21336 602fd350-edb4-49c9-b593-d223f7449a82
2012-07-25 18:44:37 +00:00
Lance Willett 27cd96d425 Twenty Twelve: CSS cleanup for old prefixes. See #21381.
git-svn-id: https://develop.svn.wordpress.org/trunk@21334 602fd350-edb4-49c9-b593-d223f7449a82
2012-07-25 18:13:41 +00:00
Lance Willett bb8a5b69ca Twenty Twelve: tag and category descriptions should not be part of h1 element. Props obenland, see #21255.
git-svn-id: https://develop.svn.wordpress.org/trunk@21331 602fd350-edb4-49c9-b593-d223f7449a82
2012-07-25 17:55:50 +00:00
Lance Willett fba8941581 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: https://develop.svn.wordpress.org/trunk@21329 602fd350-edb4-49c9-b593-d223f7449a82
2012-07-25 17:30:19 +00:00
Lance Willett 92c83f843f 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: https://develop.svn.wordpress.org/trunk@21328 602fd350-edb4-49c9-b593-d223f7449a82
2012-07-25 17:12:40 +00:00
Lance Willett 8b2b91941a Twenty Twelve: remove duplicate RSS feed title from wp_title output, props SergeyBiryukov. Closes #21233.
git-svn-id: https://develop.svn.wordpress.org/trunk@21327 602fd350-edb4-49c9-b593-d223f7449a82
2012-07-25 16:51:23 +00:00
Lance Willett 7d67ab54df 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: https://develop.svn.wordpress.org/trunk@21326 602fd350-edb4-49c9-b593-d223f7449a82
2012-07-25 16:46:21 +00:00
Lance Willett cabf107b65 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: https://develop.svn.wordpress.org/trunk@21325 602fd350-edb4-49c9-b593-d223f7449a82
2012-07-25 16:28:50 +00:00
Lance Willett 4fb5c2778f 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: https://develop.svn.wordpress.org/trunk@21280 602fd350-edb4-49c9-b593-d223f7449a82
2012-07-18 18:41:17 +00:00
Lance Willett 8dc9cd8698 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: https://develop.svn.wordpress.org/trunk@21279 602fd350-edb4-49c9-b593-d223f7449a82
2012-07-18 18:13:49 +00:00
Lance Willett 4686ae30de Twenty Twelve: minor comment text fix, props griffinjt. Closes #21291.
git-svn-id: https://develop.svn.wordpress.org/trunk@21278 602fd350-edb4-49c9-b593-d223f7449a82
2012-07-18 18:06:18 +00:00
Lance Willett 1a52aad25f 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: https://develop.svn.wordpress.org/trunk@21277 602fd350-edb4-49c9-b593-d223f7449a82
2012-07-18 18:03:38 +00:00
Lance Willett 03eca08891 Twenty Twelve: make title truly pluggable by moving output from header.php to a function. Props obenland, fixes #21233.
git-svn-id: https://develop.svn.wordpress.org/trunk@21276 602fd350-edb4-49c9-b593-d223f7449a82
2012-07-18 17:07:15 +00:00
Lance Willett 5c27dfc67c Twenty Twelve: proper namespace for two script/style handles in functions.php, props obenland. Fixes #21230.
git-svn-id: https://develop.svn.wordpress.org/trunk@21275 602fd350-edb4-49c9-b593-d223f7449a82
2012-07-18 16:26:40 +00:00
Lance Willett b21d21dc52 Twenty Twelve: remove tag_description and category_description filters from archive template in favor of core filters. Fixes #21230.
git-svn-id: https://develop.svn.wordpress.org/trunk@21268 602fd350-edb4-49c9-b593-d223f7449a82
2012-07-13 00:36:27 +00:00
Lance Willett 2934b3d7b0 Twenty Twelve: change content_width variable to the correct value, matching the width of the main content container. Fixes #21248.
git-svn-id: https://develop.svn.wordpress.org/trunk@21267 602fd350-edb4-49c9-b593-d223f7449a82
2012-07-13 00:27:29 +00:00
Lance Willett 94eb96e85a Twenty Twelve: update search title styling to be consistent with archive title styling. Fixes #21239, props saltcod.
git-svn-id: https://develop.svn.wordpress.org/trunk@21265 602fd350-edb4-49c9-b593-d223f7449a82
2012-07-13 00:17:05 +00:00
Lance Willett 5ab1806b37 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: https://develop.svn.wordpress.org/trunk@21264 602fd350-edb4-49c9-b593-d223f7449a82
2012-07-13 00:08:52 +00:00
Lance Willett 09635ed0cb Twenty Twelve: show sticky badge only on non-paged home view. Fixes #21238, props DrewAPicture and obenland.
git-svn-id: https://develop.svn.wordpress.org/trunk@21263 602fd350-edb4-49c9-b593-d223f7449a82
2012-07-12 23:53:27 +00:00
Lance Willett 008b1d5810 Twenty Twelve: fix @package documentation, props obenland. Fixes #21232.
git-svn-id: https://develop.svn.wordpress.org/trunk@21262 602fd350-edb4-49c9-b593-d223f7449a82
2012-07-12 23:28:33 +00:00
Andrew Nacin 4cc47e2034 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: https://develop.svn.wordpress.org/trunk@21261 602fd350-edb4-49c9-b593-d223f7449a82
2012-07-12 04:20:46 +00:00
Mark Jaquith 4c7b196b6d Remove an errant 1 pixel border below the header image in Twenty Eleven. props alexvorn2. props SergeyBiryukov. fixes #21057
git-svn-id: https://develop.svn.wordpress.org/trunk@21243 602fd350-edb4-49c9-b593-d223f7449a82
2012-07-09 05:13:50 +00:00
potbot 9d6698e9a6 POT, generated from r21043
git-svn-id: https://develop.svn.wordpress.org/trunk@21045 602fd350-edb4-49c9-b593-d223f7449a82
2012-06-10 15:18:15 +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 f136fa9c99 POT, generated from r20985
git-svn-id: https://develop.svn.wordpress.org/trunk@20987 602fd350-edb4-49c9-b593-d223f7449a82
2012-06-04 15:18:22 +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 4aec27c666 POT, generated from r20974
git-svn-id: https://develop.svn.wordpress.org/trunk@20976 602fd350-edb4-49c9-b593-d223f7449a82
2012-06-01 21:18:16 +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
Daryl Koopersmith 771ca21787 Theme Customizer: Ensure that JS color controls always use real color values, even if the server-side value is a hex value without a hash. fixes #20448, see #19910.
Adds WP_Customize_Setting->sanitize_js_callback and 'customize_sanitize_js_$settingID' filter, to filter values before they're passed to JS using WP_Customize_Setting->js_value().

Adds support for regular hex colors to the color picker.

Changes color methods:
* sanitize_hex_color() accepts 3 and 6 digit hex colors (with hashes) and the empty string.
* sanitize_hex_color_no_hash() accepts 3 and 6 digit hex colors (without hashes) and the empty string.
* maybe_hash_hex_color() ensures that a hex color has a hash, and otherwise leaves the value untouched.


git-svn-id: https://develop.svn.wordpress.org/trunk@20936 602fd350-edb4-49c9-b593-d223f7449a82
2012-05-26 18:44:31 +00:00
potbot c4822affc0 POT, generated from r20916
git-svn-id: https://develop.svn.wordpress.org/trunk@20917 602fd350-edb4-49c9-b593-d223f7449a82
2012-05-25 22:18:18 +00:00
Daryl Koopersmith 16aaa01c48 Twenty Eleven theme customizer integration. props lancewillett, Otto42. fixes #20448, see #19910.
git-svn-id: https://develop.svn.wordpress.org/trunk@20916 602fd350-edb4-49c9-b593-d223f7449a82
2012-05-25 21:50:01 +00:00
Andrew Nacin 11e40f1643 Twenty Eleven: Remove unused CSS. props SergeyBiryukov. fixes #20470.
git-svn-id: https://develop.svn.wordpress.org/trunk@20907 602fd350-edb4-49c9-b593-d223f7449a82
2012-05-25 18:29:05 +00:00
Andrew Nacin 631413d39a Twenty Eleven: Style the samp and var elements the same way we style the code and kbd elements. props mfields, fixes #17842.
git-svn-id: https://develop.svn.wordpress.org/trunk@20906 602fd350-edb4-49c9-b593-d223f7449a82
2012-05-25 18:22:31 +00:00
Andrew Nacin 26b2c0d693 Twenty Eleven: Add whitespace to paragraphs in the image post format. props mfields, fixes #20471.
git-svn-id: https://develop.svn.wordpress.org/trunk@20905 602fd350-edb4-49c9-b593-d223f7449a82
2012-05-25 18:16:42 +00:00
Andrew Nacin e9e1eae451 Twenty Eleven: Remove border and padding from images in the image widget. props lancewillett, fixes #20482.
git-svn-id: https://develop.svn.wordpress.org/trunk@20904 602fd350-edb4-49c9-b593-d223f7449a82
2012-05-25 18:16:01 +00:00
Andrew Nacin 49552d6887 Twenty Eleven: Correct the display of featured images in the showcase template for IE8. props chellycat. fixes #20479.
git-svn-id: https://develop.svn.wordpress.org/trunk@20903 602fd350-edb4-49c9-b593-d223f7449a82
2012-05-25 18:14:44 +00:00
Andrew Nacin 7b01e30d39 Twenty Eleven: pull classes shouldn't force a width on all elements (like images). props matveb. fixes #20485.
git-svn-id: https://develop.svn.wordpress.org/trunk@20881 602fd350-edb4-49c9-b593-d223f7449a82
2012-05-24 18:05:36 +00:00
potbot e4768db2b7 POT, generated from r20875
git-svn-id: https://develop.svn.wordpress.org/trunk@20876 602fd350-edb4-49c9-b593-d223f7449a82
2012-05-24 08:18:26 +00:00
Mark Jaquith f7239248cb Remove some dead add_option() code in Twenty Eleven. props Mamaduka, emhr. fixes #19743
git-svn-id: https://develop.svn.wordpress.org/trunk@20875 602fd350-edb4-49c9-b593-d223f7449a82
2012-05-24 07:38:13 +00:00
Mark Jaquith d67d542226 Fix orphaned arrow on Twenty Eleven's paged post navigation. props mfields. fixes #19526
git-svn-id: https://develop.svn.wordpress.org/trunk@20870 602fd350-edb4-49c9-b593-d223f7449a82
2012-05-24 07:04:34 +00:00