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/sitepres.../menu
File: support.php
<div class="wrap">
[0] Fix | Delete
<h2><?php esc_html_e( 'Support', 'sitepress' ) ?></h2>
[1] Fix | Delete
[2] Fix | Delete
<p style="margin-top: 20px;">
[3] Fix | Delete
<?php printf( esc_html__( 'Technical support for clients is available via %sWPML forums%s.', 'sitepress' ), '<a target="_blank" href="https://wpml.org/forums/">', '</a>' ); ?>
[4] Fix | Delete
</p>
[5] Fix | Delete
[6] Fix | Delete
<?php
[7] Fix | Delete
$wpml_plugins_list = SitePress::get_installed_plugins();
[8] Fix | Delete
[9] Fix | Delete
echo '
[10] Fix | Delete
<table class="widefat" style="width: auto;">
[11] Fix | Delete
<thead>
[12] Fix | Delete
<tr>
[13] Fix | Delete
<th>' . esc_html__( 'Plugin Name', 'sitepress' ) . '</th>
[14] Fix | Delete
<th style="text-align:right">' . esc_html__( 'Status', 'sitepress' ) . '</th>
[15] Fix | Delete
<th>' . esc_html__( 'Active', 'sitepress' ) . '</th>
[16] Fix | Delete
<th>' . esc_html__( 'Version', 'sitepress' ) . '</th>
[17] Fix | Delete
</tr>
[18] Fix | Delete
</thead>
[19] Fix | Delete
<tbody>
[20] Fix | Delete
';
[21] Fix | Delete
[22] Fix | Delete
foreach ( $wpml_plugins_list as $name => $plugin_data ) {
[23] Fix | Delete
[24] Fix | Delete
$plugin_name = $name;
[25] Fix | Delete
$file = $plugin_data['file'];
[26] Fix | Delete
$dir = dirname( $file );
[27] Fix | Delete
[28] Fix | Delete
echo '<tr>';
[29] Fix | Delete
echo '<td><i class="otgs-ico-' . esc_attr( $plugin_data['slug'] ) . '"></i> ' . esc_html( $plugin_name ) . '</td>';
[30] Fix | Delete
echo '<td align="right">';
[31] Fix | Delete
if ( empty( $plugin_data['plugin'] ) ) {
[32] Fix | Delete
echo esc_html__( 'Not installed', 'sitepress' );
[33] Fix | Delete
} else {
[34] Fix | Delete
echo esc_html__( 'Installed', 'sitepress' );
[35] Fix | Delete
}
[36] Fix | Delete
echo '</td>';
[37] Fix | Delete
echo '<td align="center">';
[38] Fix | Delete
echo isset( $file ) && is_plugin_active( $file ) ? esc_html__( 'Yes', 'sitepress' ) : esc_html__( 'No', 'sitepress' );
[39] Fix | Delete
echo '</td>';
[40] Fix | Delete
echo '<td align="right">';
[41] Fix | Delete
echo isset( $plugin_data['plugin']['Version'] ) ? esc_html( $plugin_data['plugin']['Version'] ) : esc_html__( 'n/a', 'sitepress' );
[42] Fix | Delete
echo '</td>';
[43] Fix | Delete
echo '</tr>';
[44] Fix | Delete
[45] Fix | Delete
}
[46] Fix | Delete
[47] Fix | Delete
echo '
[48] Fix | Delete
</tbody>
[49] Fix | Delete
</table>
[50] Fix | Delete
';
[51] Fix | Delete
[52] Fix | Delete
?>
[53] Fix | Delete
[54] Fix | Delete
<p style="margin-top: 20px;">
[55] Fix | Delete
<?php printf( esc_html__( 'For advanced access or to completely uninstall WPML and remove all language information, use the %stroubleshooting%s page.', 'sitepress' ), '<a href="' . esc_url( admin_url( 'admin.php?page=' . WPML_PLUGIN_FOLDER . '/menu/troubleshooting.php' ) ) . '">', '</a>' ); ?>
[56] Fix | Delete
</p>
[57] Fix | Delete
[58] Fix | Delete
<p style="margin-top: 20px;">
[59] Fix | Delete
<?php printf( esc_html__( 'For retrieving debug information if asked by support person, use the %sdebug information%s page.', 'sitepress' ), '<a href="' . esc_url( admin_url( 'admin.php?page=' . WPML_PLUGIN_FOLDER . '/menu/debug-information.php' ) ) . '">', '</a>' ); ?>
[60] Fix | Delete
</p>
[61] Fix | Delete
[62] Fix | Delete
<?php
[63] Fix | Delete
$support_info_factory = new WPML_Support_Info_UI_Factory();
[64] Fix | Delete
$support_info_ui = $support_info_factory->create();
[65] Fix | Delete
echo $support_info_ui->show();
[66] Fix | Delete
[67] Fix | Delete
$xml_config_log_factory = new WPML_XML_Config_Log_Factory();
[68] Fix | Delete
$xml_config_log_ui = $xml_config_log_factory->create_ui();
[69] Fix | Delete
echo $xml_config_log_ui->show();
[70] Fix | Delete
[71] Fix | Delete
do_action( 'wpml_support_page_after' );
[72] Fix | Delete
[73] Fix | Delete
do_action( 'otgs_render_installer_support_link' );
[74] Fix | Delete
?>
[75] Fix | Delete
[76] Fix | Delete
</div>
[77] Fix | Delete
[78] Fix | Delete
It is recommended that you Edit text format, this type of Fix handles quite a lot in one request
Function