From 94b171a3221b8cdfef2eb671b2b3f324765b0967 Mon Sep 17 00:00:00 2001 From: Maximilian Möhring Date: Fri, 7 Jan 2022 17:27:17 +0100 Subject: Fix vertical rhythm. --- functions.php | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'functions.php') diff --git a/functions.php b/functions.php index 6071f24..fedd8a8 100644 --- a/functions.php +++ b/functions.php @@ -122,8 +122,8 @@ add_filter('posts_where', 'Delay_RSS_After_Publish'); * * It seems it doesn't work though. */ -add_filter('rest_enabled', '_return_false'); -add_filter('rest_jsonp_enabled', '_return_false'); +#add_filter('rest_enabled', '_return_false'); +#add_filter('rest_jsonp_enabled', '_return_false'); remove_action( 'wp_head', 'rest_output_link_wp_head', 10 ); remove_action( 'wp_head', 'wp_oembed_add_discovery_links', 10 ); @@ -288,7 +288,7 @@ if( function_exists('bcn_display_list') ) { } return $output; } - add_filter('bcn_display_attributes', my_display_attributes_filter, 10, 3); + add_filter('bcn_display_attributes', 'my_display_attributes_filter', 10, 3); /** * Reduces padding when breadcrumbs are visible (not on the front page). -- cgit v1.2.3