admin-warning.php
4 years ago
customizer.css
5 years ago
customizer.js
6 years ago
form.php
4 years ago
style.css
8 years ago
widget.php
4 years ago
admin-warning.php
30 lines
| 1 | <div class='jetpack-simple-payments-disabled-error'> |
| 2 | <p> |
| 3 | <?php |
| 4 | /** |
| 5 | * Show error and help if Pay with PayPal is disabled. |
| 6 | * |
| 7 | * @package automattic/jetpack |
| 8 | */ |
| 9 | |
| 10 | $support_url = ( defined( 'IS_WPCOM' ) && IS_WPCOM ) |
| 11 | ? 'https://wordpress.com/support/pay-with-paypal/' |
| 12 | : 'https://jetpack.com/support/pay-with-paypal/'; |
| 13 | printf( |
| 14 | wp_kses( |
| 15 | // translators: variable is a link to the support page. |
| 16 | __( 'Your plan doesn\'t include Pay with PayPal. <a href="%s" rel="noopener noreferrer" target="_blank">Learn more and upgrade</a>.', 'jetpack' ), |
| 17 | array( |
| 18 | 'a' => array( |
| 19 | 'href' => array(), |
| 20 | 'rel' => array(), |
| 21 | 'target' => array(), |
| 22 | ), |
| 23 | ) |
| 24 | ), |
| 25 | esc_url( $support_url ) |
| 26 | ); |
| 27 | ?> |
| 28 | </p> |
| 29 | </div> |
| 30 |