Skip to content
Snippets Groups Projects
Commit 54efe639 authored by ale's avatar ale
Browse files

Remove 0187-twentytwelve patch

Something happened to functions.php.
parent 94d37e06
Branches
No related tags found
No related merge requests found
......@@ -115,7 +115,6 @@
"wpackagist-theme/twentytwelve": {
"Theme footer": "patches/themes/0165-twentytwelve-footer.patch",
"Remove Google Fonts API": "patches/themes/twentytwelve-google-fonts.patch",
"Remove resource hints": "patches/themes/0187-twentytwelve.patch"
},
"wpackagist-theme/twentythirteen": {
"Theme footer": "patches/themes/0165-twentythirteen-footer.patch",
......
diff --git a/wp-content/themes/twentytwelve/functions.php b/wp-content/themes/twentytwelve/functions.php
index bdda0c64..fb584016 100644
--- a/wp-content/themes/twentytwelve/functions.php
+++ b/wp-content/themes/twentytwelve/functions.php
@@ -208,6 +208,7 @@ add_action( 'enqueue_block_editor_assets', 'twentytwelve_block_editor_styles' );
* @param string $relation_type The relation type the URLs are printed.
* @return array URLs to print for resource hints.
*/
+/*
function twentytwelve_resource_hints( $urls, $relation_type ) {
if ( wp_style_is( 'twentytwelve-fonts', 'queue' ) && 'preconnect' === $relation_type ) {
if ( version_compare( $GLOBALS['wp_version'], '4.7-alpha', '>=' ) ) {
@@ -223,6 +224,7 @@ function twentytwelve_resource_hints( $urls, $relation_type ) {
return $urls;
}
add_filter( 'wp_resource_hints', 'twentytwelve_resource_hints', 10, 2 );
+*/
/**
* Filter TinyMCE CSS path to include Google Fonts.
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment