aboutsummaryrefslogtreecommitdiff
path: root/srcs/wordpress/wp-admin/privacy.php
diff options
context:
space:
mode:
authorCharles <sircharlesaze@gmail.com>2020-01-07 13:06:14 +0100
committerCharles <sircharlesaze@gmail.com>2020-01-07 13:06:14 +0100
commit7086111ad4dd997e12a3220e1ee60c9b9bcf0bb8 (patch)
treef7453d7dd5cbaaab246e23810b02d3edf1e451be /srcs/wordpress/wp-admin/privacy.php
parentc59bdcf77c50cbe89b4a93782cdd6d9e7532080e (diff)
downloadft_server-7086111ad4dd997e12a3220e1ee60c9b9bcf0bb8.tar.gz
ft_server-7086111ad4dd997e12a3220e1ee60c9b9bcf0bb8.tar.bz2
ft_server-7086111ad4dd997e12a3220e1ee60c9b9bcf0bb8.zip
Added wordpress
Diffstat (limited to 'srcs/wordpress/wp-admin/privacy.php')
-rw-r--r--srcs/wordpress/wp-admin/privacy.php79
1 files changed, 79 insertions, 0 deletions
diff --git a/srcs/wordpress/wp-admin/privacy.php b/srcs/wordpress/wp-admin/privacy.php
new file mode 100644
index 0000000..25dc75e
--- /dev/null
+++ b/srcs/wordpress/wp-admin/privacy.php
@@ -0,0 +1,79 @@
+<?php
+/**
+ * Privacy administration panel.
+ *
+ * @package WordPress
+ * @subpackage Administration
+ */
+
+/** WordPress Administration Bootstrap */
+require_once( dirname( __FILE__ ) . '/admin.php' );
+
+$title = __( 'Privacy' );
+
+list( $display_version ) = explode( '-', get_bloginfo( 'version' ) );
+
+include( ABSPATH . 'wp-admin/admin-header.php' );
+?>
+<div class="wrap about__container">
+
+ <div class="about__header">
+ <div class="about__header-title">
+ <h1>
+ <span><?php echo $display_version; ?></span>
+ <?php _e( 'WordPress' ); ?>
+ </h1>
+ </div>
+
+ <div class="about__header-badge"></div>
+
+ <div class="about__header-text">
+ <p>
+ <?php
+ printf(
+ /* translators: %s: The current WordPress version number. */
+ __( 'Introducing our most refined user experience with the improved block editor in WordPress %s!' ),
+ $display_version
+ );
+ ?>
+ </p>
+ </div>
+
+ <nav class="about__header-navigation nav-tab-wrapper wp-clearfix" aria-label="<?php esc_attr_e( 'Secondary menu' ); ?>">
+ <a href="about.php" class="nav-tab"><?php _e( 'What&#8217;s New' ); ?></a>
+ <a href="credits.php" class="nav-tab"><?php _e( 'Credits' ); ?></a>
+ <a href="freedoms.php" class="nav-tab"><?php _e( 'Freedoms' ); ?></a>
+ <a href="privacy.php" class="nav-tab nav-tab-active" aria-current="page"><?php _e( 'Privacy' ); ?></a>
+ </nav>
+ </div>
+
+ <div class="about__section">
+ <div class="column">
+ <h2><?php _e( 'Privacy' ); ?></h2>
+
+ <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>
+
+ <p>
+ <?php
+ printf(
+ /* translators: %s: https://wordpress.org/about/stats/ */
+ __( '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>.' ),
+ __( 'https://wordpress.org/about/stats/' )
+ );
+ ?>
+ </p>
+
+ <p>
+ <?php
+ printf(
+ /* translators: %s: https://wordpress.org/about/privacy/ */
+ __( '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>.' ),
+ __( 'https://wordpress.org/about/privacy/' )
+ );
+ ?>
+ </p>
+ </div>
+ </div>
+
+</div>
+<?php include( ABSPATH . 'wp-admin/admin-footer.php' ); ?>