substitute [] with array()

This commit is contained in:
Mashiro 2019-06-25 21:32:24 +08:00 committed by GitHub
parent 0f12d96e09
commit 47afa016b1
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -1010,7 +1010,7 @@ global $wpsmiliestrans;
if ( !get_option( 'use_smilies' ) )
return;
$wpsmiliestrans = [
$wpsmiliestrans = array(
':good:' => 'icon_good.gif',
':han:' => 'icon_han.gif',
':spray:' => 'icon_spray.gif',
@ -1043,7 +1043,7 @@ if ( !get_option( 'use_smilies' ) )
':niconiconi-t:' => 'icon_niconiconi_t.gif',
':niconiconit:' => 'icon_niconiconit.gif',
':awesome:' => 'icon_awesome.gif',
];
);
}
smilies_reset();