Skip to content
Merged
Changes from 1 commit
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
Prev Previous commit
Next Next commit
adjust copy of new page to show draft
  • Loading branch information
SaxonF committed May 15, 2023
commit 216bb20fd298c15216a6574b0e144564cad8c955
6 changes: 3 additions & 3 deletions packages/edit-site/src/components/add-new-page/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -117,7 +117,7 @@ export default function AddNewPageModal() {
if ( ! isCreatePageModalOpen.isOpen ) return null;

return (
<Modal title="Create a new page" onRequestClose={ handleClose }>
<Modal title="Draft a new page" onRequestClose={ handleClose }>
<form onSubmit={ createPage }>
<VStack spacing={ 3 }>
<TextControl
Expand All @@ -128,15 +128,15 @@ export default function AddNewPageModal() {
/>
<HStack spacing={ 2 } justify="end">
<Button variant="tertiary" onClick={ handleClose }>
Cancel
{ __( 'Cancel' ) }
</Button>
<Button
variant="primary"
type="submit"
isBusy={ isCreatingPage }
aria-disabled={ isCreatingPage }
>
Create
{ __( 'Create draft' ) }
</Button>
</HStack>
</VStack>
Expand Down