Commit Graph

901 Commits

Author SHA1 Message Date
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
potbot db0d0f971e POT, generated from r20510
git-svn-id: https://develop.svn.wordpress.org/trunk@20511 602fd350-edb4-49c9-b593-d223f7449a82
2012-04-18 18:18:06 +00:00
Andrew Nacin 8c380f31ed 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: https://develop.svn.wordpress.org/trunk@20508 602fd350-edb4-49c9-b593-d223f7449a82
2012-04-18 17:32:53 +00:00
potbot 7c562a712e POT, generated from r20474
git-svn-id: https://develop.svn.wordpress.org/trunk@20475 602fd350-edb4-49c9-b593-d223f7449a82
2012-04-15 21:17:55 +00:00
Andrew Nacin 95c85ceeee Flexible heights for Twenty Ten's custom headers. see #20448.
git-svn-id: https://develop.svn.wordpress.org/trunk@20474 602fd350-edb4-49c9-b593-d223f7449a82
2012-04-15 20:51:24 +00:00
Andrew Nacin 91bb85bcff Twenty Ten: Remove $locale.php file support. see #20448.
git-svn-id: https://develop.svn.wordpress.org/trunk@20473 602fd350-edb4-49c9-b593-d223f7449a82
2012-04-15 20:46:09 +00:00
potbot c889d02910 POT, generated from r20471
git-svn-id: https://develop.svn.wordpress.org/trunk@20472 602fd350-edb4-49c9-b593-d223f7449a82
2012-04-15 20:18:07 +00:00
Andrew Nacin c98d83ab80 Twenty Eleven: Remove $locale.php file support. see #20448.
git-svn-id: https://develop.svn.wordpress.org/trunk@20471 602fd350-edb4-49c9-b593-d223f7449a82
2012-04-15 19:53:47 +00:00
Andrew Nacin 57105fb00c Flexible heights for Twenty Eleven's custom headers. see #20448.
git-svn-id: https://develop.svn.wordpress.org/trunk@20470 602fd350-edb4-49c9-b593-d223f7449a82
2012-04-15 19:53:10 +00:00
Jon Cave 7953f9e753 Fix typo and terminology in Twenty Eleven's header template. Props JarretC. Fixes #20442.
git-svn-id: https://develop.svn.wordpress.org/trunk@20465 602fd350-edb4-49c9-b593-d223f7449a82
2012-04-14 19:02:04 +00:00
Andrew Nacin 67f21026b9 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: https://develop.svn.wordpress.org/trunk@20231 602fd350-edb4-49c9-b593-d223f7449a82
2012-03-21 03:36:17 +00:00
potbot 3fd13e90b5 POT, generated from r20226
git-svn-id: https://develop.svn.wordpress.org/trunk@20228 602fd350-edb4-49c9-b593-d223f7449a82
2012-03-20 22:16:13 +00:00
potbot 8239a17df0 POT, generated from r20226
git-svn-id: https://develop.svn.wordpress.org/trunk@20227 602fd350-edb4-49c9-b593-d223f7449a82
2012-03-20 22:16:07 +00:00
Andrew Nacin 928e6b012b Remove unused variable. see #20265.
git-svn-id: https://develop.svn.wordpress.org/trunk@20226 602fd350-edb4-49c9-b593-d223f7449a82
2012-03-20 21:38:22 +00:00
Andrew Nacin 27656b6d3f 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: https://develop.svn.wordpress.org/trunk@20225 602fd350-edb4-49c9-b593-d223f7449a82
2012-03-20 21:32:42 +00:00
potbot 56a2ee069e POT, generated from r20223
git-svn-id: https://develop.svn.wordpress.org/trunk@20224 602fd350-edb4-49c9-b593-d223f7449a82
2012-03-20 21:17:55 +00:00
Andrew Nacin ad7eb88a49 Remove use of HEADER_IMAGE_WIDTH and HEADER_IMAGE_HEIGHT from twentyeleven/header.php. see #20265.
git-svn-id: https://develop.svn.wordpress.org/trunk@20223 602fd350-edb4-49c9-b593-d223f7449a82
2012-03-20 20:46:46 +00:00
Andrew Nacin 48598e8b18 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: https://develop.svn.wordpress.org/trunk@20222 602fd350-edb4-49c9-b593-d223f7449a82
2012-03-20 20:37:53 +00:00
Andrew Nacin 50bf8dfaef Remove Twenty Twelve from 3.4. see #19978. see http://wp.me/pbNCB-yA.
git-svn-id: https://develop.svn.wordpress.org/trunk@20219 602fd350-edb4-49c9-b593-d223f7449a82
2012-03-20 18:41:54 +00:00
Andrew Nacin 43913e382c (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: https://develop.svn.wordpress.org/trunk@20039 602fd350-edb4-49c9-b593-d223f7449a82
2012-02-29 19:27:54 +00:00
Lance Willett 981992f8fb Twenty Twelve: make proper use of the cached jQuery collection in navigation.js, props mattwiebe. Fixes #20131.
git-svn-id: https://develop.svn.wordpress.org/trunk@20017 602fd350-edb4-49c9-b593-d223f7449a82
2012-02-28 19:17:04 +00:00
potbot ffa265cebd POT, generated from r20011
git-svn-id: https://develop.svn.wordpress.org/trunk@20012 602fd350-edb4-49c9-b593-d223f7449a82
2012-02-28 06:18:04 +00:00
Lance Willett c41874b4d7 Twenty Twelve: remove an unneeded, presentational class value, see #19978.
git-svn-id: https://develop.svn.wordpress.org/trunk@20011 602fd350-edb4-49c9-b593-d223f7449a82
2012-02-28 05:28:08 +00:00
Lance Willett e6282c7f0d Twenty Twelve: better comment markup and styles, props drewstrojny. See #19978.
git-svn-id: https://develop.svn.wordpress.org/trunk@20010 602fd350-edb4-49c9-b593-d223f7449a82
2012-02-28 05:24:57 +00:00
Lance Willett 90df91666c Twenty Twelve: correctly enqueue the fonts CSS file, see #19978.
git-svn-id: https://develop.svn.wordpress.org/trunk@20009 602fd350-edb4-49c9-b593-d223f7449a82
2012-02-28 05:19:50 +00:00
potbot 326b2db4fa POT, generated from r20007
git-svn-id: https://develop.svn.wordpress.org/trunk@20008 602fd350-edb4-49c9-b593-d223f7449a82
2012-02-28 04:17:41 +00:00
Lance Willett 91511b6a18 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: https://develop.svn.wordpress.org/trunk@20007 602fd350-edb4-49c9-b593-d223f7449a82
2012-02-28 03:59:47 +00:00
Lance Willett 2a1dff3136 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: https://develop.svn.wordpress.org/trunk@20006 602fd350-edb4-49c9-b593-d223f7449a82
2012-02-28 03:48:34 +00:00
potbot fc85a24fea POT, generated from r20003
git-svn-id: https://develop.svn.wordpress.org/trunk@20005 602fd350-edb4-49c9-b593-d223f7449a82
2012-02-28 03:17:50 +00:00