Skip to content

Commit

Permalink
Editor: fix site editor layout bug.
Browse files Browse the repository at this point in the history
Removes additional wrapper introduced in [56025], which interfered with the site editor flex layout.

Props ramonopoly, kevin940726, joedolson.
Fixes 56228.


git-svn-id: https://develop.svn.wordpress.org/trunk@56029 602fd350-edb4-49c9-b593-d223f7449a82
  • Loading branch information
tellthemachines committed Jun 26, 2023
1 parent f571f45 commit 9d4f4a9
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions src/wp-admin/site-editor.php
Original file line number Diff line number Diff line change
Expand Up @@ -132,9 +132,7 @@ static function( $classes ) {
require_once ABSPATH . 'wp-admin/admin-header.php';
?>

<div class="edit-site">
<div id="site-editor"></div>

<div class="edit-site" id="site-editor">
<?php // JavaScript is disabled. ?>
<div class="wrap hide-if-js site-editor-no-js">
<h1 class="wp-heading-inline"><?php _e( 'Edit site' ); ?></h1>
Expand Down

0 comments on commit 9d4f4a9

Please sign in to comment.