Scripting Guard в Codestyling Localization
-
На свежеустановленном ВП 3,5 ставлю Codestyling Localization и в его админке :
Scripting Guard The Plugin Codestyling Localization was forced to protect its own page rendering process against 3 incidents !
Malfunction at dubious external scripts detected !
Reason: unknown external script has been enqueued or hardly attached. | Polluter: неизвестно (probably by Theme or Plugin)
Below listed external scripts have been traced, verified and automatically stripped because of injection:Fatal error: Cannot use object of type WP_Error as array in /wp-content/plugins/codestyling-localization/codestyling-localization.php on line 2778
Из-за этого он и не работает.
2778 — последняя строка (if(!empty($style)) в коде:for($i=0;$i<count($_POST['data']['externals']['dubious']['tokens']); $i++) : $token = $_POST['data']['externals']['dubious']['tokens'][$i]; $script = $_POST['data']['externals']['dubious']['scripts'][$i]; $res = wp_remote_head($script, array('sslverify' => false)); $style = (($res === false || $res['response']['code'] != 200) ? ' style="color: #800;"': '' ) ; if(!empty($style)) $errors += 1;
На офсайте что-то написано по этому поводу: http://www.code-styling.de/english/scripting-guard-a-wordpress-plugin-protects-itself
Но я не понял как лечить (с английским же только с пом гугтранслейта общаюсь).Помогите, плз, разобраться в этом вопросе.
ЗЫ. Темы только 3 дефолтных. Все перепробовал. Плагов кроме него никаких нет (даже хеллодоли и аскимет удалены)
- Тема «Scripting Guard в Codestyling Localization» закрыта для новых ответов.