Skip to content

Commit

Permalink
fix typo
Browse files Browse the repository at this point in the history
  • Loading branch information
macbookandrew committed Jan 16, 2024
1 parent 6e9f458 commit 9a35b29
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions wp-youtube-live.php
Original file line number Diff line number Diff line change
Expand Up @@ -319,8 +319,8 @@ function wp_ytl_plugin_activation() {
}

// added in v1.7.0.
if ( ! array_key_exists( 'show_relatetd', $request_options ) ) {
$request_options['show_relatetd'] = false;
if ( ! array_key_exists( 'show_related', $request_options ) ) {
$request_options['show_related'] = false;
}

update_option( 'youtube_live_settings', $request_options );
Expand Down

0 comments on commit 9a35b29

Please sign in to comment.