Commit Graph

231 Commits

Author SHA1 Message Date
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
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 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
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
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
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
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
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
potbot 3297d19e90 POT, generated from r19584
git-svn-id: https://develop.svn.wordpress.org/trunk@19585 602fd350-edb4-49c9-b593-d223f7449a82
2011-12-10 19:47:15 +00:00
Ryan Boren 16c0545aa3 Back compat for twentyeleven. Props duck_. fixes #19504
git-svn-id: https://develop.svn.wordpress.org/trunk@19584 602fd350-edb4-49c9-b593-d223f7449a82
2011-12-10 19:43:49 +00:00
Ryan Boren 02a16905eb More consistent attribute escaping. Props nacin.
git-svn-id: https://develop.svn.wordpress.org/trunk@19582 602fd350-edb4-49c9-b593-d223f7449a82
2011-12-10 19:18:51 +00:00
potbot a97b67ef03 POT, generated from r19580
git-svn-id: https://develop.svn.wordpress.org/trunk@19581 602fd350-edb4-49c9-b593-d223f7449a82
2011-12-10 18:47:17 +00:00
Ryan Boren 6aeab508e9 Contextual help back compat for twentyeleven. Props nacin.
git-svn-id: https://develop.svn.wordpress.org/trunk@19580 602fd350-edb4-49c9-b593-d223f7449a82
2011-12-10 18:31:44 +00:00
Andrew Nacin 56c34ed7b2 Give a min-height to posts of the status post format in Twenty Eleven. props devinreams, fixes #19325.
git-svn-id: https://develop.svn.wordpress.org/trunk@19543 602fd350-edb4-49c9-b593-d223f7449a82
2011-12-02 17:22:46 +00:00
potbot 07dd43aad2 POT, generated from r19538
git-svn-id: https://develop.svn.wordpress.org/trunk@19539 602fd350-edb4-49c9-b593-d223f7449a82
2011-12-02 04:48:00 +00:00
Andrew Nacin 030e0764b5 Standardize some final help strings. We're done, aside from typos. props zeo, jane, duck_, fixes #19020.
git-svn-id: https://develop.svn.wordpress.org/trunk@19538 602fd350-edb4-49c9-b593-d223f7449a82
2011-12-02 04:31:01 +00:00
potbot 0a3517a96a POT, generated from r19505
git-svn-id: https://develop.svn.wordpress.org/trunk@19506 602fd350-edb4-49c9-b593-d223f7449a82
2011-12-01 00:47:08 +00:00
Andrew Nacin ce22f02ff7 Switch to 'Overview' for Twenty Eleven. Use the theme's textdomain. props SergeyBiryukov, see [19493], #19020.
git-svn-id: https://develop.svn.wordpress.org/trunk@19502 602fd350-edb4-49c9-b593-d223f7449a82
2011-12-01 00:33:09 +00:00
potbot 18ffbf0f7d POT, generated from r19379
git-svn-id: https://develop.svn.wordpress.org/trunk@19380 602fd350-edb4-49c9-b593-d223f7449a82
2011-11-21 16:47:34 +00:00
Peter Westwood 2e8ea2cdab TwentyEleven: Always call the loop properly in all template files rather than just calling the_post(). Fixes #18794 props mfields.
git-svn-id: https://develop.svn.wordpress.org/trunk@19379 602fd350-edb4-49c9-b593-d223f7449a82
2011-11-21 16:20:49 +00:00
potbot 9a87bf6753 POT, generated from r19376
git-svn-id: https://develop.svn.wordpress.org/trunk@19378 602fd350-edb4-49c9-b593-d223f7449a82
2011-11-21 15:47:49 +00:00
Peter Westwood 5ca42be36c TwentyEleven: Improve RTL css to better match LTR experience. Fixes #18911 props SergeyBiryukov.
git-svn-id: https://develop.svn.wordpress.org/trunk@19377 602fd350-edb4-49c9-b593-d223f7449a82
2011-11-21 15:47:48 +00:00
Andrew Nacin 74567278af Revert other stuffs from [19374].
git-svn-id: https://develop.svn.wordpress.org/trunk@19376 602fd350-edb4-49c9-b593-d223f7449a82
2011-11-21 15:43:57 +00:00
Peter Westwood c322df0e46 TwentyEleven: Standardise on "Leave a reply". Fixes #18156 props SergeyBiryukov and pavelevap.
git-svn-id: https://develop.svn.wordpress.org/trunk@19375 602fd350-edb4-49c9-b593-d223f7449a82
2011-11-21 15:40:13 +00:00
Andrew Nacin 7c181a42bf Set $parent_file for post-new.php when show_in_menu is a file. Provides for correct top-level highlighting. $submenu_file remains set to expect a post-new.php menu. see #19125.
git-svn-id: https://develop.svn.wordpress.org/trunk@19374 602fd350-edb4-49c9-b593-d223f7449a82
2011-11-21 15:35:57 +00:00
Andrew Ozz 77e331046b TwentyEleven: prevent #nav-single from blocking clicks, props SergeyBiryukov, fixes #18884
git-svn-id: https://develop.svn.wordpress.org/trunk@19369 602fd350-edb4-49c9-b593-d223f7449a82
2011-11-21 02:59:23 +00:00
potbot 8da8a36e89 POT, generated from r19351
git-svn-id: https://develop.svn.wordpress.org/trunk@19352 602fd350-edb4-49c9-b593-d223f7449a82
2011-11-19 04:48:00 +00:00
Andrew Ozz b62a5ac879 Twenty Eleven: footer widgets shouldn't appear on the 404 page, props iandstewart, fixes #18933
git-svn-id: https://develop.svn.wordpress.org/trunk@19348 602fd350-edb4-49c9-b593-d223f7449a82
2011-11-19 04:16:39 +00:00
Andrew Ozz 74006f881c Twenty Eleven: Custom shadows for comment avatars in the dark color scheme, props iandstewart, fixes #18930
git-svn-id: https://develop.svn.wordpress.org/trunk@19347 602fd350-edb4-49c9-b593-d223f7449a82
2011-11-19 04:07:54 +00:00
potbot 193c29c022 POT, generated from r19308
git-svn-id: https://develop.svn.wordpress.org/trunk@19309 602fd350-edb4-49c9-b593-d223f7449a82
2011-11-16 00:48:06 +00:00
Andrew Nacin 94d5ab637c Indent code within an inside Twenty Eleven's ephemera widget. props lloydbudd, fixes #18751.
git-svn-id: https://develop.svn.wordpress.org/trunk@19308 602fd350-edb4-49c9-b593-d223f7449a82
2011-11-16 00:08:29 +00:00
Andrew Nacin 11fb1f6b78 Properly adjust margins for ordered lists in RTL in Twenty Eleven. props wpweaver. fixes #19072.
git-svn-id: https://develop.svn.wordpress.org/trunk@19303 602fd350-edb4-49c9-b593-d223f7449a82
2011-11-15 20:20:43 +00:00
Andrew Nacin e327ae9f74 Higher z-index for #branding in Twenty Eleven. props matveb. fixes #18938.
git-svn-id: https://develop.svn.wordpress.org/trunk@19302 602fd350-edb4-49c9-b593-d223f7449a82
2011-11-15 20:18:22 +00:00
Andrew Nacin 2283d108e5 Highlight current-menu-item and current-menu-ancestor in Twenty Eleven. props Viper007Bond, fixes #18643.
git-svn-id: https://develop.svn.wordpress.org/trunk@19301 602fd350-edb4-49c9-b593-d223f7449a82
2011-11-15 20:16:56 +00:00
Andrew Nacin 74d1d7012f Better fluid/responsive image styles in Twenty Eleven. props iandstewart, lancewillett, fixes #18940.
git-svn-id: https://develop.svn.wordpress.org/trunk@19292 602fd350-edb4-49c9-b593-d223f7449a82
2011-11-15 02:20:44 +00:00
Andrew Nacin 2ad89eb3ce Make sure embeds and iframes fit their containers in Twenty Eleven. props matveb, fixes #18941.
git-svn-id: https://develop.svn.wordpress.org/trunk@19291 602fd350-edb4-49c9-b593-d223f7449a82
2011-11-15 02:16:58 +00:00
Andrew Nacin c71fea0654 Use get_template_directory() for include paths in Twenty Eleven, rather than FILE magic constant. Won't go stale when twentyeleven_setup() is overridden. props TomAuger, fixes #18985.
git-svn-id: https://develop.svn.wordpress.org/trunk@19289 602fd350-edb4-49c9-b593-d223f7449a82
2011-11-15 00:37:50 +00:00
potbot 5eaef48e58 POT, generated from r19242
git-svn-id: https://develop.svn.wordpress.org/trunk@19243 602fd350-edb4-49c9-b593-d223f7449a82
2011-11-10 18:47:54 +00:00
Andrew Nacin c69fd63823 Make twentyeleven_content_nav() pluggable. props adeptris, SergeyBiryukov. fixes #18585.
git-svn-id: https://develop.svn.wordpress.org/trunk@19242 602fd350-edb4-49c9-b593-d223f7449a82
2011-11-10 18:41:05 +00:00
Ryan Boren 00d6cc1e1b Make date formats for transation. Props SergeyBiryukov, settle. fixes #16441
git-svn-id: https://develop.svn.wordpress.org/trunk@19241 602fd350-edb4-49c9-b593-d223f7449a82
2011-11-10 18:37:20 +00:00
potbot f070af72a5 POT, generated from r19237
git-svn-id: https://develop.svn.wordpress.org/trunk@19238 602fd350-edb4-49c9-b593-d223f7449a82
2011-11-10 14:47:40 +00:00
Ryan Boren a9e58170af Contextual help for Twenty Eleven theme options page. see #19020
git-svn-id: https://develop.svn.wordpress.org/trunk@19237 602fd350-edb4-49c9-b593-d223f7449a82
2011-11-10 14:01:46 +00:00
Andrew Ozz c8c19d8591 Fix alignment buttons when there is no content in editor under RTL, props SergeyBiryukov, fixes 18247
git-svn-id: https://develop.svn.wordpress.org/trunk@19085 602fd350-edb4-49c9-b593-d223f7449a82
2011-10-29 00:17:37 +00:00
Andrew Nacin 51d0bd90f6 Use get_template_directory() instead of TEMPLATEPATH in Twentys Ten and Eleven. props solarisssmoke, fixes #18071.
git-svn-id: https://develop.svn.wordpress.org/trunk@19058 602fd350-edb4-49c9-b593-d223f7449a82
2011-10-25 04:42:16 +00:00
Ryan Boren f14c0a52b4 phpdoc fix. Props Jayjdk. fixes #18965
git-svn-id: https://develop.svn.wordpress.org/trunk@18978 602fd350-edb4-49c9-b593-d223f7449a82
2011-10-17 15:58:16 +00:00