Skip to content

Commit

Permalink
Merge pull request #123 from alleyinteractive/122-post-blockcontrols-…
Browse files Browse the repository at this point in the history
…toolbar-ui-overlays-post-selector-pin-button

Move PostPicker below InnerBlocks
  • Loading branch information
ellm authored Jan 25, 2024
2 parents f2f7d77 + 8b7f9c7 commit aa08f9b
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 2 deletions.
4 changes: 4 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,10 @@

All notable changes to `WP Curate` will be documented in this file.

## 1.5.1 - 2023-01-25

- Bug Fix: Avoid BlockControl toolbar obstructing PostPicker button when Post inner blocks are selected.

## 1.5.0 - 2023-12-13

- Enhancement: Bumps tested up to and requires WP to 6.4.
Expand Down
2 changes: 1 addition & 1 deletion blocks/post/edit.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -83,6 +83,7 @@ export default function Edit({
},
)}
>
<InnerBlocks />
{isParentOfSelectedBlock || isSelected ? (
<PostPicker
allowedTypes={postTypes}
Expand All @@ -96,7 +97,6 @@ export default function Edit({
replaceText={__('Pin a different post', 'wp-curate')}
/>
) : null}
<InnerBlocks />
</div>
);
}
2 changes: 1 addition & 1 deletion wp-curate.php
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
* Plugin Name: WP Curate
* Plugin URI: https://github.com/alleyinteractive/wp-curate
* Description: Plugin to curate homepages and other landing pages
* Version: 1.5.0
* Version: 1.5.1
* Author: Alley Interactive
* Author URI: https://github.com/alleyinteractive/wp-curate
* Requires at least: 6.4
Expand Down

0 comments on commit aa08f9b

Please sign in to comment.