From 0acfa8ef5a8ccc59dbe89464cf231208610685c0 Mon Sep 17 00:00:00 2001 From: lucha <lucha@paranoici.org> Date: Thu, 22 Dec 2016 21:20:12 +0100 Subject: [PATCH] [auto] theme: twentyeleven 2.5 --- wp-content/themes/twentyeleven/inc/widgets.php | 7 +++++-- .../themes/twentyeleven/languages/twentyeleven.pot | 10 +++++----- wp-content/themes/twentyeleven/readme.txt | 13 +++++++++---- wp-content/themes/twentyeleven/style.css | 4 ++-- 4 files changed, 21 insertions(+), 13 deletions(-) diff --git a/wp-content/themes/twentyeleven/inc/widgets.php b/wp-content/themes/twentyeleven/inc/widgets.php index 979b65471..9b007f4af 100644 --- a/wp-content/themes/twentyeleven/inc/widgets.php +++ b/wp-content/themes/twentyeleven/inc/widgets.php @@ -56,7 +56,7 @@ class Twenty_Eleven_Ephemera_Widget extends WP_Widget { if ( ! isset( $args['widget_id'] ) ) $args['widget_id'] = null; - if ( isset( $cache[ $args['widget_id'] ] ) ) { + if ( ! is_customize_preview() && isset( $cache[ $args['widget_id'] ] ) ) { echo $cache[ $args['widget_id'] ]; return; } @@ -132,7 +132,10 @@ class Twenty_Eleven_Ephemera_Widget extends WP_Widget { endif; $cache[ $args['widget_id'] ] = ob_get_flush(); - wp_cache_set( 'widget_twentyeleven_ephemera', $cache, 'widget' ); + if ( ! is_customize_preview() ) { + wp_cache_set( 'widget_twentyeleven_ephemera', $cache, 'widget' ); + } + } /** diff --git a/wp-content/themes/twentyeleven/languages/twentyeleven.pot b/wp-content/themes/twentyeleven/languages/twentyeleven.pot index b1c68107f..5a0de2543 100644 --- a/wp-content/themes/twentyeleven/languages/twentyeleven.pot +++ b/wp-content/themes/twentyeleven/languages/twentyeleven.pot @@ -2,9 +2,9 @@ # This file is distributed under the GNU General Public License v2 or later. msgid "" msgstr "" -"Project-Id-Version: Twenty Eleven 2.4\n" +"Project-Id-Version: Twenty Eleven 2.5\n" "Report-Msgid-Bugs-To: https://wordpress.org/support/theme/twentyeleven\n" -"POT-Creation-Date: 2016-04-05 09:48:39+00:00\n" +"POT-Creation-Date: 2016-07-29 15:41:03+00:00\n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" @@ -266,7 +266,7 @@ msgstr "" msgid "Featured" msgstr "" -#. #-#-#-#-# twentyeleven.pot (Twenty Eleven 2.4) #-#-#-#-# +#. #-#-#-#-# twentyeleven.pot (Twenty Eleven 2.5) #-#-#-#-# #. Author URI of the plugin/theme #: footer.php:28 msgid "https://wordpress.org/" @@ -563,11 +563,11 @@ msgstr "" msgid "% <span class=\"reply\">comments →</span>" msgstr "" -#: inc/widgets.php:179 +#: inc/widgets.php:182 msgid "Title:" msgstr "" -#: inc/widgets.php:182 +#: inc/widgets.php:185 msgid "Number of posts to show:" msgstr "" diff --git a/wp-content/themes/twentyeleven/readme.txt b/wp-content/themes/twentyeleven/readme.txt index b98595f22..95e375241 100644 --- a/wp-content/themes/twentyeleven/readme.txt +++ b/wp-content/themes/twentyeleven/readme.txt @@ -1,11 +1,11 @@ === Twenty Eleven === Contributors: the WordPress team Requires at least: WordPress 3.2 -Tested up to: WordPress 4.6-trunk -Stable tag: 2.4 +Tested up to: WordPress 4.7-trunk +Stable tag: 2.5 License: GPLv2 or later License URI: http://www.gnu.org/licenses/gpl-2.0.html -Tags: dark, light, white, black, gray, one-column, two-columns, left-sidebar, right-sidebar, fixed-layout, responsive-layout, custom-background, custom-colors, custom-header, custom-menu, editor-style, featured-image-header, featured-images, flexible-header, full-width-template, microformats, post-formats, rtl-language-support, sticky-post, theme-options, translation-ready +Tags: blog, one-column, two-columns, left-sidebar, right-sidebar, custom-background, custom-colors, custom-header, custom-menu, editor-style, featured-image-header, featured-images, flexible-header, footer-widgets, full-width-template, microformats, post-formats, rtl-language-support, sticky-post, theme-options, translation-ready == Description == The 2011 theme for WordPress is sophisticated, lightweight, and adaptable. Make it yours with a custom menu, header image, and background -- then go further with available theme options for light or dark color scheme, custom link colors, and three layout choices. Twenty Eleven comes equipped with a Showcase page template that transforms your front page into a showcase to show off your best content, widget support galore (sidebar, three footer areas, and a Showcase page widget area), and a custom "Ephemera" widget to display your Aside, Link, Quote, or Status posts. Included are styles for print and for the admin editor, support for featured images (as custom header images on posts and pages and as large images on featured "sticky" posts), and special styles for six different post formats. @@ -22,7 +22,7 @@ For more information about Twenty Eleven please go to https://codex.wordpress.or == Copyright == -Twenty Eleven WordPress Theme, Copyright 2011-2015 WordPress.org & Automattic.com +Twenty Eleven WordPress Theme, Copyright 2011-2016 WordPress.org & Automattic.com Twenty Eleven is Distributed under the terms of the GNU GPL This program is free software: you can redistribute it and/or modify @@ -43,6 +43,11 @@ Source: https://github.com/aFarkas/html5shiv == Changelog == += 2.5 = +* Released: August 15, 2016 + +https://codex.wordpress.org/Twenty_Eleven_Theme_Changelog#Version_2.5 + = 2.4 = * Released: April 12, 2016 diff --git a/wp-content/themes/twentyeleven/style.css b/wp-content/themes/twentyeleven/style.css index c5cdd4e9e..8cd5082ab 100644 --- a/wp-content/themes/twentyeleven/style.css +++ b/wp-content/themes/twentyeleven/style.css @@ -4,10 +4,10 @@ Theme URI: https://wordpress.org/themes/twentyeleven/ Author: the WordPress team Author URI: https://wordpress.org/ Description: The 2011 theme for WordPress is sophisticated, lightweight, and adaptable. Make it yours with a custom menu, header image, and background -- then go further with available theme options for light or dark color scheme, custom link colors, and three layout choices. Twenty Eleven comes equipped with a Showcase page template that transforms your front page into a showcase to show off your best content, widget support galore (sidebar, three footer areas, and a Showcase page widget area), and a custom "Ephemera" widget to display your Aside, Link, Quote, or Status posts. Included are styles for print and for the admin editor, support for featured images (as custom header images on posts and pages and as large images on featured "sticky" posts), and special styles for six different post formats. -Version: 2.4 +Version: 2.5 License: GNU General Public License v2 or later License URI: http://www.gnu.org/licenses/gpl-2.0.html -Tags: dark, light, white, black, gray, one-column, two-columns, left-sidebar, right-sidebar, fixed-layout, responsive-layout, custom-background, custom-colors, custom-header, custom-menu, editor-style, featured-image-header, featured-images, flexible-header, full-width-template, microformats, post-formats, rtl-language-support, sticky-post, theme-options, translation-ready +Tags: blog, one-column, two-columns, left-sidebar, right-sidebar, custom-background, custom-colors, custom-header, custom-menu, editor-style, featured-image-header, featured-images, flexible-header, footer-widgets, full-width-template, microformats, post-formats, rtl-language-support, sticky-post, theme-options, translation-ready Text Domain: twentyeleven */ -- GitLab