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.php 1 location
|
@@ 976-981 (lines=6) @@
|
973 |
|
* |
974 |
|
* The error is shown only when the widget was already saved. |
975 |
|
*/ |
976 |
|
if ( empty( $url ) && ! preg_match( '/__i__|%i%/', $this->id ) ) { |
977 |
|
?> |
978 |
|
<br /> |
979 |
|
<i class="error-message"><?php echo __( 'You must specify a valid blog URL!', 'jetpack' ); ?></i> |
980 |
|
<?php |
981 |
|
} |
982 |
|
?> |
983 |
|
</p> |
984 |
|
<p> |