Commit Graph

879 Commits

Author SHA1 Message Date
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
Lance Willett 4709676a6f Twenty Twelve: remove test lines from r20003
git-svn-id: https://develop.svn.wordpress.org/trunk@20004 602fd350-edb4-49c9-b593-d223f7449a82
2012-02-28 03:14:00 +00:00
Lance Willett 28592c377a 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: https://develop.svn.wordpress.org/trunk@20003 602fd350-edb4-49c9-b593-d223f7449a82
2012-02-28 03:10:53 +00:00
Andrew Nacin 7c0a450920 Add template names to theme pots. see #6007.
git-svn-id: https://develop.svn.wordpress.org/trunk@19968 602fd350-edb4-49c9-b593-d223f7449a82
2012-02-21 16:37:01 +00:00
potbot c82d0d0b72 POT, generated from r19963
git-svn-id: https://develop.svn.wordpress.org/trunk@19964 602fd350-edb4-49c9-b593-d223f7449a82
2012-02-21 15:18:15 +00:00
Andrew Nacin 0bd00272c5 Revert [19959]. The footer generator URL should be translated (think pt.wordpress.org). see #19978.
git-svn-id: https://develop.svn.wordpress.org/trunk@19963 602fd350-edb4-49c9-b593-d223f7449a82
2012-02-21 14:49:38 +00:00
potbot 91e62fb960 POT, generated from r19961
git-svn-id: https://develop.svn.wordpress.org/trunk@19962 602fd350-edb4-49c9-b593-d223f7449a82
2012-02-21 07:18:03 +00:00
Lance Willett df599d08f0 Twenty Twelve: no need for threaded comment reply JS to load if comments are closed. Props iandstewart, see #19978.
git-svn-id: https://develop.svn.wordpress.org/trunk@19961 602fd350-edb4-49c9-b593-d223f7449a82
2012-02-21 06:41:20 +00:00
Lance Willett c3e0e18f8a Twenty Twelve: add ARIA role of "navigation" to the all nav elements. Props iandstewart, see #19978.
git-svn-id: https://develop.svn.wordpress.org/trunk@19960 602fd350-edb4-49c9-b593-d223f7449a82
2012-02-21 06:34:36 +00:00
Lance Willett e8635f412d Twenty Twelve: no need to translate the footer generator URL. See #19978.
git-svn-id: https://develop.svn.wordpress.org/trunk@19959 602fd350-edb4-49c9-b593-d223f7449a82
2012-02-21 06:24:49 +00:00
Lance Willett deb5f6f182 Twenty Twelve style updates, props drewstrojny. See #19978.
And, use a simpler and more consistent `site-header` class value. Props iandstewart.


git-svn-id: https://develop.svn.wordpress.org/trunk@19958 602fd350-edb4-49c9-b593-d223f7449a82
2012-02-21 06:14:51 +00:00
Lance Willett 5a39eb1696 Twenty Eleven and Twenty Twelve: fix incorrect end HTML comment left over from Twenty Ten.
See #19978.


git-svn-id: https://develop.svn.wordpress.org/trunk@19957 602fd350-edb4-49c9-b593-d223f7449a82
2012-02-21 05:44:31 +00:00
potbot 305c67e6ac POT, generated from r19915
git-svn-id: https://develop.svn.wordpress.org/trunk@19916 602fd350-edb4-49c9-b593-d223f7449a82
2012-02-14 04:17:55 +00:00
Lance Willett a6951d77f3 Twenty Twelve template changes and fixes ... see #19978.
* Add custom header support
 * header.php: use `get_stylesheet_uri()` to load stylesheet, props Mamaduka
 * Add full-width template, including adding relevant body_class value as a CSS hook
 * Hide sidebar on all views if no active widgets exist
 * Fix site title output (was missing site title)
 * Remove "featured" title for sticky posts
 * Add content template files for aside, image, link, and quote post formats
 * Indent content-single.php to match content.php
 * Remove sample JPG since Twenty Twelve ships with no default header images

... and style updates, props drewstrojny

 * Better footer styles
 * Styling for full-width layouts
 * Add basic styles for archive views
 * Refine post header/footer styles a bit


git-svn-id: https://develop.svn.wordpress.org/trunk@19915 602fd350-edb4-49c9-b593-d223f7449a82
2012-02-14 03:54:46 +00:00
Andrew Nacin 917a954113 Update POT files. Reflects a change in the makepot script to ensure consistency when files are generated. Remove duplicate header comments.
git-svn-id: https://develop.svn.wordpress.org/trunk@19901 602fd350-edb4-49c9-b593-d223f7449a82
2012-02-10 16:38:48 +00:00
Andrew Nacin bd5c1f88e9 Move the wp_enqueue_style() to header.php. see #19978.
git-svn-id: https://develop.svn.wordpress.org/trunk@19845 602fd350-edb4-49c9-b593-d223f7449a82
2012-02-06 23:07:41 +00:00
Andrew Nacin 2746fd144a Freshen up the docs in functions.php. Remove is_admin() check from twentytwelve_enqueue_scripts(). Remove function_exists() wrappers from functions that are hooked in. Kill locale.php handling. see #19978.
git-svn-id: https://develop.svn.wordpress.org/trunk@19844 602fd350-edb4-49c9-b593-d223f7449a82
2012-02-06 23:04:56 +00:00
Andrew Nacin 7349d46c0e Synchronize archive.php docs with Twenty Eleven. Go easy on the PHP/HTML context switching. see #19978.
git-svn-id: https://develop.svn.wordpress.org/trunk@19843 602fd350-edb4-49c9-b593-d223f7449a82
2012-02-06 22:37:45 +00:00
Matt Mullenweg 94729a8a40 Initial import of the Twenty Twelve theme, by Drew Strojny. This time around we're trying something different than the previous twenty-something themes, a much more minimalist approach that affords easy use as a CMS in addition to being blog-forward. More information will be on wpdevel soon. Props drewstrojny and lancewillett.
git-svn-id: https://develop.svn.wordpress.org/trunk@19842 602fd350-edb4-49c9-b593-d223f7449a82
2012-02-06 22:23:41 +00:00
potbot 85beeacfc7 POT, generated from r19767
git-svn-id: https://develop.svn.wordpress.org/trunk@19768 602fd350-edb4-49c9-b593-d223f7449a82
2012-01-27 14:48:16 +00:00
potbot 2c2b4b0c07 POT, generated from r19762
git-svn-id: https://develop.svn.wordpress.org/trunk@19763 602fd350-edb4-49c9-b593-d223f7449a82
2012-01-27 14:28:54 +00:00
Ryan Boren 2b186b0c45 Lose EOF ?>. Clean up EOF newlines. fixes #12307
git-svn-id: https://develop.svn.wordpress.org/trunk@19712 602fd350-edb4-49c9-b593-d223f7449a82
2012-01-08 17:01:11 +00:00
Ryan Boren 63fc9195a5 Use one space, not two, after trailing punctuation. Prop Zeo. fixes #19537
git-svn-id: https://develop.svn.wordpress.org/trunk@19599 602fd350-edb4-49c9-b593-d223f7449a82
2011-12-16 17:13:16 +00:00