| @@ -1,11 +1,22 @@ | ||
| 1 | -<?php if (!defined('WPO_VERSION')) die('No direct access allowed'); ?> | |
| 1 | +<?php if (!defined('ABSPATH')) die('No direct access allowed'); ?> | |
| 2 | 2 | |
| 3 | 3 | <h3><?php esc_html_e('Support and feedback', 'wp-optimize'); ?></h3> |
| 4 | 4 | <div class="wpo-fieldgroup"> |
| 5 | 5 | <?php WP_Optimize()->include_template('settings/system-status.php'); ?> |
| 6 | 6 | <ul> |
| 7 | - <li><?php WP_Optimize()->wp_optimize_url('https://getwpo.com/faqs/', __("Read our FAQ here", 'wp-optimize')); ?></li> | |
| 8 | - <li><a href="https://wordpress.org/support/plugin/wp-optimize/" target="_blank"><?php esc_html_e('Support is available here.', 'wp-optimize'); ?></a></li> | |
| 9 | - <li><?php echo esc_html__('If you like WP-Optimize,', 'wp-optimize').' <a href="https://wordpress.org/support/plugin/wp-optimize/reviews/?rate=5#new-post" target="_blank">'.esc_html__('please give us a positive review, here.', 'wp-optimize'); ?></a> <?php echo esc_html__('Or, if you did not like it,', 'wp-optimize').' <a target="_blank" href="https://wordpress.org/support/plugin/wp-optimize/">'.esc_html__('please tell us why at this link.', 'wp-optimize'); ?></a></li> | |
| 7 | + <li><?php $wp_optimize->wp_optimize_url('https://teamupdraft.com/documentation/wp-optimize/?utm_source=wpo-plugin&utm_medium=referral&utm_campaign=paac&utm_content=read-our-faqs&utm_creative_format=text', __('Read our FAQ here', 'wp-optimize')); ?></li> | |
| 8 | + <li><?php $wp_optimize->wp_optimize_url('https://wordpress.org/support/plugin/wp-optimize/', __('Support is available here.', 'wp-optimize')); ?></li> | |
| 9 | + <li> | |
| 10 | + <?php | |
| 11 | + $message = esc_html__('If you like WP-Optimize,', 'wp-optimize'); | |
| 12 | + $message .= ' '; | |
| 13 | + $message .= $wp_optimize->wp_optimize_url('https://wordpress.org/support/plugin/wp-optimize/reviews/?rate=5#new-post', esc_html__('please give us a positive review, here.', 'wp-optimize'), '', '', true); | |
| 14 | + $message .= ' '; | |
| 15 | + $message .= esc_html__('Or, if you did not like it,', 'wp-optimize'); | |
| 16 | + $message .= ' '; | |
| 17 | + $message .= $wp_optimize->wp_optimize_url('https://wordpress.org/support/plugin/wp-optimize/', esc_html__('please tell us why at this link.', 'wp-optimize'), '', '', true); | |
| 18 | + echo $message; // phpcs:ignore WordPress.Security.EscapeOutput -- Output is already escaped | |
| 19 | + ?> | |
| 20 | + </li> | |
| 10 | 21 | </ul> |
| 11 | 22 | </div> |