sitepress = $sitepress; $this->wpdb = $wpdb; $this->tm_instance = $iclTranslationManagement; $this->job_instance = $job_instance; $this->job = $job_instance->get_basic_data(); $this->job_factory = $job_factory; $this->job_layout = $job_layout; if ( $job_instance->get_translator_id() <= 0 ) { $job_instance->assign_to( $sitepress->get_wp_api()->get_current_user_id() ); } $job_instance->maybe_load_terms_from_post_into_job( $sitepress->get_setting( 'tm_block_retranslating_terms' ) ); } function render() { list( $this->rtl_original, $this->rtl_translation ) = $this->init_rtl_settings(); require_once ABSPATH . 'wp-admin/includes/image.php'; require_once ABSPATH . 'wp-admin/includes/file.php'; require_once ABSPATH . 'wp-admin/includes/media.php'; ?>