| @@ -1,13 +1,19 @@ | ||
| 1 | 1 | <?php |
| 2 | -defined( 'ABSPATH' ) || die( 'Cheatin’ uh?' ); | |
| 2 | +defined( 'ABSPATH' ) || exit; | |
| 3 | 3 | |
| 4 | -$this->print_template( 'notice-header', array( | |
| 5 | - 'title' => __( 'You\'re missing out!', 'imagify' ), | |
| 6 | -) ); | |
| 4 | +$this->print_template( | |
| 5 | + 'notice-header', | |
| 6 | + [ | |
| 7 | + 'title' => __( 'You\'re missing out!', 'imagify' ), | |
| 8 | + ] | |
| 9 | +); | |
| 7 | 10 | ?> |
| 8 | -<p><?php _e( 'Use the List view to optimize images with Imagify.', 'imagify' ); ?></p> | |
| 9 | -<p><a href="<?php echo esc_url( admin_url( 'upload.php?mode=list' ) ); ?>"><?php _e( 'Switch to the List View', 'imagify' ); ?></a></p> | |
| 11 | +<p><?php esc_html_e( 'Use the List view to optimize images with Imagify.', 'imagify' ); ?></p> | |
| 12 | +<p><a href="<?php echo esc_url( admin_url( 'upload.php?mode=list' ) ); ?>"><?php esc_html_e( 'Switch to the List View', 'imagify' ); ?></a></p> | |
| 10 | 13 | <?php |
| 11 | -$this->print_template( 'notice-footer', array( | |
| 12 | - 'dismissible' => 'grid-view', | |
| 13 | -) ); | |
| 14 | +$this->print_template( | |
| 15 | + 'notice-footer', | |
| 16 | + [ | |
| 17 | + 'dismissible' => 'grid-view', | |
| 18 | + ] | |
| 19 | +); | |