Commit Graph

287 Commits

Author SHA1 Message Date
Lance Willett 2ad1038e99 Twenty Eleven: in comments template check `get_comments_number()` instead of using `$comments_by_type` for showing a comments closed message. Props kovshenin, see #20469.
git-svn-id: https://develop.svn.wordpress.org/trunk@22616 602fd350-edb4-49c9-b593-d223f7449a82
2012-11-16 21:31:02 +00:00
potbot a5baedb09f POT, generated from r22589
git-svn-id: https://develop.svn.wordpress.org/trunk@22590 602fd350-edb4-49c9-b593-d223f7449a82
2012-11-15 01:19:08 +00:00
Lance Willett 43107f767c Twenty Eleven: better closed comments notes. Check only for "comment" type comments when deciding whether to show the message. Props iandstewart and obenland, closes #20469.
git-svn-id: https://develop.svn.wordpress.org/trunk@22588 602fd350-edb4-49c9-b593-d223f7449a82
2012-11-15 00:48:03 +00:00
potbot c2ce705ec4 POT, generated from r22524
git-svn-id: https://develop.svn.wordpress.org/trunk@22526 602fd350-edb4-49c9-b593-d223f7449a82
2012-11-10 08:18:50 +00:00
Mark Jaquith 504b94b1b3 Use ImageOptim to losslessly smush our images. About half a MB in savings! fixes #22381. props waldojaquith
git-svn-id: https://develop.svn.wordpress.org/trunk@22425 602fd350-edb4-49c9-b593-d223f7449a82
2012-11-07 18:49:10 +00:00
Andrew Nacin 003319cdf6 Proper default background color for Twenty Eleven. props miqrogroove. fixes #22347.
git-svn-id: https://develop.svn.wordpress.org/trunk@22408 602fd350-edb4-49c9-b593-d223f7449a82
2012-11-06 23:14:00 +00:00
Lance Willett 67deebeca5 Bundled Themes: allow `show_home` argument to be overridden when using `wp_page_menu` as a fallback to a Custom Menu. Props SergeyBiryukov and kovshenin, fixes #22331.
git-svn-id: https://develop.svn.wordpress.org/trunk@22359 602fd350-edb4-49c9-b593-d223f7449a82
2012-11-02 16:52:53 +00:00
potbot 192e8e8065 POT, generated from r22217
git-svn-id: https://develop.svn.wordpress.org/trunk@22218 602fd350-edb4-49c9-b593-d223f7449a82
2012-10-12 17:19:11 +00:00
Lance Willett a2445aef9b Twenty Eleven image optimization, compress PNG files a bit more.
git-svn-id: https://develop.svn.wordpress.org/trunk@22217 602fd350-edb4-49c9-b593-d223f7449a82
2012-10-12 16:41:15 +00:00
Lance Willett df938da26c Twenty Ten and Eleven: remove invalid rel attribute generator from footer markup, see #22095.
git-svn-id: https://develop.svn.wordpress.org/trunk@22214 602fd350-edb4-49c9-b593-d223f7449a82
2012-10-12 16:13:37 +00:00
Lance Willett 8c890aa154 Twenty Eleven: remove invalid pubdate value from time elements. See #22095.
git-svn-id: https://develop.svn.wordpress.org/trunk@22213 602fd350-edb4-49c9-b593-d223f7449a82
2012-10-12 16:12:14 +00:00
Lance Willett 678b2e0695 Style <small> element in default themes a bit smaller than normal text, props obenland. Fixes #22109.
git-svn-id: https://develop.svn.wordpress.org/trunk@22211 602fd350-edb4-49c9-b593-d223f7449a82
2012-10-12 15:24:23 +00:00
Lance Willett 1a766217d9 Twenty Eleven: escape i18n attributes as late as possible, props mfields. See #21756.
git-svn-id: https://develop.svn.wordpress.org/trunk@22199 602fd350-edb4-49c9-b593-d223f7449a82
2012-10-11 21:30:42 +00:00
potbot d6ef68fdc6 POT, generated from r22196
git-svn-id: https://develop.svn.wordpress.org/trunk@22198 602fd350-edb4-49c9-b593-d223f7449a82
2012-10-11 20:19:00 +00:00
Lance Willett 9653d6f7ef Twenty Eleven: add rule to force override the fixed width for Twitter embeds. Props kovshenin, fixes #21680; see also r21637.
git-svn-id: https://develop.svn.wordpress.org/trunk@22196 602fd350-edb4-49c9-b593-d223f7449a82
2012-10-11 20:10:47 +00:00
Lance Willett 23e63d1cbc Twenty Ten and Eleven: more elegant fix for long word overflow in sidebars. Also improves image resizing for images in widgets in Twenty Ten. Props obenland, fixes #21151; see #21503 also.
git-svn-id: https://develop.svn.wordpress.org/trunk@22195 602fd350-edb4-49c9-b593-d223f7449a82
2012-10-11 20:02:33 +00:00
Lance Willett 51a14e8247 Twenty Eleven: show categories and tags only when supported by post type, using `is_object_in_taxonomy()` instead of only checking for 'post' post types. Props obenland, fixes #20922.
git-svn-id: https://develop.svn.wordpress.org/trunk@22193 602fd350-edb4-49c9-b593-d223f7449a82
2012-10-11 19:53:35 +00:00
Daryl Koopersmith 6500957bcd Improve styling and markup for gallery and attachment MCE views.
Attachment views can now inherit from the theme's `editor-style.css` — just have any rules that apply to the `img` tag apply to `.editor-attachment` as well.

Adds a non-functional edit button to gallery views.

see #21390, #21813, #21815.


git-svn-id: https://develop.svn.wordpress.org/trunk@22154 602fd350-edb4-49c9-b593-d223f7449a82
2012-10-10 06:47:22 +00:00
Ryan Boren b0cae159ea Put required field indicators within labels. Update styling of bundled themes to accommodate. Props MikeHansenMe. fixes #21897
git-svn-id: https://develop.svn.wordpress.org/trunk@22123 602fd350-edb4-49c9-b593-d223f7449a82
2012-10-05 16:34:32 +00:00
Lance Willett 5e08c35830 Twenty Ten and Eleven: update screenshot.png files in both themes to double-sized versions for HiDPI support. Fixes #21388.
git-svn-id: https://develop.svn.wordpress.org/trunk@22112 602fd350-edb4-49c9-b593-d223f7449a82
2012-10-04 17:43:20 +00:00
Andrew Nacin df005b6e64 Add page templates to the Twenty Twelve POT file. Remove tags from theme POT files. fixes #22016.
git-svn-id: https://develop.svn.wordpress.org/trunk@22067 602fd350-edb4-49c9-b593-d223f7449a82
2012-09-27 17:51:53 +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
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
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
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 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 5931640943 Twenty Eleven: update html5 shiv to 3.6 stable version. Props ocean90, fixes #20640.
git-svn-id: https://develop.svn.wordpress.org/trunk@21390 602fd350-edb4-49c9-b593-d223f7449a82
2012-08-01 15:31:36 +00:00
Lance Willett 691f2dfeac Twenty Eleven: fix typo, s/#entry-meta/.entry-meta/ props zeo. See #21418.
git-svn-id: https://develop.svn.wordpress.org/trunk@21368 602fd350-edb4-49c9-b593-d223f7449a82
2012-07-30 19:45:58 +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
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
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
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