Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
N
noblogs-composer
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Container registry
Model registry
Monitor
Service Desk
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Noblogs
noblogs-composer
Commits
54efe639
Commit
54efe639
authored
4 years ago
by
ale
Browse files
Options
Downloads
Patches
Plain Diff
Remove 0187-twentytwelve patch
Something happened to functions.php.
parent
94d37e06
Branches
Branches containing commit
No related tags found
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
composer.patches.json
+0
-1
0 additions, 1 deletion
composer.patches.json
patches/themes/0187-twentytwelve.patch
+0
-20
0 additions, 20 deletions
patches/themes/0187-twentytwelve.patch
with
0 additions
and
21 deletions
composer.patches.json
+
0
−
1
View file @
54efe639
...
...
@@ -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"
,
...
...
This diff is collapsed.
Click to expand it.
patches/themes/0187-twentytwelve.patch
deleted
100644 → 0
+
0
−
20
View file @
94d37e06
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.
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment