diff --git a/gutenberg.php b/gutenberg.php index 37215edb4a89d7..c096463f53bf13 100644 --- a/gutenberg.php +++ b/gutenberg.php @@ -28,6 +28,25 @@ function the_gutenberg_project() { global $post_type_object; ?> +

labels->edit_item ); ?>

@@ -123,7 +142,7 @@ function is_gutenberg_page() { */ function gutenberg_wordpress_version_notice() { echo '

'; - echo __( 'Gutenberg requires WordPress 4.9.8 or later to function properly. Please upgrade WordPress before activating Gutenberg.', 'gutenberg' ); + _e( 'Gutenberg requires WordPress 4.9.8 or later to function properly. Please upgrade WordPress before activating Gutenberg.', 'gutenberg' ); echo '

'; deactivate_plugins( array( 'gutenberg/gutenberg.php' ) ); @@ -136,7 +155,7 @@ function gutenberg_wordpress_version_notice() { */ function gutenberg_build_files_notice() { echo '

'; - echo __( 'Gutenberg development mode requires files to be built. Run npm install to install dependencies, npm run build to build the files or npm run dev to build the files and watch for changes. Read the contributing file for more information.', 'gutenberg' ); + _e( 'Gutenberg development mode requires files to be built. Run npm install to install dependencies, npm run build to build the files or npm run dev to build the files and watch for changes. Read the contributing file for more information.', 'gutenberg' ); echo '

'; } diff --git a/packages/edit-post/src/components/fullscreen-mode/style.scss b/packages/edit-post/src/components/fullscreen-mode/style.scss index 4afd36c4b8eb6f..b1ed94ff7452f2 100644 --- a/packages/edit-post/src/components/fullscreen-mode/style.scss +++ b/packages/edit-post/src/components/fullscreen-mode/style.scss @@ -1,4 +1,4 @@ -body.is-fullscreen-mode { +body.js.is-fullscreen-mode { // Reset the html.wp-topbar padding // Because this uses negative margins, we have to compensate for the height. margin-top: -$admin-bar-height-big;