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: _posts_sync_options.php
<?php
[0] Fix | Delete
global $sitepress, $sitepress_settings;
[1] Fix | Delete
?>
[2] Fix | Delete
<div class="wpml-section" id="ml-content-setup-sec-2">
[3] Fix | Delete
[4] Fix | Delete
<div class="wpml-section-header">
[5] Fix | Delete
<h3><?php esc_html_e( 'Posts and pages synchronization', 'sitepress' ); ?></h3>
[6] Fix | Delete
</div>
[7] Fix | Delete
[8] Fix | Delete
<div class="wpml-section-content">
[9] Fix | Delete
[10] Fix | Delete
<form id="icl_page_sync_options" name="icl_page_sync_options" action="">
[11] Fix | Delete
<?php wp_nonce_field( 'icl_page_sync_options_nonce', '_icl_nonce' ); ?>
[12] Fix | Delete
[13] Fix | Delete
<div class="wpml-section-content-inner">
[14] Fix | Delete
<p>
[15] Fix | Delete
<label><input type="checkbox" id="icl_sync_page_ordering" name="icl_sync_page_ordering" <?php checked( $sitepress_settings['sync_page_ordering'] ) ?> value="1" />
[16] Fix | Delete
<?php esc_html_e( 'Synchronize page order for translations', 'sitepress' ) ?></label>
[17] Fix | Delete
</p>
[18] Fix | Delete
<p>
[19] Fix | Delete
<label><input type="checkbox" id="icl_sync_page_parent" name="icl_sync_page_parent" <?php checked( $sitepress_settings['sync_page_parent'] ) ?> value="1" />
[20] Fix | Delete
<?php esc_html_e( 'Set page parent for translation according to page parent of the original language', 'sitepress' ) ?></label>
[21] Fix | Delete
</p>
[22] Fix | Delete
<p>
[23] Fix | Delete
<label><input type="checkbox" name="icl_sync_page_template" <?php checked( $sitepress_settings['sync_page_template'] ) ?> value="1" />
[24] Fix | Delete
<?php esc_html_e( 'Synchronize page template', 'sitepress' ) ?></label>
[25] Fix | Delete
</p>
[26] Fix | Delete
<p>
[27] Fix | Delete
<label><input type="checkbox" name="icl_sync_comment_status" <?php checked( $sitepress_settings['sync_comment_status'] ) ?> value="1" />
[28] Fix | Delete
<?php esc_html_e( 'Synchronize comment status', 'sitepress' ) ?></label>
[29] Fix | Delete
</p>
[30] Fix | Delete
<p>
[31] Fix | Delete
<label><input type="checkbox" name="icl_sync_ping_status" <?php checked( $sitepress_settings['sync_ping_status'] ) ?> value="1" />
[32] Fix | Delete
<?php esc_html_e( 'Synchronize ping status', 'sitepress' ) ?></label>
[33] Fix | Delete
</p>
[34] Fix | Delete
<p>
[35] Fix | Delete
<label><input type="checkbox" name="icl_sync_sticky_flag" <?php checked( $sitepress_settings['sync_sticky_flag'] ) ?> value="1" />
[36] Fix | Delete
<?php esc_html_e( 'Synchronize sticky flag', 'sitepress' ) ?></label>
[37] Fix | Delete
</p>
[38] Fix | Delete
<p>
[39] Fix | Delete
<label><input type="checkbox" name="icl_sync_password" <?php checked( $sitepress_settings['sync_password'] ) ?> value="1" />
[40] Fix | Delete
<?php esc_html_e( 'Synchronize password for password protected posts', 'sitepress' ) ?></label>
[41] Fix | Delete
</p>
[42] Fix | Delete
<p>
[43] Fix | Delete
<label><input type="checkbox" name="icl_sync_private_flag" <?php checked( $sitepress_settings['sync_private_flag'] ) ?> value="1" />
[44] Fix | Delete
<?php esc_html_e( 'Synchronize private flag', 'sitepress' ) ?></label>
[45] Fix | Delete
</p>
[46] Fix | Delete
<p>
[47] Fix | Delete
<label><input type="checkbox" name="icl_sync_post_format" <?php checked( $sitepress_settings['sync_post_format'] ) ?> value="1" />
[48] Fix | Delete
<?php esc_html_e( 'Synchronize posts format', 'sitepress' ) ?></label>
[49] Fix | Delete
</p>
[50] Fix | Delete
</div>
[51] Fix | Delete
[52] Fix | Delete
<div class="wpml-section-content-inner">
[53] Fix | Delete
<p>
[54] Fix | Delete
<label><input type="checkbox" name="icl_sync_delete" <?php checked( $sitepress_settings['sync_delete'] ) ?> value="1" />
[55] Fix | Delete
<?php esc_html_e( 'When deleting a post, delete translations as well', 'sitepress' ) ?></label>
[56] Fix | Delete
</p>
[57] Fix | Delete
<p>
[58] Fix | Delete
<label><input type="checkbox" name="icl_sync_delete_tax" <?php checked( $sitepress_settings['sync_delete_tax'] ) ?> value="1" />
[59] Fix | Delete
<?php esc_html_e( 'When deleting a taxonomy (category, tag or custom), delete translations as well', 'sitepress' ) ?></label>
[60] Fix | Delete
</p>
[61] Fix | Delete
</div>
[62] Fix | Delete
[63] Fix | Delete
<div class="wpml-section-content-inner">
[64] Fix | Delete
<p>
[65] Fix | Delete
<label><input type="checkbox" name="icl_sync_post_taxonomies" <?php checked( $sitepress_settings['sync_post_taxonomies'] ) ?> value="1" />
[66] Fix | Delete
<?php esc_html_e( 'Copy taxonomy to translations', 'sitepress' ) ?></label>
[67] Fix | Delete
</p>
[68] Fix | Delete
<p>
[69] Fix | Delete
<label><input type="checkbox" name="icl_sync_post_date" <?php checked( $sitepress_settings['sync_post_date'] ) ?> value="1" />
[70] Fix | Delete
<?php esc_html_e( 'Copy publishing date to translations', 'sitepress' ) ?></label>
[71] Fix | Delete
</p>
[72] Fix | Delete
</div>
[73] Fix | Delete
[74] Fix | Delete
<?php if ( defined( 'WPML_TM_VERSION' ) ): ?>
[75] Fix | Delete
<div class="wpml-section-content-inner">
[76] Fix | Delete
<p>
[77] Fix | Delete
<label><input type="checkbox" name="icl_sync_comments_on_duplicates" <?php checked( $sitepress->get_setting( 'sync_comments_on_duplicates' ) ) ?> value="1" />
[78] Fix | Delete
<?php esc_html_e( 'Synchronize comments on duplicate content', 'sitepress' ) ?></label>
[79] Fix | Delete
</p>
[80] Fix | Delete
</div>
[81] Fix | Delete
[82] Fix | Delete
<div class="wpml-section-content-inner">
[83] Fix | Delete
<h4><?php esc_html_e( 'Page builders options', 'sitepress' ) ?></h4>
[84] Fix | Delete
<?php $wpml_page_builder_options = new WPML_Page_Builder_Settings(); ?>
[85] Fix | Delete
<label><input type="checkbox" name="wpml_pb_translate_raw_html" <?php checked( $wpml_page_builder_options->is_raw_html_translatable() ); ?> value="1" />
[86] Fix | Delete
<?php esc_html_e( 'Send to translation the content of raw HTML cells', 'sitepress' ) ?></label>
[87] Fix | Delete
</p>
[88] Fix | Delete
</div>
[89] Fix | Delete
<?php endif; ?>
[90] Fix | Delete
[91] Fix | Delete
<div class="wpml-section-content-inner">
[92] Fix | Delete
<p class="buttons-wrap">
[93] Fix | Delete
<span class="icl_ajx_response" id="icl_ajx_response_mo"></span>
[94] Fix | Delete
<input class="button button-primary" name="save" value="<?php esc_attr_e( 'Save', 'sitepress' ) ?>" type="submit" />
[95] Fix | Delete
</p>
[96] Fix | Delete
</div>
[97] Fix | Delete
[98] Fix | Delete
</form>
[99] Fix | Delete
[100] Fix | Delete
</div> <!-- wpml-section-content -->
[101] Fix | Delete
[102] Fix | Delete
</div> <!-- .wpml-section -->
[103] Fix | Delete
It is recommended that you Edit text format, this type of Fix handles quite a lot in one request
Function