Commit Graph

270 Commits

Author SHA1 Message Date
Daryl Koopersmith
24d9eefa46 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: http://core.svn.wordpress.org/trunk@22154 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-10-10 06:47:22 +00:00
Ryan Boren
3854fe2e0f Put required field indicators within labels. Update styling of bundled themes to accommodate. Props MikeHansenMe. fixes #21897
git-svn-id: http://core.svn.wordpress.org/trunk@22123 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-10-05 16:34:32 +00:00
Lance Willett
d4ac0394c3 Twenty Ten and Eleven: update screenshot.png files in both themes to double-sized versions for HiDPI support. Fixes #21388.
git-svn-id: http://core.svn.wordpress.org/trunk@22112 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-10-04 17:43:20 +00:00
Andrew Nacin
32b4571c18 Add page templates to the Twenty Twelve POT file. Remove tags from theme POT files. fixes #22016.
git-svn-id: http://core.svn.wordpress.org/trunk@22067 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-09-27 17:51:53 +00:00
Bot (Translations)
dc3801d2ac POT, generated from r21605
git-svn-id: http://core.svn.wordpress.org/trunk@21607 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-08-24 16:18:56 +00:00
Andrew Nacin
770ee9720a 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: http://core.svn.wordpress.org/trunk@21604 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-08-24 15:22:14 +00:00
potbot
18cf7ea5a2 POT, generated from r21492
git-svn-id: http://core.svn.wordpress.org/trunk@21494 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-08-09 19:22:41 +00:00
lancewillett
241a9f5b9d Twenty Eleven: allow content-single.php to be overridden for post formats, props murky. Closes #17996.
git-svn-id: http://core.svn.wordpress.org/trunk@21491 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-08-09 18:31:02 +00:00
lancewillett
27281f6fd1 Twenty Ten and Eleven: *_continue_reading_link() should be pluggable, fixes #16500. Props nacin and SergeyBiryukov.
git-svn-id: http://core.svn.wordpress.org/trunk@21490 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-08-09 18:21:58 +00:00
lancewillett
34056f4c03 Twenty Eleven: fix gallery thumbnail image overflow, props chellycat. Fixes #20478.
git-svn-id: http://core.svn.wordpress.org/trunk@21488 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-08-09 17:58:56 +00:00
lancewillett
24c98560e1 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: http://core.svn.wordpress.org/trunk@21487 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-08-09 17:32:39 +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
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
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
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
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
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
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
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
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
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
lancewillett
0188837271 Twenty Eleven and Twenty Twelve: fix incorrect end HTML comment left over from Twenty Ten.
See #19978.


git-svn-id: http://svn.automattic.com/wordpress/trunk@19957 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-02-21 05:44:31 +00:00
nacin
6e0d0091f4 Update POT files. Reflects a change in the makepot script to ensure consistency when files are generated. Remove duplicate header comments.
git-svn-id: http://svn.automattic.com/wordpress/trunk@19901 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-02-10 16:38:48 +00:00