diff --git a/composer.patches.json b/composer.patches.json index 9b94a86ceb93c51f745795b1e0a7ae3becc136d7..a50094689c33b24dc8d3871b3cac35c1e804bb02 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 0775582ae18bbafcffd5e58447704e6f2ac06752..0000000000000000000000000000000000000000 --- 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.