Skip to content

Commit

Permalink
Cover Image: Change the label from "Background Dimness" to "Backgroun…
Browse files Browse the repository at this point in the history
…d Opacity". (#7854)

Fixes #7853.

## Description
I've change the label on the Cover Image block "Background Dimness" slider to "Background Opacity".

## How has this been tested?
I ran `npm run dev` to test this.

## Screenshots

<img width="553" alt="background-opacity" src="https://user-images.githubusercontent.com/1377956/42488996-d890549c-844b-11e8-8852-bd3fa15d0d1d.png">


## Types of changes
It's just a label change as dimness isn't a commonly used word.

## Checklist:
- [x] My code is tested.
- [x] My code follows the WordPress code style. <!-- Check code: `npm run lint`, Guidelines: https://make.wordpress.org/core/handbook/best-practices/coding-standards/javascript/ -->
- [x] My code follows the accessibility standards. <!-- Guidelines: https://make.wordpress.org/core/handbook/best-practices/coding-standards/accessibility-coding-standards/ -->
- [x] My code has proper inline documentation. <!-- Guidelines: https://make.wordpress.org/core/handbook/best-practices/inline-documentation-standards/javascript/ -->
  • Loading branch information
Bronson Quick authored and ntwb committed Jul 10, 2018
1 parent c314b15 commit 1af89da
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion core-blocks/cover-image/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -161,7 +161,7 @@ export const settings = {
onChange={ toggleParallax }
/>
<RangeControl
label={ __( 'Background Dimness' ) }
label={ __( 'Background Opacity' ) }
value={ dimRatio }
onChange={ setDimRatio }
min={ 0 }
Expand Down

0 comments on commit 1af89da

Please sign in to comment.