Diff: STRATO-apps/wordpress_03/app/wp-content/plugins/wp-rocket/views/settings/page-sections/license.php
Keine Baseline-Datei – Diff nur gegen leer.
1
-
1
+
<?php
2
+
/**
3
+
* License section template.
4
+
*
5
+
* @since 3.0
6
+
*
7
+
* @param array {
8
+
* Section arguments.
9
+
*
10
+
* @type string $id Page section identifier.
11
+
* @type string $title Page section title.
12
+
* }
13
+
*/
14
+
15
+
defined( 'ABSPATH' ) || exit;
16
+
17
+
?>
18
+
19
+
<div class="wpr-sectionHeader">
20
+
<h2 id="<?php echo esc_attr( $data['id'] ); ?>" class="wpr-title1 wpr-icon-important"><?php echo esc_html( $data['title'] ); ?></h2>
21
+
<div class="wpr-sectionHeader-title wpr-title3">
22
+
<?php esc_html_e( 'WP Rocket was not able to automatically validate your license.', 'rocket' ); ?>
23
+
</div>
24
+
<div class="wpr-sectionHeader-description">
25
+
<?php
26
+
// translators: %1$s = tutorial URL, %2$s = support URL.
27
+
printf(
28
+
// translators: %1$s = tutorial URL, %2$s = support URL.
29
+
esc_html__( 'Follow this %1$s, or contact %2$s to get the engine started.', 'rocket' ),
30
+
sprintf(
31
+
// translators: %1$s = <a href=", %2$s = tutorial href, %3$s = " target="_blank">, %4$s = </a>.
32
+
esc_html__( '%1$s%2$s%3$stutorial%4$s', 'rocket' ),
33
+
'<a href="',
34
+
esc_url( __( 'https://docs.wp-rocket.me/article/100-resolving-problems-with-license-validation/?utm_source=wp_plugin&utm_medium=wp_rocket', 'rocket' ) ),
35
+
'" target="_blank">',
36
+
'</a>'
37
+
),
38
+
sprintf(
39
+
// translators: %1$s = <a href=", %2$s = support href, %3$s = " target="_blank">, %4$s = </a>.
40
+
esc_html__( '%1$s%2$s%3$ssupport%4$s', 'rocket' ),
41
+
'<a href="',
42
+
rocket_get_external_url( // phpcs:ignore WordPress.Security.EscapeOutput.OutputNotEscaped -- Dynamic content is properly escaped in the view.
43
+
'support',
44
+
[
45
+
'utm_source' => 'wp_plugin',
46
+
'utm_medium' => 'wp_rocket',
47
+
]
48
+
),
49
+
'" target="_blank">',
50
+
'</a>'
51
+
)
52
+
);
53
+
?>
54
+
</div>
55
+
</div><br>
56
+
57
+
<div class="wpr-fieldsContainer">
58
+
<div class="wpr-fieldsContainer-fieldset wpr-fieldsContainer-fieldset--split">
59
+
<?php $this->render_settings_sections( $data['id'] ); ?>
60
+
</div>
61
+
</div>
62
+