Edit File by line

Deprecated: str_replace(): Passing null to parameter #2 ($replace) of type array|string is deprecated in /home/sportsfever/public_html/filemanger/function.php on line 93
/home/sportsfe.../httpdocs/wp-conte.../plugins/embedpre.../EmbedPre.../Ends/Back/Settings/template...
File: soundcloud.php
<?php
[0] Fix | Delete
/*
[1] Fix | Delete
* SoundCloud Settings page
[2] Fix | Delete
* All undefined vars comes from 'render_settings_page' method
[3] Fix | Delete
* */
[4] Fix | Delete
$visual = isset($sc_settings['visual']) ? sanitize_text_field($sc_settings['visual']) : '';
[5] Fix | Delete
$autoplay = isset($sc_settings['autoplay']) ? sanitize_text_field($sc_settings['autoplay']) : '';
[6] Fix | Delete
$share_button = isset($sc_settings['share_button']) ? sanitize_text_field($sc_settings['share_button']) : '';
[7] Fix | Delete
$comments = isset($sc_settings['comments']) ? intval($sc_settings['comments']) : 1;
[8] Fix | Delete
$color = isset($sc_settings['color']) ? sanitize_text_field($sc_settings['color']) : '#dd3333';
[9] Fix | Delete
$artwork = isset($sc_settings['artwork']) ? sanitize_text_field($sc_settings['artwork']) : '';
[10] Fix | Delete
$play_count = isset($sc_settings['play_count']) ? intval($sc_settings['play_count']) : 1;
[11] Fix | Delete
$username = isset($sc_settings['username']) ? intval($sc_settings['username']) : 1;
[12] Fix | Delete
// pro
[13] Fix | Delete
$download_button = isset($sc_settings['download_button']) ? intval($sc_settings['download_button']) : 1;
[14] Fix | Delete
$buy_button = isset($sc_settings['buy_button']) ? intval($sc_settings['buy_button']) : 1;
[15] Fix | Delete
[16] Fix | Delete
?>
[17] Fix | Delete
[18] Fix | Delete
<div class="embedpress__settings background__white radius-25 p40">
[19] Fix | Delete
<h3><?php esc_html_e( "SoundCloud Settings", "embedpress" ); ?></h3>
[20] Fix | Delete
<div class="embedpress__settings__form">
[21] Fix | Delete
<form action="" method="post" class="embedpress-settings-form" >
[22] Fix | Delete
<?php
[23] Fix | Delete
do_action( 'embedpress_before_dailymotion_settings_fields');
[24] Fix | Delete
echo $nonce_field ; ?>
[25] Fix | Delete
<div class="form__group">
[26] Fix | Delete
<p class="form__label"><?php esc_html_e( "Visual Player", "embedpress" ); ?></p>
[27] Fix | Delete
<div class="form__control__wrap">
[28] Fix | Delete
<div class="input__flex input__radio_wrap" data-default="<?php echo esc_attr( $visual ); ?>" data-value="<?php echo esc_attr( $visual ); ?>">
[29] Fix | Delete
<label class="input__radio">
[30] Fix | Delete
<input type="radio" name="visual" value="" <?php checked( '', $visual); ?>>
[31] Fix | Delete
<span><?php esc_html_e( "No", "embedpress" ); ?></span>
[32] Fix | Delete
</label>
[33] Fix | Delete
<label class="input__radio">
[34] Fix | Delete
<input type="radio" name="visual" value="1" <?php checked( '1', $visual); ?>>
[35] Fix | Delete
<span><?php esc_html_e( "Yes", "embedpress" ); ?></span>
[36] Fix | Delete
</label>
[37] Fix | Delete
</div>
[38] Fix | Delete
</div>
[39] Fix | Delete
</div>
[40] Fix | Delete
<div class="form__group">
[41] Fix | Delete
<p class="form__label"><?php esc_html_e( "Scheme", "embedpress" ); ?></p>
[42] Fix | Delete
<div class="form__control__wrap">
[43] Fix | Delete
<input type="text" class="form__control ep-color-picker" name="color" value="<?php echo esc_attr( $color); ?>" data-default="<?php echo esc_attr( $color ); ?>">
[44] Fix | Delete
</div>
[45] Fix | Delete
</div>
[46] Fix | Delete
[47] Fix | Delete
<div class="form__group">
[48] Fix | Delete
<p class="form__label"><?php esc_html_e( "Auto Play", "embedpress" ); ?></p>
[49] Fix | Delete
<div class="form__control__wrap">
[50] Fix | Delete
<div class="input__flex input__radio_wrap" data-default="<?php echo esc_attr( $autoplay ); ?>" data-value="<?php echo esc_attr( $autoplay ); ?>">
[51] Fix | Delete
<label class="input__radio">
[52] Fix | Delete
<input type="radio" name="autoplay" value="" <?php checked( '', $autoplay); ?>>
[53] Fix | Delete
<span><?php esc_html_e( "No", "embedpress" ); ?></span>
[54] Fix | Delete
</label>
[55] Fix | Delete
<label class="input__radio">
[56] Fix | Delete
<input type="radio" name="autoplay" value="1" <?php checked( '1', $autoplay); ?>>
[57] Fix | Delete
<span><?php esc_html_e( "Yes", "embedpress" ); ?></span>
[58] Fix | Delete
</label>
[59] Fix | Delete
</div>
[60] Fix | Delete
<p><?php esc_html_e( "Automatically start to play the videos when the player loads.", "embedpress" ); ?></p>
[61] Fix | Delete
</div>
[62] Fix | Delete
</div>
[63] Fix | Delete
[64] Fix | Delete
[65] Fix | Delete
<div class="form__group">
[66] Fix | Delete
<p class="form__label"><?php esc_html_e( "Buy Button", "embedpress" ); echo !$pro_active ? ' <span class="isPro">PRO</span>': ''; ?></p>
[67] Fix | Delete
<div class="form__control__wrap">
[68] Fix | Delete
<div class="input__flex input__radio_wrap <?php echo $pro_active ? '': 'isPro'; ?>" data-default="<?php echo esc_attr( $buy_button ); ?>" data-value="<?php echo esc_attr( $buy_button ); ?>">
[69] Fix | Delete
<label class="input__radio">
[70] Fix | Delete
<input type="radio" name="buy_button" value="" <?php echo !$pro_active ? 'disabled ' : ''; checked( '', $buy_button); ?>>
[71] Fix | Delete
<span><?php esc_html_e( "Hide", "embedpress" ); ?></span>
[72] Fix | Delete
</label>
[73] Fix | Delete
<label class="input__radio">
[74] Fix | Delete
<input type="radio" name="buy_button" value="1" <?php echo !$pro_active ? 'disabled ' : ''; checked( '1', $buy_button);?>>
[75] Fix | Delete
<span><?php esc_html_e( "Show", "embedpress" ); ?></span>
[76] Fix | Delete
</label>
[77] Fix | Delete
</div>
[78] Fix | Delete
<?php if ( !$pro_active ) { include EMBEDPRESS_SETTINGS_PATH . 'templates/partials/alert-pro.php'; } ?>
[79] Fix | Delete
</div>
[80] Fix | Delete
</div>
[81] Fix | Delete
[82] Fix | Delete
[83] Fix | Delete
<div class="form__group">
[84] Fix | Delete
<p class="form__label"><?php esc_html_e( "Download Button", "embedpress" ); echo !$pro_active ? ' <span class="isPro">PRO</span>': ''; ?></p>
[85] Fix | Delete
<div class="form__control__wrap">
[86] Fix | Delete
<div class="input__flex input__radio_wrap <?php echo $pro_active ? '': 'isPro'; ?>" data-default="<?php echo esc_attr( $download_button ); ?>" data-value="<?php echo esc_attr( $download_button ); ?>">
[87] Fix | Delete
<label class="input__radio">
[88] Fix | Delete
<input type="radio" name="download_button" value="" <?php echo !$pro_active ? 'disabled ' : ''; checked( '', $download_button); ?>>
[89] Fix | Delete
<span><?php esc_html_e( "Hide", "embedpress" ); ?></span>
[90] Fix | Delete
</label>
[91] Fix | Delete
<label class="input__radio">
[92] Fix | Delete
<input type="radio" name="download_button" value="1" <?php echo !$pro_active ? 'disabled ' : ''; checked( '1', $download_button);?>>
[93] Fix | Delete
<span><?php esc_html_e( "Show", "embedpress" ); ?></span>
[94] Fix | Delete
</label>
[95] Fix | Delete
</div>
[96] Fix | Delete
<?php if ( !$pro_active ) { include EMBEDPRESS_SETTINGS_PATH . 'templates/partials/alert-pro.php'; } ?>
[97] Fix | Delete
</div>
[98] Fix | Delete
</div>
[99] Fix | Delete
[100] Fix | Delete
<div class="form__group">
[101] Fix | Delete
<p class="form__label"><?php esc_html_e( "Share Button", "embedpress" ); ?></p>
[102] Fix | Delete
<div class="form__control__wrap">
[103] Fix | Delete
<div class="input__flex input__radio_wrap" data-default="<?php echo esc_attr( $share_button ); ?>" data-value="<?php echo esc_attr( $share_button ); ?>">
[104] Fix | Delete
<label class="input__radio">
[105] Fix | Delete
<input type="radio" name="share_button" value="" <?php checked( '', $share_button); ?>>
[106] Fix | Delete
<span><?php esc_html_e( "Hide", "embedpress" ); ?></span>
[107] Fix | Delete
</label>
[108] Fix | Delete
<label class="input__radio">
[109] Fix | Delete
<input type="radio" name="share_button" value="1" <?php checked( '1', $share_button); ?>>
[110] Fix | Delete
<span><?php esc_html_e( "Show", "embedpress" ); ?></span>
[111] Fix | Delete
</label>
[112] Fix | Delete
</div>
[113] Fix | Delete
</div>
[114] Fix | Delete
</div>
[115] Fix | Delete
<div class="form__group">
[116] Fix | Delete
<p class="form__label"><?php esc_html_e( "Comments", "embedpress" ); ?></p>
[117] Fix | Delete
<div class="form__control__wrap">
[118] Fix | Delete
<div class="input__flex input__radio_wrap" data-default="<?php echo esc_attr( $comments ); ?>" data-value="<?php echo esc_attr( $comments ); ?>">
[119] Fix | Delete
<label class="input__radio">
[120] Fix | Delete
<input type="radio" name="comments" value="" <?php checked( '', $comments); ?>>
[121] Fix | Delete
<span><?php esc_html_e( "Hide", "embedpress" ); ?></span>
[122] Fix | Delete
</label>
[123] Fix | Delete
<label class="input__radio">
[124] Fix | Delete
<input type="radio" name="comments" value="1" <?php checked( '1', $comments); ?>>
[125] Fix | Delete
<span><?php esc_html_e( "Show", "embedpress" ); ?></span>
[126] Fix | Delete
</label>
[127] Fix | Delete
</div>
[128] Fix | Delete
</div>
[129] Fix | Delete
</div>
[130] Fix | Delete
[131] Fix | Delete
<div class="form__group">
[132] Fix | Delete
<p class="form__label"><?php esc_html_e( "Artwork", "embedpress" ); ?></p>
[133] Fix | Delete
<div class="form__control__wrap">
[134] Fix | Delete
<div class="input__flex input__radio_wrap" data-default="<?php echo esc_attr( $artwork ); ?>" data-value="<?php echo esc_attr( $artwork ); ?>">
[135] Fix | Delete
<label class="input__radio">
[136] Fix | Delete
<input type="radio" name="artwork" value="" <?php checked( '', $artwork); ?>>
[137] Fix | Delete
<span><?php esc_html_e( "Hide", "embedpress" ); ?></span>
[138] Fix | Delete
</label>
[139] Fix | Delete
<label class="input__radio">
[140] Fix | Delete
<input type="radio" name="artwork" value="1" <?php checked( '1', $artwork); ?>>
[141] Fix | Delete
<span><?php esc_html_e( "Show", "embedpress" ); ?></span>
[142] Fix | Delete
</label>
[143] Fix | Delete
</div>
[144] Fix | Delete
<p><?php esc_html_e( 'Artwork option works when Visual option is disabled', 'embedpress'); ?> </p>
[145] Fix | Delete
[146] Fix | Delete
</div>
[147] Fix | Delete
</div>
[148] Fix | Delete
[149] Fix | Delete
[150] Fix | Delete
<div class="form__group">
[151] Fix | Delete
<p class="form__label"><?php esc_html_e( "Play Count", "embedpress" ); ?></p>
[152] Fix | Delete
<div class="form__control__wrap">
[153] Fix | Delete
<div class="input__flex input__radio_wrap" data-default="<?php echo esc_attr( $play_count ); ?>" data-value="<?php echo esc_attr( $play_count ); ?>">
[154] Fix | Delete
<label class="input__radio">
[155] Fix | Delete
<input type="radio" name="play_count" value="" <?php checked( '', $play_count); ?>>
[156] Fix | Delete
<span><?php esc_html_e( "Hide", "embedpress" ); ?></span>
[157] Fix | Delete
</label>
[158] Fix | Delete
<label class="input__radio">
[159] Fix | Delete
<input type="radio" name="play_count" value="1" <?php checked( '1', $play_count); ?>>
[160] Fix | Delete
<span><?php esc_html_e( "Show", "embedpress" ); ?></span>
[161] Fix | Delete
</label>
[162] Fix | Delete
</div>
[163] Fix | Delete
<p><?php esc_html_e( 'Play count option works when Visual option is disabled', 'embedpress'); ?> </p>
[164] Fix | Delete
[165] Fix | Delete
</div>
[166] Fix | Delete
</div>
[167] Fix | Delete
[168] Fix | Delete
[169] Fix | Delete
<div class="form__group">
[170] Fix | Delete
<p class="form__label"><?php esc_html_e( "Username", "embedpress" ); ?></p>
[171] Fix | Delete
<div class="form__control__wrap">
[172] Fix | Delete
<div class="input__flex input__radio_wrap" data-default="<?php echo esc_attr( $username ); ?>" data-value="<?php echo esc_attr( $username ); ?>">
[173] Fix | Delete
<label class="input__radio">
[174] Fix | Delete
<input type="radio" name="username" value="" <?php checked( '', $username); ?>>
[175] Fix | Delete
<span><?php esc_html_e( "Hide", "embedpress" ); ?></span>
[176] Fix | Delete
</label>
[177] Fix | Delete
<label class="input__radio">
[178] Fix | Delete
<input type="radio" name="username" value="1" <?php checked( '1', $username); ?>>
[179] Fix | Delete
<span><?php esc_html_e( "Show", "embedpress" ); ?></span>
[180] Fix | Delete
</label>
[181] Fix | Delete
</div>
[182] Fix | Delete
</div>
[183] Fix | Delete
</div>
[184] Fix | Delete
[185] Fix | Delete
<?php do_action( 'embedpress_after_dailymotion_settings_fields'); ?>
[186] Fix | Delete
<button class="button button__themeColor radius-10 embedpress-submit-btn" name="submit" value="soundcloud"><?php esc_html_e( 'Save Changes', 'embedpress'); ?></button>
[187] Fix | Delete
</form>
[188] Fix | Delete
</div>
[189] Fix | Delete
</div>
[190] Fix | Delete
[191] Fix | Delete
It is recommended that you Edit text format, this type of Fix handles quite a lot in one request
Function