From 54efe639e89ec49bfe9779d024f255e41d1a05cd Mon Sep 17 00:00:00 2001 From: ale <ale@incal.net> Date: Thu, 15 Apr 2021 16:08:49 +0100 Subject: [PATCH] Remove 0187-twentytwelve patch Something happened to functions.php. --- composer.patches.json | 1 - patches/themes/0187-twentytwelve.patch | 20 -------------------- 2 files changed, 21 deletions(-) delete mode 100644 patches/themes/0187-twentytwelve.patch diff --git a/composer.patches.json b/composer.patches.json index 9b94a86c..a5009468 100644 --- a/composer.patches.json +++ b/composer.patches.json @@ -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/patches/themes/0187-twentytwelve.patch b/patches/themes/0187-twentytwelve.patch deleted file mode 100644 index 0775582a..00000000 --- a/patches/themes/0187-twentytwelve.patch +++ /dev/null @@ -1,20 +0,0 @@ -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. -- GitLab