[ Index ]

PHP Cross Reference of WordPress

title

Body

[close]

/wp-admin/ -> privacy.php (source)

   1  <?php
   2  /**
   3   * Privacy administration panel.
   4   *
   5   * @package WordPress
   6   * @subpackage Administration
   7   */
   8  
   9  /** WordPress Administration Bootstrap */
  10  require_once  __DIR__ . '/admin.php';
  11  
  12  $title = __( 'Privacy' );
  13  
  14  list( $display_version ) = explode( '-', get_bloginfo( 'version' ) );
  15  
  16  require_once ABSPATH . 'wp-admin/admin-header.php';
  17  ?>
  18  <div class="wrap about__container">
  19  
  20      <div class="about__header">
  21          <div class="about__header-image">
  22              <img alt="<?php _e( 'Code is Poetry' ); ?>" src="<?php echo admin_url( 'images/about-badge.svg' ); ?>" />
  23          </div>
  24  
  25          <div class="about__header-container">
  26              <div class="about__header-title">
  27                  <p>
  28                      <?php _e( 'WordPress' ); ?>
  29                      <?php echo $display_version; ?>
  30                  </p>
  31              </div>
  32  
  33              <div class="about__header-text">
  34                  <?php _e( 'Jazz up your stories in an editor that’s cleaner, crisper, and does more to get out of your way.' ); ?>
  35              </div>
  36          </div>
  37  
  38          <nav class="about__header-navigation nav-tab-wrapper wp-clearfix" aria-label="<?php esc_attr_e( 'Secondary menu' ); ?>">
  39              <a href="about.php" class="nav-tab"><?php _e( 'What&#8217;s New' ); ?></a>
  40              <a href="credits.php" class="nav-tab"><?php _e( 'Credits' ); ?></a>
  41              <a href="freedoms.php" class="nav-tab"><?php _e( 'Freedoms' ); ?></a>
  42              <a href="privacy.php" class="nav-tab nav-tab-active" aria-current="page"><?php _e( 'Privacy' ); ?></a>
  43          </nav>
  44      </div>
  45  
  46      <div class="about__section">
  47          <div class="column">
  48              <h1><?php _e( 'Privacy' ); ?></h1>
  49  
  50              <p><img class="privacy-image" src="<?php echo esc_url( admin_url( 'images/privacy.png' ) ); ?>" alt="" /></p>
  51  
  52              <p><?php _e( 'From time to time, your WordPress site may send data to WordPress.org &#8212; including, but not limited to &#8212; the version of WordPress you are using, and a list of installed plugins and themes.' ); ?></p>
  53  
  54              <p>
  55                  <?php
  56                  printf(
  57                      /* translators: %s: https://wordpress.org/about/stats/ */
  58                      __( 'This data is used to provide general enhancements to WordPress, which includes helping to protect your site by finding and automatically installing new updates. It is also used to calculate statistics, such as those shown on the <a href="%s">WordPress.org stats page</a>.' ),
  59                      __( 'https://wordpress.org/about/stats/' )
  60                  );
  61                  ?>
  62              </p>
  63  
  64              <p>
  65                  <?php
  66                  printf(
  67                      /* translators: %s: https://wordpress.org/about/privacy/ */
  68                      __( 'We take privacy and transparency very seriously. To learn more about what data we collect, and how we use it, please visit <a href="%s">our Privacy Policy</a>.' ),
  69                      __( 'https://wordpress.org/about/privacy/' )
  70                  );
  71                  ?>
  72              </p>
  73          </div>
  74      </div>
  75  
  76  </div>
  77  <?php require_once ABSPATH . 'wp-admin/admin-footer.php'; ?>


Generated: Sat Jun 12 01:00:05 2021 Cross-referenced by PHPXref 0.7.1