Commit Graph

922 Commits

Author SHA1 Message Date
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 409214d1be Twenty Eleven: update html5 shiv to 3.6 stable version. Props ocean90, fixes #20640.
git-svn-id: http://core.svn.wordpress.org/trunk@21390 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-08-01 15:31:36 +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 1f592e5cef Twenty Eleven: fix typo, s/#entry-meta/.entry-meta/ props zeo. See #21418.
git-svn-id: http://core.svn.wordpress.org/trunk@21368 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-07-30 19:45:58 +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
markjaquith 364763adfe Remove an errant 1 pixel border below the header image in Twenty Eleven. props alexvorn2. props SergeyBiryukov. fixes #21057
git-svn-id: http://core.svn.wordpress.org/trunk@21243 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-07-09 05:13:50 +00:00
potbot bb232d0221 POT, generated from r21043
git-svn-id: http://core.svn.wordpress.org/trunk@21045 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-06-10 15:18:15 +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 bb905a7899 POT, generated from r20985
git-svn-id: http://core.svn.wordpress.org/trunk@20987 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-06-04 15:18:22 +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 ed56952d90 POT, generated from r20974
git-svn-id: http://core.svn.wordpress.org/trunk@20976 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-06-01 21:18:16 +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
koopersmith 0df3218cc2 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: http://core.svn.wordpress.org/trunk@20936 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-05-26 18:44:31 +00:00
potbot a91c11b8a5 POT, generated from r20916
git-svn-id: http://core.svn.wordpress.org/trunk@20917 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-05-25 22:18:18 +00:00
koopersmith 01f8df5b80 Twenty Eleven theme customizer integration. props lancewillett, Otto42. fixes #20448, see #19910.
git-svn-id: http://core.svn.wordpress.org/trunk@20916 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-05-25 21:50:01 +00:00
nacin a236527f4d Twenty Eleven: Remove unused CSS. props SergeyBiryukov. fixes #20470.
git-svn-id: http://core.svn.wordpress.org/trunk@20907 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-05-25 18:29:05 +00:00
nacin e303c609b3 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: http://core.svn.wordpress.org/trunk@20906 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-05-25 18:22:31 +00:00
nacin 78f3a9cbf5 Twenty Eleven: Add whitespace to paragraphs in the image post format. props mfields, fixes #20471.
git-svn-id: http://core.svn.wordpress.org/trunk@20905 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-05-25 18:16:42 +00:00
nacin a9ebdd659b Twenty Eleven: Remove border and padding from images in the image widget. props lancewillett, fixes #20482.
git-svn-id: http://core.svn.wordpress.org/trunk@20904 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-05-25 18:16:01 +00:00
nacin e85049387a Twenty Eleven: Correct the display of featured images in the showcase template for IE8. props chellycat. fixes #20479.
git-svn-id: http://core.svn.wordpress.org/trunk@20903 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-05-25 18:14:44 +00:00
nacin d0eb7ef75e Twenty Eleven: pull classes shouldn't force a width on all elements (like images). props matveb. fixes #20485.
git-svn-id: http://core.svn.wordpress.org/trunk@20881 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-05-24 18:05:36 +00:00
potbot 400c0fdabe POT, generated from r20875
git-svn-id: http://core.svn.wordpress.org/trunk@20876 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-05-24 08:18:26 +00:00
markjaquith 5a1279320a Remove some dead add_option() code in Twenty Eleven. props Mamaduka, emhr. fixes #19743
git-svn-id: http://core.svn.wordpress.org/trunk@20875 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-05-24 07:38:13 +00:00
markjaquith 94dcf629f2 Fix orphaned arrow on Twenty Eleven's paged post navigation. props mfields. fixes #19526
git-svn-id: http://core.svn.wordpress.org/trunk@20870 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-05-24 07:04:34 +00:00
potbot 1ae7ecb2e2 POT, generated from r20510
git-svn-id: http://svn.automattic.com/wordpress/trunk@20511 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-04-18 18:18:06 +00:00
nacin 00ab660e01 Check for wp_get_theme() in Twenty Eleven before using it, for compatibility down to WP 3.2 when Twenty Eleven was first released. see #20103.
git-svn-id: http://svn.automattic.com/wordpress/trunk@20508 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-04-18 17:32:53 +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
potbot b71f614c5e POT, generated from r20471
git-svn-id: http://svn.automattic.com/wordpress/trunk@20472 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-04-15 20:18:07 +00:00
nacin 15cd25406d Twenty Eleven: Remove $locale.php file support. see #20448.
git-svn-id: http://svn.automattic.com/wordpress/trunk@20471 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-04-15 19:53:47 +00:00
nacin 759f103994 Flexible heights for Twenty Eleven's custom headers. see #20448.
git-svn-id: http://svn.automattic.com/wordpress/trunk@20470 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-04-15 19:53:10 +00:00
duck_ 4523ec1333 Fix typo and terminology in Twenty Eleven's header template. Props JarretC. Fixes #20442.
git-svn-id: http://svn.automattic.com/wordpress/trunk@20465 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-04-14 19:02:04 +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 fab76c6333 POT, generated from r20226
git-svn-id: http://svn.automattic.com/wordpress/trunk@20228 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-03-20 22:16:13 +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 cd229781b3 Remove unused variable. see #20265.
git-svn-id: http://svn.automattic.com/wordpress/trunk@20226 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-03-20 21:38:22 +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
potbot 0d68c107ad POT, generated from r20223
git-svn-id: http://svn.automattic.com/wordpress/trunk@20224 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-03-20 21:17:55 +00:00
nacin e708aa28b2 Remove use of HEADER_IMAGE_WIDTH and HEADER_IMAGE_HEIGHT from twentyeleven/header.php. see #20265.
git-svn-id: http://svn.automattic.com/wordpress/trunk@20223 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-03-20 20:46:46 +00:00
nacin 2b4051299e Update twentyeleven/functions.php to use the new add_theme_support() calls for backgrounds and headers. props sabreuse for initial patch. see #20265. see #20249.
git-svn-id: http://svn.automattic.com/wordpress/trunk@20222 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-03-20 20:37:53 +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
nacin bf97881f98 (string) WP_Theme is now the theme name, translated. Good replacement for get_current_theme(); better than wp_get_theme()->display('Name'). see #20103, see #20138.
git-svn-id: http://svn.automattic.com/wordpress/trunk@20039 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-02-29 19:27: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