Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions jw-player/include/media.php
Original file line number Diff line number Diff line change
Expand Up @@ -21,8 +21,8 @@ function jwplayer_media_sync_form_html( $media ) {
$html .= 'Disabling sync is currently not possible, because it would break your media embeds. ';
$html .= '</p>';
} else {
$html .= "<label for='attachments[$media->ID][jwplayer_media_sync]'>";
$html .= "<input type='checkbox' value='sync' name='attachments[$media->ID][jwplayer_media_sync]' />";
$html .= '<label for="'.esc_attr( 'attachments['.$media->ID.'][jwplayer_media_sync]').'">';
$html .= '<input type="checkbox" value="sync" name="'.esc_attr( 'attachments['.$media->ID.'][jwplayer_media_sync]' ).'" />';
$html .= '&nbsp;&nbsp;Sync to JW Player';
$html .= '</label>';
$html .= '<p class="description">';
Expand Down