* Set target to blank for external links
This commit is contained in:
Moon 2021-05-18 01:40:02 -07:00 committed by GitHub
parent 9bd4eef17e
commit f0b494142e
3 changed files with 12 additions and 0 deletions

View File

@ -2,6 +2,16 @@
## Unreleased
### Set target to blank for the external links #6999
1. Clone this repository.
2. Complete the OBW
3. Navigate to WooCommerce -> Home
4. Hide the Setup task list on the Home screen.
5. Note that the Store Management section appears on the Home screen.
6. Click on the Visit My Store link.
7. Observe that the link opens in a new tab.
### Exclude WC Shipping for store that are only offering downloadable products #6917
1. Start OBW and enter an address that is in the US.

View File

@ -20,6 +20,7 @@ export const QuickLink = ( { icon, title, href, linkType, onClick } ) => {
onClick={ onClick }
href={ href }
type={ linkType }
target={ isExternal ? '_blank' : null }
className="woocommerce-quick-links__item-link"
>
<Icon

View File

@ -109,6 +109,7 @@ Release and roadmap notes are available on the [WooCommerce Developers Blog](htt
- Fix: SelectControl focus and de-focus bug #6906
- Fix: Multiple preload tag output bug. #6998
- Fix: Call existing filters for leaderboards in analytics. #6626
- Fix: Set target to blank for the external links #6999
- Tweak: Only fetch remote payment gateway recommendations when opted in #6964
- Update: Task list component with new Experimental Task list. #6849
- Update: Experimental task list import to the experimental package. #6950