mirror of
https://github.com/WenPai-org/wp-chinese-converter.git
synced 2025-08-07 11:09:14 +08:00
修复:删除无用且会诱发错误的错误数组初始化
This commit is contained in:
parent
7ecf6e6ce8
commit
5525c580b7
1 changed files with 0 additions and 5 deletions
|
@ -11,11 +11,6 @@
|
|||
|
||||
$GLOBALS['wp_supercache_wpcs_version'] = '1.0';
|
||||
|
||||
$GLOBALS['wpcs_options'] = array(
|
||||
'wpcs_used_langs' => ##wpcs_used_langs##,
|
||||
'wpcs_auto_language_recong' => ##wpcs_auto_language_recong##,
|
||||
);
|
||||
|
||||
function wp_supercache_wpcs_get_prefered_language($accept_languages, $target_langs, $flag = 0) {
|
||||
$langs = array();
|
||||
preg_match_all('/([a-z]{1,8}(-[a-z]{1,8})?)\s*(;\s*q\s*=\s*(1|0\.[0-9]+))?/i', $accept_languages, $lang_parse);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue