PluginProbe
Image Source Control Lite – Show Image Credits and Captions / trunk
Image Source Control Lite – Show Image Credits and Captions vtrunk
3.12.0 3.11.0 trunk 1.1 1.1.1 1.1.2 1.1.2.1 1.1.3 1.10 1.10.1 1.10.2 1.10.3 1.10.4 1.10.5 1.2 1.2.0.1 1.2.0.2 1.2.0.3 1.3.0 1.3.1 1.3.2 1.3.3 1.3.4 1.3.4.1 1.3.5 All 110 releases
image-source-control-isc / admin / templates / notice-missing.php

notice-missing.php in Image Source Control Lite – Show Image Credits and Captions trunk, at admin/templates/notice-missing.php

51 lines 1.3 KB
No matching file
Up and down to move Enter to open Esc to close
Raw Download Zip
1 <?php
2 /**
3 * Render warning about number of missing sources.
4 *
5 * @var integer $missing_sources number of missing sources.
6 * @var WP_Screen $screen current screen.
7 */
8 ?>
9 <div class="wrap">
10 <div class="error isc-notice"><p>
11 <?php
12 printf(
13 // translators: %d is the number of images without a known position
14 esc_html( _n( '%s image has no credits.', '%s images have no credits.', absint( $missing_sources ), 'image-source-control-isc' ) ),
15 absint( $missing_sources )
16 );
17 echo ' ';
18 printf(
19 wp_kses(
20 // translators: %1$s is an opening link tag, %2$s is a closing tag.
21 __( 'See the %1$smissing sources%2$s list.', 'image-source-control-isc' ),
22 [
23 'a' => [
24 'href' => [],
25 ],
26 ]
27 ),
28 '<a href="' . esc_url( admin_url( 'upload.php?page=isc-sources' ) ) . '">',
29 '</a>'
30 );
31 // show a link to the settings page
32 if ( $screen->id !== 'settings_page_isc-settings' ) {
33 echo ' ';
34 printf(
35 wp_kses(
36 // translators: %1$s is an opening link tag, %2$s is a closing tag.
37 __( 'You can %1$sdisable%2$s this warning in the settings.', 'image-source-control-isc' ),
38 [
39 'a' => [
40 'href' => [],
41 ],
42 ]
43 ),
44 '<a href="' . esc_url( admin_url( 'options-general.php?page=isc-settings#isc_settings_section_misc' ) ) . '">',
45 '</a>'
46 );
47 }
48 ?>
49 </p></div>
50 </div>
51