Diff: STRATO-apps/wordpress_03/app/wp-admin/credits.php
Keine Baseline-Datei – Diff nur gegen leer.
1
-
1
+
<?php
2
+
/**
3
+
* Credits administration panel.
4
+
*
5
+
* @package WordPress
6
+
* @subpackage Administration
7
+
*/
8
+
9
+
/** WordPress Administration Bootstrap */
10
+
require_once __DIR__ . '/admin.php';
11
+
require_once __DIR__ . '/includes/credits.php';
12
+
13
+
// Used in the HTML title tag.
14
+
$title = __( 'Credits' );
15
+
16
+
list( $display_version ) = explode( '-', get_bloginfo( 'version' ) );
17
+
$header_alt_text = sprintf(
18
+
/* translators: %s: Version number. */
19
+
__( 'WordPress %s' ),
20
+
$display_version
21
+
);
22
+
23
+
require_once ABSPATH . 'wp-admin/admin-header.php';
24
+
25
+
$credits = wp_credits();
26
+
?>
27
+
<div class="wrap about__container">
28
+
29
+
<div class="about__header">
30
+
<div class="about__header-image">
31
+
<img src="images/about-release-logo.svg?ver=6.9" alt="<?php echo esc_attr( $header_alt_text ); ?>" />
32
+
</div>
33
+
34
+
<div class="about__header-title">
35
+
<h1>
36
+
<?php _e( 'Contributors' ); ?>
37
+
</h1>
38
+
</div>
39
+
40
+
<div class="about__header-text">
41
+
<?php _e( 'Created by a worldwide team of passionate individuals' ); ?>
42
+
</div>
43
+
</div>
44
+
45
+
<nav class="about__header-navigation nav-tab-wrapper wp-clearfix" aria-label="<?php esc_attr_e( 'Secondary menu' ); ?>">
46
+
<a href="about.php" class="nav-tab"><?php _e( 'What’s New' ); ?></a>
47
+
<a href="credits.php" class="nav-tab nav-tab-active" aria-current="page"><?php _e( 'Credits' ); ?></a>
48
+
<a href="freedoms.php" class="nav-tab"><?php _e( 'Freedoms' ); ?></a>
49
+
<a href="privacy.php" class="nav-tab"><?php _e( 'Privacy' ); ?></a>
50
+
<a href="contribute.php" class="nav-tab"><?php _e( 'Get Involved' ); ?></a>
51
+
</nav>
52
+
53
+
<div class="about__section has-1-column has-gutters">
54
+
<div class="column aligncenter">
55
+
<?php if ( ! $credits ) : ?>
56
+
57
+
<p>
58
+
<?php
59
+
printf(
60
+
/* translators: 1: https://wordpress.org/about/ */
61
+
__( 'WordPress is created by a <a href="%1$s">worldwide team</a> of passionate individuals.' ),
62
+
__( 'https://wordpress.org/about/' )
63
+
);
64
+
?>
65
+
<br />
66
+
<a href="<?php echo esc_url( __( 'https://make.wordpress.org/contribute/' ) ); ?>"><?php _e( 'Get involved in WordPress.' ); ?></a>
67
+
</p>
68
+
69
+
<?php else : ?>
70
+
71
+
<p>
72
+
<?php _e( 'Want to see your name in lights on this page?' ); ?>
73
+
<br />
74
+
<a href="<?php echo esc_url( __( 'https://make.wordpress.org/contribute/' ) ); ?>"><?php _e( 'Get involved in WordPress.' ); ?></a>
75
+
</p>
76
+
77
+
<?php endif; ?>
78
+
</div>
79
+
</div>
80
+
81
+
<?php
82
+
if ( ! $credits ) {
83
+
echo '</div>';
84
+
require_once ABSPATH . 'wp-admin/admin-footer.php';
85
+
exit;
86
+
}
87
+
?>
88
+
89
+
<hr class="is-large" />
90
+
91
+
<div class="about__section">
92
+
<div class="column is-edge-to-edge">
93
+
<?php wp_credits_section_title( $credits['groups']['core-developers'] ); ?>
94
+
<?php wp_credits_section_list( $credits, 'core-developers' ); ?>
95
+
<?php wp_credits_section_list( $credits, 'contributing-developers' ); ?>
96
+
</div>
97
+
</div>
98
+
99
+
<hr />
100
+
101
+
<div class="about__section">
102
+
<div class="column">
103
+
<?php wp_credits_section_title( $credits['groups']['props'] ); ?>
104
+
<?php wp_credits_section_list( $credits, 'props' ); ?>
105
+
</div>
106
+
</div>
107
+
108
+
<hr />
109
+
110
+
<?php if ( isset( $credits['groups']['translators'] ) || isset( $credits['groups']['validators'] ) ) : ?>
111
+
<div class="about__section">
112
+
<div class="column">
113
+
<?php wp_credits_section_title( $credits['groups']['validators'] ); ?>
114
+
<?php wp_credits_section_list( $credits, 'validators' ); ?>
115
+
<?php wp_credits_section_list( $credits, 'translators' ); ?>
116
+
</div>
117
+
</div>
118
+
119
+
<hr />
120
+
<?php endif; ?>
121
+
122
+
<div class="about__section">
123
+
<div class="column">
124
+
<?php wp_credits_section_title( $credits['groups']['libraries'] ); ?>
125
+
<?php wp_credits_section_list( $credits, 'libraries' ); ?>
126
+
</div>
127
+
</div>
128
+
</div>
129
+
<?php
130
+
131
+
require_once ABSPATH . 'wp-admin/admin-footer.php';
132
+
133
+
return;
134
+
135
+
// These are strings returned by the API that we want to be translatable.
136
+
__( 'Project Leaders' );
137
+
/* translators: %s: The current WordPress version number. */
138
+
__( 'Core Contributors to WordPress %s' );
139
+
__( 'Noteworthy Contributors' );
140
+
__( 'Cofounder, Project Lead' );
141
+
__( 'Lead Developer' );
142
+
__( 'Release Lead' );
143
+
__( 'Release Design Lead' );
144
+
__( 'Release Deputy' );
145
+
__( 'Release Coordination' );
146
+
__( 'Minor Release Lead' );
147
+
__( 'Core Developer' );
148
+
__( 'Core Tech Lead' );
149
+
__( 'Core Triage Lead' );
150
+
__( 'Editor Tech Lead' );
151
+
__( 'Editor Triage Lead' );
152
+
__( 'Documentation Lead' );
153
+
__( 'Test Lead' );
154
+
__( 'Design Lead' );
155
+
__( 'Performance Lead' );
156
+
__( 'Default Theme Design Lead' );
157
+
__( 'Default Theme Development Lead' );
158
+
__( 'Tech Lead' );
159
+
__( 'Triage Lead' );
160
+
__( 'External Libraries' );
161
+