summaryrefslogtreecommitdiff
path: root/functions.php
diff options
context:
space:
mode:
Diffstat (limited to 'functions.php')
-rw-r--r--functions.php6
1 files changed, 3 insertions, 3 deletions
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).