mirror of
https://github.com/mashirozx/sakura.git
synced 2024-11-22 14:58:14 +08:00
substitute [] with array()
This commit is contained in:
parent
0f12d96e09
commit
47afa016b1
@ -1010,7 +1010,7 @@ global $wpsmiliestrans;
|
|||||||
if ( !get_option( 'use_smilies' ) )
|
if ( !get_option( 'use_smilies' ) )
|
||||||
return;
|
return;
|
||||||
|
|
||||||
$wpsmiliestrans = [
|
$wpsmiliestrans = array(
|
||||||
':good:' => 'icon_good.gif',
|
':good:' => 'icon_good.gif',
|
||||||
':han:' => 'icon_han.gif',
|
':han:' => 'icon_han.gif',
|
||||||
':spray:' => 'icon_spray.gif',
|
':spray:' => 'icon_spray.gif',
|
||||||
@ -1043,7 +1043,7 @@ if ( !get_option( 'use_smilies' ) )
|
|||||||
':niconiconi-t:' => 'icon_niconiconi_t.gif',
|
':niconiconi-t:' => 'icon_niconiconi_t.gif',
|
||||||
':niconiconit:' => 'icon_niconiconit.gif',
|
':niconiconit:' => 'icon_niconiconit.gif',
|
||||||
':awesome:' => 'icon_awesome.gif',
|
':awesome:' => 'icon_awesome.gif',
|
||||||
];
|
);
|
||||||
}
|
}
|
||||||
smilies_reset();
|
smilies_reset();
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user