modules/protect/config-ui.php 1 location
|
@@ 4-9 (lines=6) @@
|
1 |
|
<?php if ( ! $this->api_key ) : // no api key, provide a button to get one ?> |
2 |
|
|
3 |
|
<div class="protect-status attn"> |
4 |
|
<?php if( ! empty( $this->api_key_error ) ) : ?> |
5 |
|
<p class="error"><?php echo $this->api_key_error; ?></p> |
6 |
|
<p> |
7 |
|
<a href="?page=jetpack-debugger"><?php echo __( 'Debug Jetpack for more information.', 'jetpack' ); ?></a> |
8 |
|
</p> |
9 |
|
<?php endif; ?> |
10 |
|
|
11 |
|
<form method="post"> |
12 |
|
<?php wp_nonce_field( 'jetpack-protect' ); ?> |
modules/widgets/wordpress-post-widget/class.jetpack-display-posts-widget-base.php 1 location
|
@@ 240-245 (lines=6) @@
|
237 |
|
* |
238 |
|
* The error is shown only when the widget was already saved. |
239 |
|
*/ |
240 |
|
if ( empty( $url ) && ! preg_match( '/__i__|%i%/', $this->id ) ) { |
241 |
|
?> |
242 |
|
<br /> |
243 |
|
<i class="error-message"><?php echo __( 'You must specify a valid blog URL!', 'jetpack' ); ?></i> |
244 |
|
<?php |
245 |
|
} |
246 |
|
?> |
247 |
|
</p> |
248 |
|
<p> |