[ 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  // Used in the HTML title tag.
  13  $title = __( 'Privacy' );
  14  
  15  list( $display_version ) = explode( '-', get_bloginfo( 'version' ) );
  16  
  17  require_once ABSPATH . 'wp-admin/admin-header.php';
  18  ?>
  19  <div class="wrap about__container">
  20  
  21      <div class="about__header">
  22          <div class="about__header-title">
  23              <h1>
  24                  <?php _e( 'Privacy' ); ?>
  25              </h1>
  26          </div>
  27  
  28          <div class="about__header-text">
  29              <?php _e( 'We take privacy and transparency very seriously' ); ?>
  30          </div>
  31  
  32          <nav class="about__header-navigation nav-tab-wrapper wp-clearfix" aria-label="<?php esc_attr_e( 'Secondary menu' ); ?>">
  33              <a href="about.php" class="nav-tab"><?php _e( 'What&#8217;s New' ); ?></a>
  34              <a href="credits.php" class="nav-tab"><?php _e( 'Credits' ); ?></a>
  35              <a href="freedoms.php" class="nav-tab"><?php _e( 'Freedoms' ); ?></a>
  36              <a href="privacy.php" class="nav-tab nav-tab-active" aria-current="page"><?php _e( 'Privacy' ); ?></a>
  37          </nav>
  38      </div>
  39  
  40      <div class="about__section has-2-columns is-wider-right">
  41          <div class="column about__image">
  42              <img class="privacy-image" src="<?php echo esc_url( admin_url( 'images/privacy.svg' ) ); ?>" alt="" />
  43          </div>
  44          <div class="column is-vertically-aligned-center">
  45              <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>
  46  
  47              <p>
  48                  <?php
  49                  printf(
  50                      /* translators: %s: https://wordpress.org/about/stats/ */
  51                      __( '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>.' ),
  52                      __( 'https://wordpress.org/about/stats/' )
  53                  );
  54                  ?>
  55              </p>
  56  
  57              <p>
  58                  <?php
  59                  printf(
  60                      /* translators: %s: https://wordpress.org/about/privacy/ */
  61                      __( '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>.' ),
  62                      __( 'https://wordpress.org/about/privacy/' )
  63                  );
  64                  ?>
  65              </p>
  66          </div>
  67      </div>
  68  
  69  </div>
  70  <?php require_once ABSPATH . 'wp-admin/admin-footer.php'; ?>


Generated: Mon Aug 15 01:00:02 2022 Cross-referenced by PHPXref 0.7.1