File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -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
- [ 'dashicons ' , 'open-sans ' ] ,
128
+ array ( '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 = [
195
+ $ cdn_urls = array (
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 , [ 'open-sans ' ] , true ) ) {
220
+ if ( in_array ( $ handle , array ( 'open-sans ' ) , true ) ) {
221
221
$ src = remove_query_arg ( 'ver ' , $ src );
222
222
}
223
223
You can’t perform that action at this time.
0 commit comments