diff --git a/gutenberg.php b/gutenberg.php index 327a6dba8e76fc..39e042e4e501e2 100644 --- a/gutenberg.php +++ b/gutenberg.php @@ -567,3 +567,27 @@ function gutenberg_add_responsive_body_class( $classes ) { } add_filter( 'body_class', 'gutenberg_add_responsive_body_class' ); + + +/** + * Prints JavaScript to detect whether the browser is in standards mode or not. + * + * @since 4.5 + */ +function gutenberg_detect_quirks_mode() { + ?> + +