diff options
author | Yury German <blueknight@gentoo.org> | 2022-06-15 12:23:54 -0400 |
---|---|---|
committer | Yury German <blueknight@gentoo.org> | 2022-06-15 12:23:54 -0400 |
commit | d70aabe9576a2aa12d55e8649f04c3a853de902a (patch) | |
tree | 31baa2d7c7bf8acddc5d5e307ad6b6dda6fc23c2 /plugins/akismet/views/config.php | |
parent | Openid-3.6.1 and jetpack-11.0 upgrade (diff) | |
download | blogs-gentoo-master.tar.gz blogs-gentoo-master.tar.bz2 blogs-gentoo-master.zip |
Signed-off-by: Yury German <blueknight@gentoo.org>
Diffstat (limited to 'plugins/akismet/views/config.php')
-rw-r--r-- | plugins/akismet/views/config.php | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/plugins/akismet/views/config.php b/plugins/akismet/views/config.php index df24b91d..0aa1ac93 100644 --- a/plugins/akismet/views/config.php +++ b/plugins/akismet/views/config.php @@ -35,7 +35,7 @@ </div> <div class="akismet-new-snapshot"> - <iframe allowtransparency="true" scrolling="no" frameborder="0" style="width: 100%; height: 220px; overflow: hidden;" src="<?php printf( '//akismet.com/web/1.0/snapshot.php?blog=%s&api_key=%s&height=200&locale=%s', urlencode( get_option( 'home' ) ), Akismet::get_api_key(), get_locale() );?>"></iframe> + <iframe allowtransparency="true" scrolling="no" frameborder="0" style="width: 100%; height: 220px; overflow: hidden;" src="<?php echo esc_url( sprintf( 'https://tools.akismet.com/1.0/snapshot.php?blog=%s&api_key=%s&height=200&locale=%s', urlencode( get_option( 'home' ) ), Akismet::get_api_key(), get_locale() ) ); ?>"></iframe> <ul> <li> <h3><?php esc_html_e( 'Past six months' , 'akismet');?></h3> @@ -73,7 +73,9 @@ <tbody> <?php if ( ! Akismet::predefined_api_key() ) { ?> <tr> - <th class="akismet-api-key" width="10%" align="left" scope="row"><?php esc_html_e('API Key', 'akismet');?></th> + <th class="akismet-api-key" width="10%" align="left" scope="row"> + <label for="key"><?php esc_html_e( 'API Key', 'akismet' ); ?></label> + </th> <td width="5%"/> <td align="left"> <span class="api-key"><input id="key" name="key" type="text" size="15" value="<?php echo esc_attr( get_option('wordpress_api_key') ); ?>" class="<?php echo esc_attr( 'regular-text code ' . $akismet_user->status ); ?>"></span> |