LiveJournal Crossposter-
LiveJournal Crossposter
снова работает..
думаю кто обновилс ВордПресс до версии 2.1, тот заметил что ЖЖ Кросспост не работает в новой версии движка, я залез на оф.сайт плагина и нашёл вот такой каммент
To make a WP2.1 compatible version, take the latest plugin, and do the following edits on lj_crosspost.php:
1 – Comment out line 35:
// require_once(ABSPATH . ‘/wp-includes/template-functions-links.php’);
This file is no longer part of wordpress, and it looks like whatever functions are defined there get included elsewhere. Once I commented that out, the plugin works.
2 – For extra bonus points, replace every instance of die(…) with wp_die(…) – I saw this in wp-comments-post.php. This doesn’t do anything too useful, but it replaces the plain text fatal errors with official-looking, styled HTML fatal error messages, with wordpress logo and everything.
Done.-
Excellent plugin, BTW – of course I discover it a week after hacking Live+Press to work with WP2.0, but I’m switching anyway.
спасибо за подсказку некому Dotan Dimet
Кароче говоря, находите в файле плагина на 35 строке текст “require_once(ABSPATH . ‘/wp-includes/template-functions-links.php’);” и сносите его нафик.. и плагин работает ![]()
второй пункт с каммента я не делал, так как насколько я понял это косметичесские изменения..
Короче, я снова с ЖЖ ![]()
для особо ленивых переделаный плагин лежит тут






