author | ymh <ymh.work@gmail.com> |
Fri, 05 Sep 2025 18:52:52 +0200 | |
changeset 22 | 8c2e4d02f4ef |
parent 21 | 48c4eec2b7e6 |
permissions | -rw-r--r-- |
0 | 1 |
<?php |
2 |
/** |
|
3 |
* Credits administration panel. |
|
4 |
* |
|
5 |
* @package WordPress |
|
6 |
* @subpackage Administration |
|
7 |
*/ |
|
8 |
||
9 |
/** WordPress Administration Bootstrap */ |
|
16 | 10 |
require_once __DIR__ . '/admin.php'; |
11 |
require_once __DIR__ . '/includes/credits.php'; |
|
0 | 12 |
|
19 | 13 |
// Used in the HTML title tag. |
0 | 14 |
$title = __( 'Credits' ); |
15 |
||
7
cf61fcea0001
resynchronize code repo with production
ymh <ymh.work@gmail.com>
parents:
5
diff
changeset
|
16 |
list( $display_version ) = explode( '-', get_bloginfo( 'version' ) ); |
0 | 17 |
|
16 | 18 |
require_once ABSPATH . 'wp-admin/admin-header.php'; |
0 | 19 |
|
20 |
$credits = wp_credits(); |
|
16 | 21 |
?> |
22 |
<div class="wrap about__container"> |
|
0 | 23 |
|
16 | 24 |
<div class="about__header"> |
18 | 25 |
<div class="about__header-title"> |
26 |
<h1> |
|
27 |
<?php _e( 'Contributors' ); ?> |
|
28 |
</h1> |
|
16 | 29 |
</div> |
30 |
||
18 | 31 |
<div class="about__header-text"> |
21
48c4eec2b7e6
Add CLAUDE.md documentation and sync WordPress core files
ymh <ymh.work@gmail.com>
parents:
19
diff
changeset
|
32 |
<?php _e( 'Created by a worldwide team of passionate individuals' ); ?> |
16 | 33 |
</div> |
34 |
</div> |
|
35 |
||
21
48c4eec2b7e6
Add CLAUDE.md documentation and sync WordPress core files
ymh <ymh.work@gmail.com>
parents:
19
diff
changeset
|
36 |
<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
|
37 |
<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
|
38 |
<a href="credits.php" class="nav-tab nav-tab-active" aria-current="page"><?php _e( 'Credits' ); ?></a> |
48c4eec2b7e6
Add CLAUDE.md documentation and sync WordPress core files
ymh <ymh.work@gmail.com>
parents:
19
diff
changeset
|
39 |
<a href="freedoms.php" class="nav-tab"><?php _e( 'Freedoms' ); ?></a> |
48c4eec2b7e6
Add CLAUDE.md documentation and sync WordPress core files
ymh <ymh.work@gmail.com>
parents:
19
diff
changeset
|
40 |
<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
|
41 |
<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
|
42 |
</nav> |
48c4eec2b7e6
Add CLAUDE.md documentation and sync WordPress core files
ymh <ymh.work@gmail.com>
parents:
19
diff
changeset
|
43 |
|
48c4eec2b7e6
Add CLAUDE.md documentation and sync WordPress core files
ymh <ymh.work@gmail.com>
parents:
19
diff
changeset
|
44 |
<div class="about__section has-1-column has-gutters"> |
18 | 45 |
<div class="column aligncenter"> |
16 | 46 |
<?php if ( ! $credits ) : ?> |
47 |
||
48 |
<p> |
|
49 |
<?php |
|
50 |
printf( |
|
18 | 51 |
/* translators: 1: https://wordpress.org/about/ */ |
52 |
__( 'WordPress is created by a <a href="%1$s">worldwide team</a> of passionate individuals.' ), |
|
53 |
__( 'https://wordpress.org/about/' ) |
|
16 | 54 |
); |
55 |
?> |
|
18 | 56 |
<br /> |
21
48c4eec2b7e6
Add CLAUDE.md documentation and sync WordPress core files
ymh <ymh.work@gmail.com>
parents:
19
diff
changeset
|
57 |
<a href="<?php echo esc_url( __( 'https://make.wordpress.org/contribute/' ) ); ?>"><?php _e( 'Get involved in WordPress.' ); ?></a> |
16 | 58 |
</p> |
59 |
||
60 |
<?php else : ?> |
|
61 |
||
62 |
<p> |
|
18 | 63 |
<?php _e( 'Want to see your name in lights on this page?' ); ?> |
64 |
<br /> |
|
21
48c4eec2b7e6
Add CLAUDE.md documentation and sync WordPress core files
ymh <ymh.work@gmail.com>
parents:
19
diff
changeset
|
65 |
<a href="<?php echo esc_url( __( 'https://make.wordpress.org/contribute/' ) ); ?>"><?php _e( 'Get involved in WordPress.' ); ?></a> |
16 | 66 |
</p> |
67 |
||
68 |
<?php endif; ?> |
|
69 |
</div> |
|
70 |
</div> |
|
71 |
||
72 |
<?php |
|
0 | 73 |
if ( ! $credits ) { |
7
cf61fcea0001
resynchronize code repo with production
ymh <ymh.work@gmail.com>
parents:
5
diff
changeset
|
74 |
echo '</div>'; |
16 | 75 |
require_once ABSPATH . 'wp-admin/admin-footer.php'; |
0 | 76 |
exit; |
77 |
} |
|
16 | 78 |
?> |
0 | 79 |
|
21
48c4eec2b7e6
Add CLAUDE.md documentation and sync WordPress core files
ymh <ymh.work@gmail.com>
parents:
19
diff
changeset
|
80 |
<hr class="is-large" /> |
0 | 81 |
|
16 | 82 |
<div class="about__section"> |
18 | 83 |
<div class="column is-edge-to-edge"> |
16 | 84 |
<?php wp_credits_section_title( $credits['groups']['core-developers'] ); ?> |
85 |
<?php wp_credits_section_list( $credits, 'core-developers' ); ?> |
|
86 |
<?php wp_credits_section_list( $credits, 'contributing-developers' ); ?> |
|
87 |
</div> |
|
88 |
</div> |
|
0 | 89 |
|
16 | 90 |
<hr /> |
0 | 91 |
|
16 | 92 |
<div class="about__section"> |
93 |
<div class="column"> |
|
94 |
<?php wp_credits_section_title( $credits['groups']['props'] ); ?> |
|
95 |
<?php wp_credits_section_list( $credits, 'props' ); ?> |
|
96 |
</div> |
|
97 |
</div> |
|
0 | 98 |
|
16 | 99 |
<hr /> |
0 | 100 |
|
16 | 101 |
<?php if ( isset( $credits['groups']['translators'] ) || isset( $credits['groups']['validators'] ) ) : ?> |
102 |
<div class="about__section"> |
|
103 |
<div class="column"> |
|
104 |
<?php wp_credits_section_title( $credits['groups']['validators'] ); ?> |
|
105 |
<?php wp_credits_section_list( $credits, 'validators' ); ?> |
|
106 |
<?php wp_credits_section_list( $credits, 'translators' ); ?> |
|
107 |
</div> |
|
108 |
</div> |
|
109 |
||
110 |
<hr /> |
|
111 |
<?php endif; ?> |
|
112 |
||
113 |
<div class="about__section"> |
|
114 |
<div class="column"> |
|
115 |
<?php wp_credits_section_title( $credits['groups']['libraries'] ); ?> |
|
116 |
<?php wp_credits_section_list( $credits, 'libraries' ); ?> |
|
117 |
</div> |
|
118 |
</div> |
|
0 | 119 |
</div> |
120 |
<?php |
|
121 |
||
16 | 122 |
require_once ABSPATH . 'wp-admin/admin-footer.php'; |
0 | 123 |
|
124 |
return; |
|
125 |
||
16 | 126 |
// These are strings returned by the API that we want to be translatable. |
0 | 127 |
__( 'Project Leaders' ); |
16 | 128 |
/* translators: %s: The current WordPress version number. */ |
0 | 129 |
__( 'Core Contributors to WordPress %s' ); |
7
cf61fcea0001
resynchronize code repo with production
ymh <ymh.work@gmail.com>
parents:
5
diff
changeset
|
130 |
__( 'Noteworthy Contributors' ); |
0 | 131 |
__( 'Cofounder, Project Lead' ); |
132 |
__( 'Lead Developer' ); |
|
5 | 133 |
__( 'Release Lead' ); |
7
cf61fcea0001
resynchronize code repo with production
ymh <ymh.work@gmail.com>
parents:
5
diff
changeset
|
134 |
__( 'Release Design Lead' ); |
cf61fcea0001
resynchronize code repo with production
ymh <ymh.work@gmail.com>
parents:
5
diff
changeset
|
135 |
__( 'Release Deputy' ); |
22
8c2e4d02f4ef
Update WordPress to latest version (6.7)
ymh <ymh.work@gmail.com>
parents:
21
diff
changeset
|
136 |
__( 'Release Coordination' ); |
8c2e4d02f4ef
Update WordPress to latest version (6.7)
ymh <ymh.work@gmail.com>
parents:
21
diff
changeset
|
137 |
__( 'Minor Release Lead' ); |
0 | 138 |
__( 'Core Developer' ); |
22
8c2e4d02f4ef
Update WordPress to latest version (6.7)
ymh <ymh.work@gmail.com>
parents:
21
diff
changeset
|
139 |
__( 'Core Tech Lead' ); |
8c2e4d02f4ef
Update WordPress to latest version (6.7)
ymh <ymh.work@gmail.com>
parents:
21
diff
changeset
|
140 |
__( 'Core Triage Lead' ); |
8c2e4d02f4ef
Update WordPress to latest version (6.7)
ymh <ymh.work@gmail.com>
parents:
21
diff
changeset
|
141 |
__( 'Editor Tech Lead' ); |
8c2e4d02f4ef
Update WordPress to latest version (6.7)
ymh <ymh.work@gmail.com>
parents:
21
diff
changeset
|
142 |
__( 'Editor Triage Lead' ); |
8c2e4d02f4ef
Update WordPress to latest version (6.7)
ymh <ymh.work@gmail.com>
parents:
21
diff
changeset
|
143 |
__( 'Documentation Lead' ); |
8c2e4d02f4ef
Update WordPress to latest version (6.7)
ymh <ymh.work@gmail.com>
parents:
21
diff
changeset
|
144 |
__( 'Test Lead' ); |
8c2e4d02f4ef
Update WordPress to latest version (6.7)
ymh <ymh.work@gmail.com>
parents:
21
diff
changeset
|
145 |
__( 'Design Lead' ); |
8c2e4d02f4ef
Update WordPress to latest version (6.7)
ymh <ymh.work@gmail.com>
parents:
21
diff
changeset
|
146 |
__( 'Performance Lead' ); |
8c2e4d02f4ef
Update WordPress to latest version (6.7)
ymh <ymh.work@gmail.com>
parents:
21
diff
changeset
|
147 |
__( 'Default Theme Design Lead' ); |
8c2e4d02f4ef
Update WordPress to latest version (6.7)
ymh <ymh.work@gmail.com>
parents:
21
diff
changeset
|
148 |
__( 'Default Theme Development Lead' ); |
8c2e4d02f4ef
Update WordPress to latest version (6.7)
ymh <ymh.work@gmail.com>
parents:
21
diff
changeset
|
149 |
__( 'Tech Lead' ); |
8c2e4d02f4ef
Update WordPress to latest version (6.7)
ymh <ymh.work@gmail.com>
parents:
21
diff
changeset
|
150 |
__( 'Triage Lead' ); |
0 | 151 |
__( 'External Libraries' ); |