# image-source-control-isc/3.12.0/admin/templates/notice-missing.php

Image Source Control Lite – Show Image Credits and Captions, version 3.12.0. 51 lines.

- Page: https://pluginprobe.com/plugins/image-source-control-isc/3.12.0/code/admin/templates/notice-missing.php
- Raw: https://pluginprobe.com/plugins/image-source-control-isc/3.12.0/raw/admin/templates/notice-missing.php
- Modified: 2024-11-14T07:57:28+00:00

Line numbers below start at 1. Link to a line or a range by appending a fragment to the
page URL, for example `https://pluginprobe.com/plugins/image-source-control-isc/3.12.0/code/admin/templates/notice-missing.php#L10-L20`.

```php
<?php
/**
 * Render warning about number of missing sources.
 *
 * @var integer $missing_sources number of missing sources.
 * @var WP_Screen $screen current screen.
 */
?>
<div class="wrap">
	<div class="error isc-notice"><p>
		<?php
		printf(
			// translators: %d is the number of images without a known position
			esc_html( _n( '%s image has no credits.', '%s images have no credits.', absint( $missing_sources ), 'image-source-control-isc' ) ),
			absint( $missing_sources )
		);
		echo ' ';
		printf(
			wp_kses(
			// translators: %1$s is an opening link tag, %2$s is a closing tag.
				__( 'See the %1$smissing sources%2$s list.', 'image-source-control-isc' ),
				[
					'a' => [
						'href' => [],
					],
				]
			),
			'<a href="' . esc_url( admin_url( 'upload.php?page=isc-sources' ) ) . '">',
			'</a>'
		);
		// show a link to the settings page
		if ( $screen->id !== 'settings_page_isc-settings' ) {
			echo ' ';
			printf(
				wp_kses(
				// translators: %1$s is an opening link tag, %2$s is a closing tag.
					__( 'You can %1$sdisable%2$s this warning in the settings.', 'image-source-control-isc' ),
					[
						'a' => [
							'href' => [],
						],
					]
				),
				'<a href="' . esc_url( admin_url( 'options-general.php?page=isc-settings#isc_settings_section_misc' ) ) . '">',
				'</a>'
			);
		}
		?>
	</p></div>
</div>

```
