author | ymh <ymh.work@gmail.com> |
Mon, 08 Sep 2025 19:44:41 +0200 | |
changeset 23 | 417f20492bf7 |
parent 22 | 8c2e4d02f4ef |
permissions | -rw-r--r-- |
0 | 1 |
<?php |
2 |
/** |
|
3 |
* Your Rights administration panel. |
|
4 |
* |
|
5 |
* @package WordPress |
|
6 |
* @subpackage Administration |
|
7 |
*/ |
|
8 |
||
9 |
/** WordPress Administration Bootstrap */ |
|
16 | 10 |
require_once __DIR__ . '/admin.php'; |
11 |
||
12 |
// This file was used to also display the Privacy tab on the About screen from 4.9.6 until 5.3.0. |
|
13 |
if ( isset( $_GET['privacy-notice'] ) ) { |
|
14 |
wp_redirect( admin_url( 'privacy.php' ), 301 ); |
|
15 |
exit; |
|
16 |
} |
|
0 | 17 |
|
19 | 18 |
// Used in the HTML title tag. |
0 | 19 |
$title = __( 'Freedoms' ); |
20 |
||
7
cf61fcea0001
resynchronize code repo with production
ymh <ymh.work@gmail.com>
parents:
5
diff
changeset
|
21 |
list( $display_version ) = explode( '-', get_bloginfo( 'version' ) ); |
0 | 22 |
|
16 | 23 |
require_once ABSPATH . 'wp-admin/admin-header.php'; |
0 | 24 |
?> |
16 | 25 |
<div class="wrap about__container"> |
0 | 26 |
|
16 | 27 |
<div class="about__header"> |
18 | 28 |
<div class="about__header-title"> |
29 |
<h1> |
|
30 |
<?php _e( 'The Four Freedoms' ); ?> |
|
31 |
</h1> |
|
16 | 32 |
</div> |
0 | 33 |
|
18 | 34 |
<div class="about__header-text"> |
19 | 35 |
<?php _e( 'WordPress is free and open source software' ); ?> |
16 | 36 |
</div> |
21
48c4eec2b7e6
Add CLAUDE.md documentation and sync WordPress core files
ymh <ymh.work@gmail.com>
parents:
19
diff
changeset
|
37 |
</div> |
7
cf61fcea0001
resynchronize code repo with production
ymh <ymh.work@gmail.com>
parents:
5
diff
changeset
|
38 |
|
21
48c4eec2b7e6
Add CLAUDE.md documentation and sync WordPress core files
ymh <ymh.work@gmail.com>
parents:
19
diff
changeset
|
39 |
<nav class="about__header-navigation nav-tab-wrapper wp-clearfix" aria-label="<?php esc_attr_e( 'Secondary menu' ); ?>"> |
48c4eec2b7e6
Add CLAUDE.md documentation and sync WordPress core files
ymh <ymh.work@gmail.com>
parents:
19
diff
changeset
|
40 |
<a href="about.php" class="nav-tab"><?php _e( 'What’s New' ); ?></a> |
48c4eec2b7e6
Add CLAUDE.md documentation and sync WordPress core files
ymh <ymh.work@gmail.com>
parents:
19
diff
changeset
|
41 |
<a href="credits.php" class="nav-tab"><?php _e( 'Credits' ); ?></a> |
48c4eec2b7e6
Add CLAUDE.md documentation and sync WordPress core files
ymh <ymh.work@gmail.com>
parents:
19
diff
changeset
|
42 |
<a href="freedoms.php" class="nav-tab nav-tab-active" aria-current="page"><?php _e( 'Freedoms' ); ?></a> |
48c4eec2b7e6
Add CLAUDE.md documentation and sync WordPress core files
ymh <ymh.work@gmail.com>
parents:
19
diff
changeset
|
43 |
<a href="privacy.php" class="nav-tab"><?php _e( 'Privacy' ); ?></a> |
48c4eec2b7e6
Add CLAUDE.md documentation and sync WordPress core files
ymh <ymh.work@gmail.com>
parents:
19
diff
changeset
|
44 |
<a href="contribute.php" class="nav-tab"><?php _e( 'Get Involved' ); ?></a> |
48c4eec2b7e6
Add CLAUDE.md documentation and sync WordPress core files
ymh <ymh.work@gmail.com>
parents:
19
diff
changeset
|
45 |
</nav> |
0 | 46 |
|
18 | 47 |
<div class="about__section is-feature"> |
9 | 48 |
<p class="about-description"> |
49 |
<?php |
|
16 | 50 |
printf( |
9 | 51 |
/* translators: %s: https://wordpress.org/about/license/ */ |
18 | 52 |
__( 'WordPress comes with some awesome, worldview-changing rights courtesy of its <a href="%s">license</a>, the GPL.' ), |
16 | 53 |
__( 'https://wordpress.org/about/license/' ) |
54 |
); |
|
9 | 55 |
?> |
56 |
</p> |
|
57 |
</div> |
|
0 | 58 |
|
18 | 59 |
<div class="about__section has-2-columns"> |
60 |
<div class="column aligncenter"> |
|
21
48c4eec2b7e6
Add CLAUDE.md documentation and sync WordPress core files
ymh <ymh.work@gmail.com>
parents:
19
diff
changeset
|
61 |
<img class="freedom-image" src="<?php echo esc_url( admin_url( 'images/freedom-1.svg?ver=6.5' ) ); ?>" alt="" /> |
16 | 62 |
<h2 class="is-smaller-heading"><?php _e( 'The 1st Freedom' ); ?></h2> |
9 | 63 |
<p><?php _e( 'To run the program for any purpose.' ); ?></p> |
64 |
</div> |
|
18 | 65 |
<div class="column aligncenter"> |
21
48c4eec2b7e6
Add CLAUDE.md documentation and sync WordPress core files
ymh <ymh.work@gmail.com>
parents:
19
diff
changeset
|
66 |
<img class="freedom-image" src="<?php echo esc_url( admin_url( 'images/freedom-2.svg?ver=6.5' ) ); ?>" alt="" /> |
16 | 67 |
<h2 class="is-smaller-heading"><?php _e( 'The 2nd Freedom' ); ?></h2> |
9 | 68 |
<p><?php _e( 'To study how the program works and change it to make it do what you wish.' ); ?></p> |
69 |
</div> |
|
18 | 70 |
<div class="column aligncenter"> |
21
48c4eec2b7e6
Add CLAUDE.md documentation and sync WordPress core files
ymh <ymh.work@gmail.com>
parents:
19
diff
changeset
|
71 |
<img class="freedom-image" src="<?php echo esc_url( admin_url( 'images/freedom-3.svg?ver=6.5' ) ); ?>" alt="" /> |
16 | 72 |
<h2 class="is-smaller-heading"><?php _e( 'The 3rd Freedom' ); ?></h2> |
9 | 73 |
<p><?php _e( 'To redistribute.' ); ?></p> |
74 |
</div> |
|
18 | 75 |
<div class="column aligncenter"> |
21
48c4eec2b7e6
Add CLAUDE.md documentation and sync WordPress core files
ymh <ymh.work@gmail.com>
parents:
19
diff
changeset
|
76 |
<img class="freedom-image" src="<?php echo esc_url( admin_url( 'images/freedom-4.svg?ver=6.5' ) ); ?>" alt="" /> |
16 | 77 |
<h2 class="is-smaller-heading"><?php _e( 'The 4th Freedom' ); ?></h2> |
9 | 78 |
<p><?php _e( 'To distribute copies of your modified versions to others.' ); ?></p> |
79 |
</div> |
|
80 |
</div> |
|
7
cf61fcea0001
resynchronize code repo with production
ymh <ymh.work@gmail.com>
parents:
5
diff
changeset
|
81 |
|
18 | 82 |
<div class="about__section has-1-column"> |
16 | 83 |
<div class="column"> |
84 |
<p> |
|
85 |
<?php |
|
86 |
printf( |
|
87 |
/* translators: %s: https://wordpressfoundation.org/trademark-policy/ */ |
|
22
8c2e4d02f4ef
Update WordPress to latest version (6.7)
ymh <ymh.work@gmail.com>
parents:
21
diff
changeset
|
88 |
__( 'WordPress grows when people like you tell their friends about it, and the thousands of businesses and services that are built on and around WordPress share that fact with their users. The WordPress community is flattered every time someone spreads the good word, just make sure to <a href="%s">check out the WordPress Foundation trademark guidelines</a> first.' ), |
16 | 89 |
'https://wordpressfoundation.org/trademark-policy/' |
90 |
); |
|
91 |
?> |
|
92 |
</p> |
|
93 |
||
94 |
<p> |
|
95 |
<?php |
|
9 | 96 |
$plugins_url = current_user_can( 'activate_plugins' ) ? admin_url( 'plugins.php' ) : __( 'https://wordpress.org/plugins/' ); |
97 |
$themes_url = current_user_can( 'switch_themes' ) ? admin_url( 'themes.php' ) : __( 'https://wordpress.org/themes/' ); |
|
16 | 98 |
printf( |
99 |
/* translators: 1: URL to Plugins screen, 2: URL to Themes screen, 3: https://wordpress.org/about/license/ */ |
|
19 | 100 |
__( 'Every plugin and theme in WordPress.org’s directory is 100%% GPL or a similarly free and compatible license, so you can feel safe finding <a href="%1$s">plugins</a> and <a href="%2$s">themes</a> there. If you get a plugin or theme from another source, make sure to <a href="%3$s">ask them if it’s GPL</a> first. If they do not respect the WordPress license, it is not recommended to use them.' ), |
16 | 101 |
$plugins_url, |
102 |
$themes_url, |
|
103 |
__( 'https://wordpress.org/about/license/' ) |
|
104 |
); |
|
105 |
?> |
|
106 |
</p> |
|
107 |
</div> |
|
9 | 108 |
</div> |
0 | 109 |
|
110 |
</div> |
|
16 | 111 |
<?php require_once ABSPATH . 'wp-admin/admin-footer.php'; ?> |