Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
18 changes: 15 additions & 3 deletions packages/edit-site/src/components/post-list/quick-edit-modal.js
Original file line number Diff line number Diff line change
Expand Up @@ -103,8 +103,14 @@ export function QuickEditModal( { postType, postId, closeModal } ) {
},
{
id: 'status',
label: __( 'Status & Visibility' ),
children: [ 'status', 'password' ],
label: __( 'Status' ),
children: [
{
id: 'status',
layout: { type: 'regular', labelPosition: 'none' },
},
'password',
],
},
'author',
'date',
Expand All @@ -113,7 +119,13 @@ export function QuickEditModal( { postType, postId, closeModal } ) {
{
id: 'discussion',
label: __( 'Discussion' ),
children: [ 'comment_status', 'ping_status' ],
children: [
{
id: 'comment_status',
layout: { type: 'regular', labelPosition: 'none' },
},
'ping_status',
],
},
'template',
];
Expand Down
6 changes: 3 additions & 3 deletions test/e2e/specs/site-editor/page-list.spec.js
Original file line number Diff line number Diff line change
Expand Up @@ -114,7 +114,7 @@ test.describe( 'Page List', () => {
statusVisibility: {
performEdit: async ( page ) => {
const editButton = page.getByRole( 'button', {
name: 'Edit Status & Visibility',
name: 'Edit Status',
} );
await editButton.locator( '..' ).hover();
await editButton.click();
Expand Down Expand Up @@ -146,7 +146,7 @@ test.describe( 'Page List', () => {
assertInitialState: async ( page ) => {
const statusAndVisibility = page
.getByRole( 'button', {
name: 'Edit Status & Visibility',
name: 'Edit Status',
} )
.locator( '..' );
await expect( statusAndVisibility ).toContainText(
Expand All @@ -156,7 +156,7 @@ test.describe( 'Page List', () => {
assertEditedState: async ( page ) => {
const statusAndVisibility = page
.getByRole( 'button', {
name: 'Edit Status & Visibility',
name: 'Edit Status',
} )
.locator( '..' );
await expect( statusAndVisibility ).toContainText(
Expand Down
Loading