|
@@ 6949-6953 (lines=5) @@
|
| 6946 |
|
<?php if ( is_plugin_active( 'akismet/akismet.php' ) ) : ?> |
| 6947 |
|
<h3><?php echo number_format_i18n( get_option( 'akismet_spam_count', 0 ) ); ?></h3> |
| 6948 |
|
<p><?php echo esc_html_x( 'Spam comments blocked by Akismet.', '{#} Spam comments blocked by Akismet -- number is on a prior line, text is a caption.', 'jetpack' ); ?></p> |
| 6949 |
|
<?php elseif ( current_user_can( 'activate_plugins' ) && ! is_wp_error( validate_plugin( 'akismet/akismet.php' ) ) ) : ?> |
| 6950 |
|
<a href="<?php echo esc_url( wp_nonce_url( add_query_arg( array( 'action' => 'activate', 'plugin' => 'akismet/akismet.php' ), admin_url( 'plugins.php' ) ), 'activate-plugin_akismet/akismet.php' ) ); ?>" class="button button-jetpack"> |
| 6951 |
|
<?php esc_html_e( 'Activate Akismet', 'jetpack' ); ?> |
| 6952 |
|
</a> |
| 6953 |
|
<?php else : ?> |
| 6954 |
|
<p><a href="<?php echo esc_url( 'https://akismet.com/?utm_source=jetpack&utm_medium=link&utm_campaign=Jetpack%20Dashboard%20Widget%20Footer%20Link' ); ?>"><?php esc_html_e( 'Akismet can help to keep your blog safe from spam!', 'jetpack' ); ?></a></p> |
| 6955 |
|
<?php endif; ?> |
| 6956 |
|
</div> |
|
@@ 6959-6961 (lines=3) @@
|
| 6956 |
|
</div> |
| 6957 |
|
|
| 6958 |
|
|
| 6959 |
|
<?php if ( ! current_user_can( 'edit_posts' ) && self::is_user_connected() ) : ?> |
| 6960 |
|
<div style="width: 100%; text-align: center; padding-top: 20px; clear: both;"><a class="button" title="<?php esc_attr_e( 'Unlink your account from WordPress.com', 'jetpack' ); ?>" href="<?php echo esc_url( wp_nonce_url( add_query_arg( array( 'action' => 'unlink', 'redirect' => 'sub-unlink' ), admin_url( 'index.php' ) ), 'jetpack-unlink' ) ); ?>"><?php esc_html_e( 'Unlink your account from WordPress.com', 'jetpack' ); ?></a></div> |
| 6961 |
|
<?php endif; ?> |
| 6962 |
|
|
| 6963 |
|
</footer> |
| 6964 |
|
<?php |