Commit 6d4813d2 authored by lucha's avatar lucha
Browse files

[auto] theme: twentyfourteen 1.9

parent e5291ff2
...@@ -277,6 +277,31 @@ function twentyfourteen_admin_fonts() { ...@@ -277,6 +277,31 @@ function twentyfourteen_admin_fonts() {
} }
add_action( 'admin_print_scripts-appearance_page_custom-header', 'twentyfourteen_admin_fonts' ); add_action( 'admin_print_scripts-appearance_page_custom-header', 'twentyfourteen_admin_fonts' );
/**
* Add preconnect for Google Fonts.
*
* @since Twenty Fourteen 1.9
*
* @param array $urls URLs to print for resource hints.
* @param string $relation_type The relation type the URLs are printed.
* @return array URLs to print for resource hints.
*/
function twentyfourteen_resource_hints( $urls, $relation_type ) {
if ( wp_style_is( 'twentyfourteen-lato', 'queue' ) && 'preconnect' === $relation_type ) {
if ( version_compare( $GLOBALS['wp_version'], '4.7-alpha', '>=' ) ) {
$urls[] = array(
'href' => 'https://fonts.gstatic.com',
'crossorigin',
);
} else {
$urls[] = 'https://fonts.gstatic.com';
}
}
return $urls;
}
add_filter( 'wp_resource_hints', 'twentyfourteen_resource_hints', 10, 2 );
if ( ! function_exists( 'twentyfourteen_the_attached_image' ) ) : if ( ! function_exists( 'twentyfourteen_the_attached_image' ) ) :
/** /**
* Print the attached image with a link to the next attached image. * Print the attached image with a link to the next attached image.
......
=== Twenty Fourteen === === Twenty Fourteen ===
Contributors: the WordPress team Contributors: the WordPress team
Requires at least: WordPress 3.6 Requires at least: WordPress 3.6
Tested up to: WordPress 4.7-trunk Tested up to: WordPress 4.8-trunk
Stable tag: 1.8 Stable tag: 1.9
License: GPLv2 or later License: GPLv2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html License URI: http://www.gnu.org/licenses/gpl-2.0.html
Tags: blog, news, two-columns, three-columns, left-sidebar, right-sidebar, custom-background, custom-header, custom-menu, editor-style, featured-images, flexible-header, footer-widgets, full-width-template, microformats, post-formats, rtl-language-support, sticky-post, theme-options, translation-ready, accessibility-ready Tags: blog, news, two-columns, three-columns, left-sidebar, right-sidebar, custom-background, custom-header, custom-menu, editor-style, featured-images, flexible-header, footer-widgets, full-width-template, microformats, post-formats, rtl-language-support, sticky-post, theme-options, translation-ready, accessibility-ready
...@@ -50,6 +50,11 @@ Source: http://www.genericons.com ...@@ -50,6 +50,11 @@ Source: http://www.genericons.com
== Changelog == == Changelog ==
= 1.9 =
* Released: December 6, 2016
https://codex.wordpress.org/Twenty_Fourteen_Theme_Changelog#Version_1.9
= 1.8 = = 1.8 =
* Released: August 15, 2016 * Released: August 15, 2016
......
...@@ -4,7 +4,7 @@ Theme URI: https://wordpress.org/themes/twentyfourteen/ ...@@ -4,7 +4,7 @@ Theme URI: https://wordpress.org/themes/twentyfourteen/
Author: the WordPress team Author: the WordPress team
Author URI: https://wordpress.org/ Author URI: https://wordpress.org/
Description: In 2014, our default theme lets you create a responsive magazine website with a sleek, modern design. Feature your favorite homepage content in either a grid or a slider. Use the three widget areas to customize your website, and change your content's layout with a full-width page template and a contributor page to show off your authors. Creating a magazine website with WordPress has never been easier. Description: In 2014, our default theme lets you create a responsive magazine website with a sleek, modern design. Feature your favorite homepage content in either a grid or a slider. Use the three widget areas to customize your website, and change your content's layout with a full-width page template and a contributor page to show off your authors. Creating a magazine website with WordPress has never been easier.
Version: 1.8 Version: 1.9
License: GNU General Public License v2 or later License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html License URI: http://www.gnu.org/licenses/gpl-2.0.html
Tags: blog, news, two-columns, three-columns, left-sidebar, right-sidebar, custom-background, custom-header, custom-menu, editor-style, featured-images, flexible-header, footer-widgets, full-width-template, microformats, post-formats, rtl-language-support, sticky-post, theme-options, translation-ready, accessibility-ready Tags: blog, news, two-columns, three-columns, left-sidebar, right-sidebar, custom-background, custom-header, custom-menu, editor-style, featured-images, flexible-header, footer-widgets, full-width-template, microformats, post-formats, rtl-language-support, sticky-post, theme-options, translation-ready, accessibility-ready
...@@ -1039,6 +1039,10 @@ span + .edit-link:before, ...@@ -1039,6 +1039,10 @@ span + .edit-link:before,
outline: 1px dotted; outline: 1px dotted;
} }
.secondary-navigation .customize-partial-edit-shortcut button,
.footer-sidebar .widget:first-child .customize-partial-edit-shortcut button {
left: 0;
}
/** /**
* 6.0 Content * 6.0 Content
...@@ -3088,6 +3092,18 @@ a.post-thumbnail:hover { ...@@ -3088,6 +3092,18 @@ a.post-thumbnail:hover {
width: device-width; width: device-width;
} }
/* Adjust positioning of edit shortcuts, override style in customize-preview.css */
@media screen and (max-width:800px) {
body.customize-partial-edit-shortcuts-shown .site-header .site-title {
padding-left: 8px;
}
.site-header .customize-partial-edit-shortcut button {
top: 10px;
}
}
@media screen and (max-width: 400px) { @media screen and (max-width: 400px) {
.list-view .site-content .post-thumbnail { .list-view .site-content .post-thumbnail {
background: none; background: none;
...@@ -3162,6 +3178,17 @@ a.post-thumbnail:hover { ...@@ -3162,6 +3178,17 @@ a.post-thumbnail:hover {
} }
} }
/* Adjust positioning of edit shortcuts, override style in customize-preview.css */
@media screen and (max-width:320px) {
.site-header .customize-partial-edit-shortcut button {
left: -32px;
}
body.customize-partial-edit-shortcuts-shown .site-header .site-title {
padding-left: 28px;
}
}
@media screen and (min-width: 401px) { @media screen and (min-width: 401px) {
a.post-thumbnail:hover img { a.post-thumbnail:hover img {
opacity: 0.85; opacity: 0.85;
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment