[ Index ]

PHP Cross Reference of WordPress Trunk (Updated Daily)

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( dirname( __FILE__ ) . '/admin.php' );
  11  
  12  $title = __( 'Privacy' );
  13  
  14  list( $display_version ) = explode( '-', get_bloginfo( 'version' ) );
  15  
  16  include ( ABSPATH . 'wp-admin/admin-header.php' );
  17  ?>
  18  <div class="wrap about__container">
  19  
  20      <div class="about__header">
  21          <div class="about__header-title">
  22              <h1>
  23                  <span><?php echo $display_version; ?></span>
  24                  <?php _e( 'WordPress' ); ?>
  25              </h1>
  26          </div>
  27  
  28          <div class="about__header-badge"></div>
  29  
  30          <div class="about__header-text">
  31              <p>
  32                  <?php
  33                  printf(
  34                      /* translators: %s: The current WordPress version number. */
  35                      __( 'Introducing our most refined user experience with the improved block editor in WordPress %s!' ),
  36                      $display_version
  37                  );
  38                  ?>
  39              </p>
  40          </div>
  41  
  42          <nav class="about__header-navigation nav-tab-wrapper wp-clearfix" aria-label="<?php esc_attr_e( 'Secondary menu' ); ?>">
  43              <a href="about.php" class="nav-tab"><?php _e( 'What&#8217;s New' ); ?></a>
  44              <a href="credits.php" class="nav-tab"><?php _e( 'Credits' ); ?></a>
  45              <a href="freedoms.php" class="nav-tab"><?php _e( 'Freedoms' ); ?></a>
  46              <a href="privacy.php" class="nav-tab nav-tab-active" aria-current="page"><?php _e( 'Privacy' ); ?></a>
  47          </nav>
  48      </div>
  49  
  50      <div class="about__section">
  51          <div class="column">
  52              <h2><?php _e( 'Privacy' ); ?></h2>
  53  
  54              <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>
  55  
  56              <p>
  57                  <?php
  58                  printf(
  59                      /* translators: %s: https://wordpress.org/about/stats/ */
  60                      __( '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>.' ),
  61                      __( 'https://wordpress.org/about/stats/' )
  62                  );
  63                  ?>
  64              </p>
  65  
  66              <p>
  67                  <?php
  68                  printf(
  69                      /* translators: %s: https://wordpress.org/about/privacy/ */
  70                      __( '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">WordPress.org/about/privacy</a>.' ),
  71                      __( 'https://wordpress.org/about/privacy/' )
  72                  );
  73                  ?>
  74              </p>
  75          </div>
  76      </div>
  77  
  78  </div>
  79  <?php include ( ABSPATH . 'wp-admin/admin-footer.php' ); ?>


Generated: Sat Nov 23 20:47:33 2019 Cross-referenced by PHPXref 0.7