PluginProbe
Imagify Image Optimization: Optimize Images | Compress & Convert to WebP/AVIF / 2.3.0
Imagify Image Optimization: Optimize Images | Compress & Convert to WebP/AVIF v2.3.0
2.3.4 2.3.3 2.3.2 2.3.1 2.3.0 2.2.9 2.2.8 trunk 1.10 1.3.3 1.3.4 1.3.5 1.3.5.1 1.3.5.2 1.3.6 1.3.6.1 1.4 1.4.1 1.4.2 1.4.3 1.4.4 1.4.5 1.4.6 1.4.7 1.5 All 103 releases
imagify / views / notice-http-block-external.php

notice-http-block-external.php in Imagify Image Optimization: Optimize Images | Compress & Convert to WebP/AVIF 2.3.0, at views/notice-http-block-external.php

29 lines 876 B
No matching file
Up and down to move Enter to open Esc to close
Raw Download Zip
1 <?php
2 defined( 'ABSPATH' ) || exit;
3
4 $this->print_template(
5 'notice-header',
6 [
7 'title' => __( 'The external HTTP requests are blocked!', 'imagify' ),
8 'classes' => [ 'error' ],
9 ]
10 );
11 ?>
12 <p>
13 <?php esc_html_e( 'You defined the <code>WP_HTTP_BLOCK_EXTERNAL</code> constant in the <code>wp-config.php</code> to block all external HTTP requests.', 'imagify' ); ?>
14 </p>
15 <p>
16 <?php esc_html_e( 'To optimize your images, you have to put the following code in your <code>wp-config.php</code> file so that it works correctly.', 'imagify' ); ?><br/>
17 <?php esc_html_e( 'Click on the field and press Ctrl-A to select all.', 'imagify' ); ?>
18 </p>
19 <p>
20 <textarea readonly="readonly" class="large-text readonly" rows="1">define( 'WP_ACCESSIBLE_HOSTS', '*.imagify.io' );</textarea>
21 </p>
22 <?php
23 $this->print_template(
24 'notice-footer',
25 [
26 'dismissible' => 'http-block-external',
27 ]
28 );
29