[ Index ]

PHP Cross Reference of WordPress Trunk (Updated Daily)

Search

title

Body

[close]

/wp-content/plugins/akismet/views/ -> stats.php (source)

   1  <div id="akismet-plugin-container">
   2      <?php if ( has_action( 'akismet_header' ) ) : ?>
   3          <?php do_action( 'akismet_header' ); ?>
   4      <?php else : ?>
   5          <div class="akismet-masthead">
   6              <div class="akismet-masthead__inside-container">
   7                  <?php Akismet::view( 'logo', array( 'include_logo_link' => true ) ); ?>
   8                  <div class="akismet-masthead__back-link-container">
   9                      <a class="akismet-masthead__back-link" href="<?php echo esc_url( Akismet_Admin::get_page_url() ); ?>"><?php esc_html_e( 'Back to settings', 'akismet' ); ?></a>
  10                  </div>
  11              </div>
  12          </div>
  13      <?php endif; ?>
  14      <?php /* name attribute on iframe is used as a cache-buster here to force Firefox to load the new style charts: https://bugzilla.mozilla.org/show_bug.cgi?id=356558 */ ?>
  15      <iframe id="stats-iframe" src="<?php echo esc_url( sprintf( 'https://tools.akismet.com/1.0/user-stats.php?blog=%s&token=%s&locale=%s&is_redecorated=1', urlencode( get_option( 'home' ) ), urlencode( Akismet::get_access_token() ), esc_attr( get_user_locale() ) ) ); ?>" name="<?php echo esc_attr( 'user-stats- ' . filemtime( __FILE__ ) ); ?>" width="100%" height="2500px" frameborder="0" title="<?php echo esc_attr__( 'Akismet detailed stats', 'akismet' ); ?>"></iframe>
  16      <?php Akismet::view( 'footer' ); ?>
  17  </div>


Generated : Mon Jun 15 08:20:09 2026 Cross-referenced by PHPXref