Skip to content

Commit

Permalink
Plugin: Avoid calling deprecated gutenberg_silence_rest_errors (#13446)
Browse files Browse the repository at this point in the history
  • Loading branch information
aduth authored Jan 24, 2019
1 parent 884cabf commit eab7642
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions gutenberg.php
Original file line number Diff line number Diff line change
Expand Up @@ -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 );
}

Expand Down

0 comments on commit eab7642

Please sign in to comment.