Merged in feature/from-pantheon (pull request #16)

code from pantheon

* code from pantheon
This commit is contained in:
Tony Volpe
2024-01-10 17:03:02 +00:00
parent 054b4fffc9
commit 4eb982d7a8
16492 changed files with 3475854 additions and 0 deletions

View File

@@ -0,0 +1,24 @@
<?php
defined( 'ABSPATH' ) || die( 'Cheatin uh?' );
$this->print_template( 'notice-header', array(
'title' => __( 'Your API key isn\'t valid!', 'imagify' ),
'classes' => array( 'error' ),
) );
?>
<p>
<?php wp_nonce_field( 'imagify-signup', 'imagifysignupnonce', false ); ?>
<?php
printf(
/* translators: 1 and 2 are link tag starts, 3 is a link tag end. */
__( 'Go to your Imagify account page to get your API Key and specify it on %1$syour settings%3$s or %2$screate an account for free%3$s if you don\'t have one yet.', 'imagify' ),
'<a href="' . esc_url( get_imagify_admin_url() ) . '">',
'<a id="imagify-signup" target="_blank" href="' . esc_url( imagify_get_external_url( 'register' ) ) . '">',
'</a>'
);
?>
</p>
<?php
$this->print_template( 'notice-footer', array(
'dismissible' => 'wrong-api-key',
) );