diff --git a/projects/plugins/jetpack/_inc/genericons.php b/projects/plugins/jetpack/_inc/genericons.php index 77b82d3c340f5..530da0651eaae 100644 --- a/projects/plugins/jetpack/_inc/genericons.php +++ b/projects/plugins/jetpack/_inc/genericons.php @@ -7,8 +7,6 @@ * @package automattic/jetpack */ -add_action( 'init', 'jetpack_register_genericons', 1 ); - /** * Registers Genericons if not already done so by other code. */ diff --git a/projects/plugins/jetpack/_inc/social-logos.php b/projects/plugins/jetpack/_inc/social-logos.php index a33ed7143aee9..17776cfefc075 100644 --- a/projects/plugins/jetpack/_inc/social-logos.php +++ b/projects/plugins/jetpack/_inc/social-logos.php @@ -28,4 +28,3 @@ function jetpack_register_social_logos() { ); } } -add_action( 'init', 'jetpack_register_social_logos', 1 ); diff --git a/projects/plugins/jetpack/changelog/fix-remove-excessive-social-logos-hook b/projects/plugins/jetpack/changelog/fix-remove-excessive-social-logos-hook new file mode 100644 index 0000000000000..8703af49716d4 --- /dev/null +++ b/projects/plugins/jetpack/changelog/fix-remove-excessive-social-logos-hook @@ -0,0 +1,4 @@ +Significance: patch +Type: other + +Remove excessive hook from social logos and genericons.