@@ -125,7 +125,7 @@ function scripts() {
125
125
wp_enqueue_style (
126
126
'wporg-style ' ,
127
127
get_theme_file_uri ( '/css/style.css ' ),
128
- array ( 'dashicons ' , 'open-sans ' ) ,
128
+ [ 'dashicons ' , 'open-sans ' ] ,
129
129
filemtime ( __DIR__ . '/css/style.css ' )
130
130
);
131
131
@@ -192,7 +192,7 @@ function nojs_body_tag() {
192
192
* @return string
193
193
*/
194
194
function loader_src ( $ src , $ handle ) {
195
- $ cdn_urls = array (
195
+ $ cdn_urls = [
196
196
'dashicons ' ,
197
197
'wp-embed ' ,
198
198
'jquery-core ' ,
@@ -205,7 +205,7 @@ function loader_src( $src, $handle ) {
205
205
'wporg-plugins-stats ' ,
206
206
'wporg-plugins-client ' ,
207
207
'wporg-plugins-faq ' ,
208
- ) ;
208
+ ] ;
209
209
210
210
if ( defined ( 'WPORG_SANDBOXED ' ) && WPORG_SANDBOXED ) {
211
211
return $ src ;
@@ -217,7 +217,7 @@ function loader_src( $src, $handle ) {
217
217
}
218
218
219
219
// Remove version argument.
220
- if ( in_array ( $ handle , array ( 'open-sans ' ) , true ) ) {
220
+ if ( in_array ( $ handle , [ 'open-sans ' ] , true ) ) {
221
221
$ src = remove_query_arg ( 'ver ' , $ src );
222
222
}
223
223
@@ -281,14 +281,14 @@ function get_badge_classes( $team ) {
281
281
$ classes = array ( 'badge-openverse ' , 'dashicons-search ' );
282
282
break ;
283
283
284
- case 'plugin review team ' :
285
- $ classes = array ( 'badge-plugins-reviewer ' , 'dashicons-admin-plugins ' );
286
- break ;
287
-
288
284
case 'photos team ' :
289
285
$ classes = array ( 'badge-photos ' , 'dashicons-camera ' );
290
286
break ;
291
287
288
+ case 'plugin review team ' :
289
+ $ classes = array ( 'badge-plugins-reviewer ' , 'dashicons-admin-plugins ' );
290
+ break ;
291
+
292
292
case 'polyglots team ' :
293
293
$ classes = array ( 'badge-translation-editor ' , 'dashicons-translation ' );
294
294
break ;
0 commit comments