HEX
Server: Apache/2.4.41 (Ubuntu)
System: Linux wordpress-ubuntu-s-2vcpu-4gb-fra1-01 5.4.0-169-generic #187-Ubuntu SMP Thu Nov 23 14:52:28 UTC 2023 x86_64
User: root (0)
PHP: 7.4.33
Disabled: pcntl_alarm,pcntl_fork,pcntl_waitpid,pcntl_wait,pcntl_wifexited,pcntl_wifstopped,pcntl_wifsignaled,pcntl_wifcontinued,pcntl_wexitstatus,pcntl_wtermsig,pcntl_wstopsig,pcntl_signal,pcntl_signal_get_handler,pcntl_signal_dispatch,pcntl_get_last_error,pcntl_strerror,pcntl_sigprocmask,pcntl_sigwaitinfo,pcntl_sigtimedwait,pcntl_exec,pcntl_getpriority,pcntl_setpriority,pcntl_async_signals,pcntl_unshare,
Upload Files
File: //var/www/lipovac/wp-content/plugins/the-events-calendar/src/admin-views/aggregator/meta-box.php
<dl class="tribe-aggregator-import-details">
	<dt><?php esc_html_e( 'Origin:', 'the-events-calendar' ); ?></dt>
	<dd><span class="tribe-value"><?php echo esc_html( $origin ); ?></span></dd>
	<?php if ( ! empty( $source ) ) : ?>
		<dt><?php esc_html_e( 'Source:', 'the-events-calendar' ); ?></dt>
		<dd><span class="tribe-value"><?php echo esc_html( $source ); ?></span></dd>
	<?php endif; ?>
	<?php if ( ! empty( $last_import ) ) : ?>
		<dt><?php esc_html_e( 'Last Import:', 'the-events-calendar' ); ?></dt>
		<dd>
			<span class="tribe-value"><?php echo esc_html( $last_import ); ?></span>
			<span
				class="dashicons dashicons-editor-help tribe-sticky-tooltip"
				title="<?php esc_attr_e( 'The last time this event was imported and/or updated via import.', 'the-events-calendar' ); ?>"
			></span>
		</dd>
	<?php endif; ?>
</dl>
<p>
	<?php
	switch ( $import_setting ) {
		case 'overwrite':
			$message = __(
				'If this event is re-imported, event fields will be overwritten with any changes from the source.',
				'the-events-calendar'
			);
			break;
		case 'preserve_changes':
			$message = __(
				'If this event is re-imported, event fields that have not been changed locally will be overwritten with any changes from the source.',
				'the-events-calendar'
			);
			break;
		case 'retain':
		default:
			$message = __(
				'This event will not be re-imported and changes made locally will be preserved.',
				'the-events-calendar'
			);
			break;
	}

	// CSVs can be imported when EA isn't active, so they're not always governed by Event Authority.
	// In the case the EA is not active, the "overwrite" behavior is the default; so let's ensure the message reflects that.
	if ( 'CSV File' === $origin && ! tribe( 'events-aggregator.main' )->is_service_active() ) {
		$message = __(
			'If this event is re-imported, event fields will be overwritten with any changes from the source.',
			'the-events-calendar'
		);
	}

	echo esc_html( $message );

	// CSVs can be imported when EA isn't active, so only mention the Event Authority when appropriate.
	if ( 'CSV File' !== $origin || tribe( 'events-aggregator.main' )->is_service_active() ) : ?>
		<a href="<?php echo esc_url( $settings_link ); ?>"><?php echo esc_html__( 'Change Event Update Authority', 'the-events-calendar' ); ?></a>
	<?php endif; ?>
</p>