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/portfoli.../bws_menu
File: deprecated.php
<?php
[0] Fix | Delete
if ( ! defined( 'ABSPATH' ) ) exit;
[1] Fix | Delete
[2] Fix | Delete
/**
[3] Fix | Delete
* Deprecated functions for BestWebSoft plugins
[4] Fix | Delete
*/
[5] Fix | Delete
[6] Fix | Delete
/**
[7] Fix | Delete
* Function add BWS Plugins page
[8] Fix | Delete
*
[9] Fix | Delete
* @deprecated 1.9.8 (15.12.2016)
[10] Fix | Delete
* @return void
[11] Fix | Delete
*/
[12] Fix | Delete
if ( ! function_exists( 'bws_general_menu' ) ) {
[13] Fix | Delete
function bws_general_menu() {
[14] Fix | Delete
global $menu, $bws_general_menu_exist;
[15] Fix | Delete
[16] Fix | Delete
if ( ! $bws_general_menu_exist ) {
[17] Fix | Delete
/* we check also menu exist in global array as in old plugins $bws_general_menu_exist variable not exist */
[18] Fix | Delete
foreach ( $menu as $value_menu ) {
[19] Fix | Delete
if ( 'bws_panel' === $value_menu[2] ) {
[20] Fix | Delete
$bws_general_menu_exist = true;
[21] Fix | Delete
return;
[22] Fix | Delete
}
[23] Fix | Delete
}
[24] Fix | Delete
[25] Fix | Delete
add_menu_page( 'BWS Panel', 'BWS Panel', 'manage_options', 'bws_panel', 'bws_add_menu_render', 'none', '1001' );
[26] Fix | Delete
[27] Fix | Delete
add_submenu_page( 'bws_panel', esc_html__( 'Plugins', 'bestwebsoft' ), esc_html__( 'Plugins', 'bestwebsoft' ), 'manage_options', 'bws_panel', 'bws_add_menu_render' );
[28] Fix | Delete
add_submenu_page( 'bws_panel', esc_html__( 'Themes', 'bestwebsoft' ), esc_html__( 'Themes', 'bestwebsoft' ), 'manage_options', 'bws_themes', 'bws_add_menu_render' );
[29] Fix | Delete
add_submenu_page( 'bws_panel', esc_html__( 'System Status', 'bestwebsoft' ), esc_html__( 'System Status', 'bestwebsoft' ), 'manage_options', 'bws_system_status', 'bws_add_menu_render' );
[30] Fix | Delete
[31] Fix | Delete
$bws_general_menu_exist = true;
[32] Fix | Delete
}
[33] Fix | Delete
}
[34] Fix | Delete
}
[35] Fix | Delete
[36] Fix | Delete
/**
[37] Fix | Delete
* Function process submit on the `Go Pro` tab
[38] Fix | Delete
*
[39] Fix | Delete
* @deprecated 1.9.8 (15.12.2016)
[40] Fix | Delete
* @todo Remove function after 01.01.2021
[41] Fix | Delete
*/
[42] Fix | Delete
if ( ! function_exists( 'bws_go_pro_tab_check' ) ) {
[43] Fix | Delete
function bws_go_pro_tab_check( $plugin_basename, $plugin_options_name = false, $is_network_option = false ) {
[44] Fix | Delete
global $bstwbsftwppdtplgns_options;
[45] Fix | Delete
if ( ! isset( $bstwbsftwppdtplgns_options ) ) {
[46] Fix | Delete
$bstwbsftwppdtplgns_options = ( function_exists( 'is_multisite' ) && is_multisite() ) ? get_site_option( 'bstwbsftwppdtplgns_options' ) : get_option( 'bstwbsftwppdtplgns_options' );
[47] Fix | Delete
}
[48] Fix | Delete
if ( ! isset( $bstwbsftwppdtplgns_options['deprecated_function']['bws_go_pro_tab_check'] ) ) {
[49] Fix | Delete
$get_debug_backtrace = debug_backtrace();
[50] Fix | Delete
$file = ( ! empty( $get_debug_backtrace[0]['file'] ) ) ? $get_debug_backtrace[0]['file'] : '';
[51] Fix | Delete
$bstwbsftwppdtplgns_options['deprecated_function']['bws_go_pro_tab_check'] = array(
[52] Fix | Delete
'file' => $file,
[53] Fix | Delete
);
[54] Fix | Delete
if ( is_multisite() ) {
[55] Fix | Delete
update_site_option( 'bstwbsftwppdtplgns_options', $bstwbsftwppdtplgns_options );
[56] Fix | Delete
} else {
[57] Fix | Delete
update_option( 'bstwbsftwppdtplgns_options', $bstwbsftwppdtplgns_options );
[58] Fix | Delete
}
[59] Fix | Delete
}
[60] Fix | Delete
}
[61] Fix | Delete
}
[62] Fix | Delete
[63] Fix | Delete
/**
[64] Fix | Delete
* Function display 'Custom code' tab
[65] Fix | Delete
*
[66] Fix | Delete
* @deprecated 1.9.8 (15.12.2016)
[67] Fix | Delete
* @todo Remove function after 01.01.2021
[68] Fix | Delete
*/
[69] Fix | Delete
if ( ! function_exists( 'bws_custom_code_tab' ) ) {
[70] Fix | Delete
function bws_custom_code_tab() {
[71] Fix | Delete
global $bstwbsftwppdtplgns_options;
[72] Fix | Delete
if ( ! isset( $bstwbsftwppdtplgns_options ) ) {
[73] Fix | Delete
$bstwbsftwppdtplgns_options = ( function_exists( 'is_multisite' ) && is_multisite() ) ? get_site_option( 'bstwbsftwppdtplgns_options' ) : get_option( 'bstwbsftwppdtplgns_options' );
[74] Fix | Delete
}
[75] Fix | Delete
if ( ! isset( $bstwbsftwppdtplgns_options['deprecated_function']['bws_custom_code_tab'] ) ) {
[76] Fix | Delete
$get_debug_backtrace = debug_backtrace();
[77] Fix | Delete
$file = ( ! empty( $get_debug_backtrace[0]['file'] ) ) ? $get_debug_backtrace[0]['file'] : '';
[78] Fix | Delete
$bstwbsftwppdtplgns_options['deprecated_function']['bws_custom_code_tab'] = array(
[79] Fix | Delete
'file' => $file,
[80] Fix | Delete
);
[81] Fix | Delete
if ( is_multisite() ) {
[82] Fix | Delete
update_site_option( 'bstwbsftwppdtplgns_options', $bstwbsftwppdtplgns_options );
[83] Fix | Delete
} else {
[84] Fix | Delete
update_option( 'bstwbsftwppdtplgns_options', $bstwbsftwppdtplgns_options );
[85] Fix | Delete
}
[86] Fix | Delete
}
[87] Fix | Delete
}
[88] Fix | Delete
}
[89] Fix | Delete
[90] Fix | Delete
/**
[91] Fix | Delete
* Function check license key for Pro plugins version
[92] Fix | Delete
*
[93] Fix | Delete
* @deprecated 1.9.8 (15.12.2016)
[94] Fix | Delete
* @todo Remove function after 01.01.2021
[95] Fix | Delete
*/
[96] Fix | Delete
if ( ! function_exists( 'bws_check_pro_license' ) ) {
[97] Fix | Delete
function bws_check_pro_license( $plugin_basename, $trial_plugin = false ) {
[98] Fix | Delete
global $bstwbsftwppdtplgns_options;
[99] Fix | Delete
if ( ! isset( $bstwbsftwppdtplgns_options ) ) {
[100] Fix | Delete
$bstwbsftwppdtplgns_options = ( function_exists( 'is_multisite' ) && is_multisite() ) ? get_site_option( 'bstwbsftwppdtplgns_options' ) : get_option( 'bstwbsftwppdtplgns_options' );
[101] Fix | Delete
}
[102] Fix | Delete
if ( ! isset( $bstwbsftwppdtplgns_options['deprecated_function']['bws_custom_code_tab'] ) ) {
[103] Fix | Delete
$get_debug_backtrace = debug_backtrace();
[104] Fix | Delete
$file = ( ! empty( $get_debug_backtrace[0]['file'] ) ) ? $get_debug_backtrace[0]['file'] : '';
[105] Fix | Delete
$bstwbsftwppdtplgns_options['deprecated_function']['bws_custom_code_tab'] = array(
[106] Fix | Delete
'file' => $file,
[107] Fix | Delete
);
[108] Fix | Delete
if ( is_multisite() ) {
[109] Fix | Delete
update_site_option( 'bstwbsftwppdtplgns_options', $bstwbsftwppdtplgns_options );
[110] Fix | Delete
} else {
[111] Fix | Delete
update_option( 'bstwbsftwppdtplgns_options', $bstwbsftwppdtplgns_options );
[112] Fix | Delete
}
[113] Fix | Delete
}
[114] Fix | Delete
}
[115] Fix | Delete
}
[116] Fix | Delete
[117] Fix | Delete
/**
[118] Fix | Delete
* Function display block for checking license key for Pro plugins version
[119] Fix | Delete
*
[120] Fix | Delete
* @deprecated 1.9.8 (15.12.2016)
[121] Fix | Delete
* @todo add notice and remove functional after 01.01.2018. Remove function after 01.01.2019
[122] Fix | Delete
*/
[123] Fix | Delete
if ( ! function_exists( 'bws_check_pro_license_form' ) ) {
[124] Fix | Delete
function bws_check_pro_license_form( $plugin_basename ) {
[125] Fix | Delete
global $bstwbsftwppdtplgns_options;
[126] Fix | Delete
$license_key = ( isset( $bstwbsftwppdtplgns_options[ $plugin_basename ] ) ) ? $bstwbsftwppdtplgns_options[ $plugin_basename ] : ''; ?>
[127] Fix | Delete
<div class="clear"></div>
[128] Fix | Delete
<form method="post" action="">
[129] Fix | Delete
<p><?php echo esc_html_e( 'If necessary, you can check if the license key is correct or reenter it in the field below. You can find your license key on your personal page - Client Area - on our website', 'bestwebsoft' ) . ' <a href="https://bestwebsoft.com/client-area">https://bestwebsoft.com/client-area</a> ' . esc_html__( '(your username is the email address specified during the purchase). If necessary, please submit "Lost your password?" request.', 'bestwebsoft' ); ?></p>
[130] Fix | Delete
<p>
[131] Fix | Delete
<input type="text" maxlength="100" name="bws_license_key" value="<?php echo esc_attr( $license_key ); ?>" />
[132] Fix | Delete
<input type="hidden" name="bws_license_submit" value="submit" />
[133] Fix | Delete
<input type="submit" class="button" value="<?php esc_html_e( 'Check license key', 'bestwebsoft' ); ?>" />
[134] Fix | Delete
<?php wp_nonce_field( $plugin_basename, 'bws_license_nonce_name' ); ?>
[135] Fix | Delete
</p>
[136] Fix | Delete
</form>
[137] Fix | Delete
<?php
[138] Fix | Delete
}
[139] Fix | Delete
}
[140] Fix | Delete
[141] Fix | Delete
/**
[142] Fix | Delete
* Function process submit on the `Go Pro` tab for TRIAL
[143] Fix | Delete
*
[144] Fix | Delete
* @deprecated 1.9.8 (15.12.2016)
[145] Fix | Delete
* @todo add notice and remove functional after 01.01.2018. Remove function after 01.01.2019
[146] Fix | Delete
*/
[147] Fix | Delete
if ( ! function_exists( 'bws_go_pro_from_trial_tab' ) ) {
[148] Fix | Delete
function bws_go_pro_from_trial_tab( $plugin_info, $plugin_basename, $page, $link_slug, $link_key, $link_pn, $trial_license_is_set = true ) {
[149] Fix | Delete
global $wp_version, $bstwbsftwppdtplgns_options;
[150] Fix | Delete
$bws_license_key = ( isset( $_POST['bws_license_key'] ) ) ? sanitize_text_field( wp_unslash( $_POST['bws_license_key'] ) ) : '';
[151] Fix | Delete
if ( $trial_license_is_set ) {
[152] Fix | Delete
?>
[153] Fix | Delete
<form method="post" action="">
[154] Fix | Delete
<p>
[155] Fix | Delete
<?php printf( esc_html__( 'In order to continue using the plugin it is necessary to buy a %s license.', 'bestwebsoft' ), esc_html( '<a href="https://bestwebsoft.com/products/wordpress/plugins/' . $link_slug . '/?k=' . $link_key . '&amp;pn=' . $link_pn . '&amp;v=' . $plugin_info['Version'] . '&amp;wp_v=' . $wp_version . '" target="_blank" title="' . $plugin_info['Name'] . '">Pro</a>' ) ); ?> <?php esc_html_e( 'After that, you can activate it by entering your license key.', 'bestwebsoft' ); ?>
[156] Fix | Delete
<br />
[157] Fix | Delete
<span class="bws_info">
[158] Fix | Delete
<?php esc_html_e( 'License key can be found in the', 'bestwebsoft' ); ?>
[159] Fix | Delete
<a href="https://bestwebsoft.com/wp-login.php">Client Area</a>
[160] Fix | Delete
<?php esc_html_e( '(your username is the email address specified during the purchase).', 'bestwebsoft' ); ?>
[161] Fix | Delete
</span>
[162] Fix | Delete
</p>
[163] Fix | Delete
<?php
[164] Fix | Delete
if ( isset( $bstwbsftwppdtplgns_options['go_pro'][ $plugin_basename ]['count'] ) &&
[165] Fix | Delete
'5' < $bstwbsftwppdtplgns_options['go_pro'][ $plugin_basename ]['count'] &&
[166] Fix | Delete
$bstwbsftwppdtplgns_options['go_pro'][ $plugin_basename ]['time'] > ( time() - ( 24 * 60 * 60 ) ) ) {
[167] Fix | Delete
?>
[168] Fix | Delete
<p>
[169] Fix | Delete
<input disabled="disabled" type="text" name="bws_license_key" value="" />
[170] Fix | Delete
<input disabled="disabled" type="submit" class="button-primary" value="<?php esc_html_e( 'Activate', 'bestwebsoft' ); ?>" />
[171] Fix | Delete
</p>
[172] Fix | Delete
<p><?php esc_html_e( 'Unfortunately, you have exceeded the number of available tries per day.', 'bestwebsoft' ); ?></p>
[173] Fix | Delete
<?php } else { ?>
[174] Fix | Delete
<p>
[175] Fix | Delete
<input type="text" maxlength="100" name="bws_license_key" value="" />
[176] Fix | Delete
<input type="hidden" name="bws_license_plugin" value="<?php echo esc_attr( $plugin_basename ); ?>" />
[177] Fix | Delete
<input type="hidden" name="bws_license_submit" value="submit" />
[178] Fix | Delete
<input type="submit" class="button-primary" value="<?php esc_html_e( 'Activate', 'bestwebsoft' ); ?>" />
[179] Fix | Delete
<?php wp_nonce_field( $plugin_basename, 'bws_license_nonce_name' ); ?>
[180] Fix | Delete
</p>
[181] Fix | Delete
<?php } ?>
[182] Fix | Delete
</form>
[183] Fix | Delete
<?php
[184] Fix | Delete
} else {
[185] Fix | Delete
$page_url = esc_url( self_admin_url( 'admin.php?page=' . $page ) );
[186] Fix | Delete
?>
[187] Fix | Delete
<p><?php esc_html_e( 'Congratulations! The Pro license of the plugin is activated successfully.', 'bestwebsoft' ); ?></p>
[188] Fix | Delete
<p>
[189] Fix | Delete
<?php esc_html_e( 'Please, go to', 'bestwebsoft' ); ?> <a href="<?php echo esc_url( $page_url ); ?>"><?php esc_html_e( 'the setting page', 'bestwebsoft' ); ?></a>
[190] Fix | Delete
</p>
[191] Fix | Delete
<?php
[192] Fix | Delete
}
[193] Fix | Delete
}
[194] Fix | Delete
}
[195] Fix | Delete
[196] Fix | Delete
[197] Fix | Delete
/**
[198] Fix | Delete
* Function display block for restoring default product settings
[199] Fix | Delete
*
[200] Fix | Delete
* @deprecated 1.9.8 (15.12.2016)
[201] Fix | Delete
* @todo add notice and remove functional after 01.01.2018. Remove function after 01.01.2019
[202] Fix | Delete
*/
[203] Fix | Delete
if ( ! function_exists( 'bws_form_restore_default_settings' ) ) {
[204] Fix | Delete
function bws_form_restore_default_settings( $plugin_basename, $change_permission_attr = '' ) {
[205] Fix | Delete
?>
[206] Fix | Delete
<form method="post" action="">
[207] Fix | Delete
<p><?php esc_html_e( 'Restore all plugin settings to defaults', 'bestwebsoft' ); ?></p>
[208] Fix | Delete
<p>
[209] Fix | Delete
<input <?php echo esc_html( $change_permission_attr ); ?> type="submit" class="button" value="<?php esc_html_e( 'Restore settings', 'bestwebsoft' ); ?>" />
[210] Fix | Delete
</p>
[211] Fix | Delete
<input type="hidden" name="bws_restore_default" value="submit" />
[212] Fix | Delete
<?php wp_nonce_field( $plugin_basename, 'bws_settings_nonce_name' ); ?>
[213] Fix | Delete
</form>
[214] Fix | Delete
<?php
[215] Fix | Delete
}
[216] Fix | Delete
}
[217] Fix | Delete
[218] Fix | Delete
/**
[219] Fix | Delete
* Function display GO PRO tab
[220] Fix | Delete
*
[221] Fix | Delete
* @deprecated 1.9.8 (15.12.2016)
[222] Fix | Delete
* @todo add notice and remove functional after 01.01.2018. Remove function after 01.01.2019
[223] Fix | Delete
*/
[224] Fix | Delete
if ( ! function_exists( 'bws_go_pro_tab_show' ) ) {
[225] Fix | Delete
function bws_go_pro_tab_show( $bws_hide_premium_options_check, $plugin_info, $plugin_basename, $page, $pro_page, $bws_license_plugin, $link_slug, $link_key, $link_pn, $pro_plugin_is_activated = false, $trial_days_number = false ) {
[226] Fix | Delete
global $wp_version, $bstwbsftwppdtplgns_options;
[227] Fix | Delete
$bws_license_key = ( isset( $_POST['bws_license_key'] ) ) ? sanitize_text_field( wp_unslash( $_POST['bws_license_key'] ) ) : '';
[228] Fix | Delete
if ( $pro_plugin_is_activated ) {
[229] Fix | Delete
$page_url = esc_url( self_admin_url( 'admin.php?page=' . $pro_page ) );
[230] Fix | Delete
?>
[231] Fix | Delete
<p><?php esc_html_e( 'Congratulations! Pro version of the plugin is installed and activated successfully.', 'bestwebsoft' ); ?></p>
[232] Fix | Delete
<p>
[233] Fix | Delete
<?php esc_html_e( 'Please, go to', 'bestwebsoft' ); ?> <a href="<?php echo esc_url( $page_url ); ?>"><?php esc_html_e( 'the setting page', 'bestwebsoft' ); ?></a>
[234] Fix | Delete
</p>
[235] Fix | Delete
<?php
[236] Fix | Delete
} else {
[237] Fix | Delete
if ( $bws_hide_premium_options_check ) {
[238] Fix | Delete
?>
[239] Fix | Delete
<form method="post" action="">
[240] Fix | Delete
<p>
[241] Fix | Delete
<input type="hidden" name="bws_hide_premium_options_submit" value="submit" />
[242] Fix | Delete
<input type="submit" class="button" value="<?php esc_html_e( 'Show Pro features', 'bestwebsoft' ); ?>" />
[243] Fix | Delete
<?php wp_nonce_field( $plugin_basename, 'bws_license_nonce_name' ); ?>
[244] Fix | Delete
</p>
[245] Fix | Delete
</form>
[246] Fix | Delete
<?php } ?>
[247] Fix | Delete
<form method="post" action="">
[248] Fix | Delete
<p>
[249] Fix | Delete
<?php esc_html_e( 'Enter your license key to install and activate', 'bestwebsoft' ); ?>
[250] Fix | Delete
<a href="<?php echo esc_url( 'https://bestwebsoft.com/products/wordpress/plugins/' . $link_slug . '/?k=' . $link_key . '&pn=' . $link_pn . '&v=' . $plugin_info['Version'] . '&wp_v=' . $wp_version ); ?>" target="_blank" title="<?php echo esc_html( $plugin_info['Name'] ); ?> Pro">Pro</a>
[251] Fix | Delete
<?php esc_html_e( 'version of the plugin.', 'bestwebsoft' ); ?><br />
[252] Fix | Delete
<span class="bws_info">
[253] Fix | Delete
<?php esc_html_e( 'License key can be found in the', 'bestwebsoft' ); ?>
[254] Fix | Delete
<a href="https://bestwebsoft.com/wp-login.php">Client Area</a>
[255] Fix | Delete
<?php esc_html_e( '(your username is the email address specified during the purchase).', 'bestwebsoft' ); ?>
[256] Fix | Delete
</span>
[257] Fix | Delete
</p>
[258] Fix | Delete
<?php
[259] Fix | Delete
if ( false !== $trial_days_number ) {
[260] Fix | Delete
$trial_days_number = esc_html__( 'or', 'bestwebsoft' ) . ' <a href="https://bestwebsoft.com/products/wordpress/plugins/' . esc_attr( $link_slug ) . '/trial/" target="_blank">' . esc_html( sprintf( esc_html__( 'Start Your Free %s-Day Trial Now', 'bestwebsoft' ), $trial_days_number ) ) . '</a>';
[261] Fix | Delete
}
[262] Fix | Delete
if ( isset( $bstwbsftwppdtplgns_options['go_pro'][ $bws_license_plugin ]['count'] ) &&
[263] Fix | Delete
'5' < $bstwbsftwppdtplgns_options['go_pro'][ $bws_license_plugin ]['count'] &&
[264] Fix | Delete
$bstwbsftwppdtplgns_options['go_pro'][ $bws_license_plugin ]['time'] > ( time() - ( 24 * 60 * 60 ) ) ) {
[265] Fix | Delete
?>
[266] Fix | Delete
<p>
[267] Fix | Delete
<input disabled="disabled" type="text" name="bws_license_key" value="<?php echo esc_attr( $bws_license_key ); ?>" />
[268] Fix | Delete
<input disabled="disabled" type="submit" class="button-primary" value="<?php esc_html_e( 'Activate', 'bestwebsoft' ); ?>" />
[269] Fix | Delete
<?php
[270] Fix | Delete
if ( false !== $trial_days_number ) {
[271] Fix | Delete
echo esc_html( $trial_days_number );
[272] Fix | Delete
}
[273] Fix | Delete
?>
[274] Fix | Delete
</p>
[275] Fix | Delete
<p><?php esc_html_e( 'Unfortunately, you have exceeded the number of available tries per day. Please, upload the plugin manually.', 'bestwebsoft' ); ?></p>
[276] Fix | Delete
<?php } else { ?>
[277] Fix | Delete
<p>
[278] Fix | Delete
<input type="text" maxlength="100" name="bws_license_key" value="<?php echo esc_attr( $bws_license_key ); ?>" />
[279] Fix | Delete
<input type="hidden" name="bws_license_plugin" value="<?php echo esc_attr( $bws_license_plugin ); ?>" />
[280] Fix | Delete
<input type="hidden" name="bws_license_submit" value="submit" />
[281] Fix | Delete
<input type="submit" class="button-primary" value="<?php esc_html_e( 'Activate', 'bestwebsoft' ); ?>" />
[282] Fix | Delete
<?php
[283] Fix | Delete
if ( false !== $trial_days_number ) {
[284] Fix | Delete
echo esc_html( $trial_days_number );
[285] Fix | Delete
}
[286] Fix | Delete
wp_nonce_field( $plugin_basename, 'bws_license_nonce_name' );
[287] Fix | Delete
?>
[288] Fix | Delete
</p>
[289] Fix | Delete
<?php } ?>
[290] Fix | Delete
</form>
[291] Fix | Delete
<?php
[292] Fix | Delete
}
[293] Fix | Delete
}
[294] Fix | Delete
}
[295] Fix | Delete
[296] Fix | Delete
/**
[297] Fix | Delete
* Function display GO PRO Banner (inline in 'admin_notices' action )
[298] Fix | Delete
*
[299] Fix | Delete
* @deprecated 2.2.5 (29.11.2019)
[300] Fix | Delete
* @todo Remove notice after 01.12.2021
[301] Fix | Delete
*/
[302] Fix | Delete
if ( ! function_exists( 'bws_plugin_banner' ) ) {
[303] Fix | Delete
function bws_plugin_banner( $plugin_info, $this_banner_prefix, $link_slug, $link_key, $link_pn, $banner_url_or_slug ) {
[304] Fix | Delete
/* the function is not longer use, but we need to store it */
[305] Fix | Delete
}
[306] Fix | Delete
}
[307] Fix | Delete
[308] Fix | Delete
/**
[309] Fix | Delete
* Function display timeout PRO Banner (inline in 'admin_notices' action )
[310] Fix | Delete
*
[311] Fix | Delete
* @deprecated 2.2.5 (29.11.2019)
[312] Fix | Delete
* @todo Remove notice after 01.12.2021
[313] Fix | Delete
*/
[314] Fix | Delete
if ( ! function_exists( 'bws_plugin_banner_timeout' ) ) {
[315] Fix | Delete
function bws_plugin_banner_timeout( $plugin_key, $plugin_prefix, $plugin_name, $banner_url_or_slug = false ) {
[316] Fix | Delete
/* the function is not longer use, but we need to store it */
[317] Fix | Delete
}
[318] Fix | Delete
}
[319] Fix | Delete
[320] Fix | Delete
It is recommended that you Edit text format, this type of Fix handles quite a lot in one request
Function