Skip to content

Commit a64c800

Browse files
fix: update sponsorship byline dropdown description (#207)
1 parent e5cc89a commit a64c800

File tree

2 files changed

+5
-2
lines changed

2 files changed

+5
-2
lines changed

includes/class-core.php

+1-1
Original file line numberDiff line numberDiff line change
@@ -235,7 +235,7 @@ public static function register_meta() {
235235
'post',
236236
'newspack_sponsor_native_byline_display',
237237
[
238-
'description' => __( 'Display the sponsorship only, the author byline only, or both.', 'newspack-sponsors' ),
238+
'description' => __( 'Display the sponsor only in the byline, or both the sponsor and post author.', 'newspack-sponsors' ),
239239
'type' => 'string',
240240
'default' => self::is_sponsor() ? 'sponsor' : 'inherit',
241241
'sanitize_callback' => 'sanitize_text_field',

src/editor/sidebar/index.js

+4-1
Original file line numberDiff line numberDiff line change
@@ -102,7 +102,10 @@ const SidebarComponent = props => {
102102
value={ newspack_sponsor_native_byline_display || bylineDefault }
103103
options={ bylineOptions }
104104
onChange={ value => updateMetaValue( 'newspack_sponsor_native_byline_display', value ) }
105-
help={ __( 'Show the sponsor, the author byline, or both.', 'newspack-sponsors' ) }
105+
help={ __(
106+
'Display the sponsor only in the byline, or both the sponsor and post author.',
107+
'newspack-sponsors'
108+
) }
106109
/>
107110
<SelectControl
108111
className="newspack-sponsors__select-control"

0 commit comments

Comments
 (0)