Skip to content

Commit

Permalink
fix: update sponsorship byline dropdown description (#207)
Browse files Browse the repository at this point in the history
  • Loading branch information
laurelfulford authored Sep 26, 2022
1 parent e5cc89a commit a64c800
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 2 deletions.
2 changes: 1 addition & 1 deletion includes/class-core.php
Original file line number Diff line number Diff line change
Expand Up @@ -235,7 +235,7 @@ public static function register_meta() {
'post',
'newspack_sponsor_native_byline_display',
[
'description' => __( 'Display the sponsorship only, the author byline only, or both.', 'newspack-sponsors' ),
'description' => __( 'Display the sponsor only in the byline, or both the sponsor and post author.', 'newspack-sponsors' ),
'type' => 'string',
'default' => self::is_sponsor() ? 'sponsor' : 'inherit',
'sanitize_callback' => 'sanitize_text_field',
Expand Down
5 changes: 4 additions & 1 deletion src/editor/sidebar/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -102,7 +102,10 @@ const SidebarComponent = props => {
value={ newspack_sponsor_native_byline_display || bylineDefault }
options={ bylineOptions }
onChange={ value => updateMetaValue( 'newspack_sponsor_native_byline_display', value ) }
help={ __( 'Show the sponsor, the author byline, or both.', 'newspack-sponsors' ) }
help={ __(
'Display the sponsor only in the byline, or both the sponsor and post author.',
'newspack-sponsors'
) }
/>
<SelectControl
className="newspack-sponsors__select-control"
Expand Down

0 comments on commit a64c800

Please sign in to comment.