[ Index ]

PHP Cross Reference of WordPress Trunk (Updated Daily)

Search

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      </div>
  32  
  33      <nav class="about__header-navigation nav-tab-wrapper wp-clearfix" aria-label="<?php esc_attr_e( 'Secondary menu' ); ?>">
  34          <a href="about.php" class="nav-tab"><?php _e( 'What&#8217;s New' ); ?></a>
  35          <a href="credits.php" class="nav-tab"><?php _e( 'Credits' ); ?></a>
  36          <a href="freedoms.php" class="nav-tab"><?php _e( 'Freedoms' ); ?></a>
  37          <a href="privacy.php" class="nav-tab nav-tab-active" aria-current="page"><?php _e( 'Privacy' ); ?></a>
  38          <a href="contribute.php" class="nav-tab"><?php _e( 'Get Involved' ); ?></a>
  39      </nav>
  40  
  41      <div class="about__section has-2-columns is-wider-right">
  42          <div class="column about__image">
  43              <img class="privacy-image" src="<?php echo esc_url( admin_url( 'images/privacy.svg?ver=6.5' ) ); ?>" alt="" />
  44          </div>
  45          <div class="column is-vertically-aligned-center">
  46              <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 you are using, and a list of installed plugins and themes.' ); ?></p>
  47  
  48              <p>
  49                  <?php
  50                  printf(
  51                      /* translators: %s: https://wordpress.org/about/stats/ */
  52                      __( '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>.' ),
  53                      __( 'https://wordpress.org/about/stats/' )
  54                  );
  55                  ?>
  56              </p>
  57  
  58              <p>
  59                  <?php
  60                  printf(
  61                      /* translators: %s: https://wordpress.org/about/privacy/ */
  62                      __( '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>.' ),
  63                      __( 'https://wordpress.org/about/privacy/' )
  64                  );
  65                  ?>
  66              </p>
  67          </div>
  68      </div>
  69  
  70  </div>
  71  <?php require_once  ABSPATH . 'wp-admin/admin-footer.php'; ?>


Generated : Thu Apr 18 08:20:02 2024 Cross-referenced by PHPXref