From 87338121b4feefbbb84e9744294168e434a9d259 Mon Sep 17 00:00:00 2001 From: Andrew Duthie Date: Wed, 23 Jan 2019 12:13:50 -0500 Subject: [PATCH] Plugin: Avoid calling deprecated gutenberg_silence_rest_errors --- gutenberg.php | 4 ---- 1 file changed, 4 deletions(-) diff --git a/gutenberg.php b/gutenberg.php index 655e883859fda6..29259acfadc277 100644 --- a/gutenberg.php +++ b/gutenberg.php @@ -187,10 +187,6 @@ function gutenberg_pre_init() { require_once dirname( __FILE__ ) . '/lib/load.php'; - if ( function_exists( 'gutenberg_silence_rest_errors' ) ) { - gutenberg_silence_rest_errors(); - } - add_filter( 'replace_editor', 'gutenberg_init', 10, 2 ); }