{ "version": "https://jsonfeed.org/version/1.1", "user_comment": "This feed allows you to read the posts from this site in any feed reader that supports the JSON Feed format. To add this feed to your reader, copy the following URL -- https://matoken.org/blog/tag/disqus/feed/json/ -- and add it your reader.", "home_page_url": "https://matoken.org/blog/tag/disqus/", "feed_url": "https://matoken.org/blog/tag/disqus/feed/json/", "language": "ja", "title": "Disqus – matoken's blog", "description": "Is there no plan B?", "icon": "https://matoken.org/blog/wp-content/uploads/2025/03/cropped-1865f695c4eecc844385acef2f078255036adccd42c254580ea3844543ab56d9.jpeg", "items": [ { "id": "http://matoken.org/blog/?p=1759", "url": "https://matoken.org/blog/2018/01/09/fix-wordpress-disqus-plugin-erro/", "title": "WordPress Disqus Plugin\u306e\u30a8\u30e9\u30fc\u3092\u4fee\u6b63", "content_html": "

\n

\u3053\u306eblog\u306e\u4e0b\u306e\u65b9\u306b\u3053\u3093\u306a\u30a8\u30e9\u30fc\u304c\u51fa\u3066\u30b3\u30e1\u30f3\u30c8\u306e\u30d5\u30a9\u30fc\u30e0\u304c\u51fa\u3066\u304d\u307e\u305b\u3093\uff0e
\nhost\u306eOS\u3092Debian jessie\u304b\u3089Debian stretch\u306bdist-upgrade\u3057\u3066WordPress\u306eVersion\u304c\u4e0a\u304c\u3063\u305f\u305b\u3044\u3067\u3057\u3087\u3046\uff0e

\n

4.1+dfsg-1+deb8u15 → 4.7.5+dfsg-2+deb9u1

\n\n\n\n\n
\n

Notice: get_currentuserinfo \u306e\u4f7f\u7528\u306f\u30d0\u30fc\u30b8\u30e7\u30f3 4.5.0 \u304b\u3089\u975e\u63a8\u5968\u306b\u306a\u3063\u3066\u3044\u307e\u3059! \u4ee3\u308f\u308a\u306b wp_get_current_user() \u3092\u4f7f\u3063\u3066\u304f\u3060\u3055
\n\u3044\u3002 in /usr/share/wordpress/wp-includes/functions.php on line 3830

\n
\n

spam\u304c\u9177\u304f\u3066Disqus\u306e\u30b3\u30e1\u30f3\u30c8\u30b7\u30b9\u30c6\u30e0\u3092\u3064\u304b\u3063\u3066\u3044\u308b\u306e\u3067\u3059\u304c\u305d\u308c\u304c\u30b3\u30b1\u3066\u3044\u308b\u3088\u3046\u306a\u611f\u3058\u3067\u3059\uff0e
\nPlugin \u306e version \u304c\u53e4\u3044\u306e\u304b\u3068\u78ba\u8a8d\u3057\u3066\u307f\u308b\u3068\u6700\u65b0\u306e 2.87

\n\n

\u3068\u308a\u3048\u305a\u30a8\u30e9\u30fc\u30e1\u30c3\u30bb\u30fc\u30b8\u306e\u3068\u304a\u308a\u4fee\u6b63\u3057\u305f\u3089\u52d5\u304d\u307e\u3057\u305f\uff0e

\n

diff

\n\n\n\n\n
\n
$ sudo -u www-data diff -u plugins/disqus-comment-system/disqus.php.org plugins/disqus-comment-system/disqus.php\r\n--- plugins/disqus-comment-system/disqus.php.org        2017-10-04 06:16:02.520645362 +0900\r\n+++ plugins/disqus-comment-system/disqus.php    2018-01-08 02:00:35.729022200 +0900\r\n@@ -1382,7 +1382,7 @@\r\n         return array();\r\n     }\r\n     global $current_user, $dsq_api;\r\n-    get_currentuserinfo();\r\n+    wp_get_current_user();\r\n     if ($current_user->ID) {\r\n         $avatar_tag = get_avatar($current_user->ID);\r\n         $avatar_data = array();
\n
\n

\u5229\u7528\u8005\u591a\u3044\u3057Disqus\u516c\u5f0f\u306e\u3082\u306e\u306a\u306e\u3067\u5225\u306e\u3082\u3063\u3068\u3044\u3044\u65b9\u6cd5\u304c\u3042\u308b\u6c17\u304c\u3057\u307e\u3059\uff0e

\n

\n", "content_text": "\u3053\u306eblog\u306e\u4e0b\u306e\u65b9\u306b\u3053\u3093\u306a\u30a8\u30e9\u30fc\u304c\u51fa\u3066\u30b3\u30e1\u30f3\u30c8\u306e\u30d5\u30a9\u30fc\u30e0\u304c\u51fa\u3066\u304d\u307e\u305b\u3093\uff0e\nhost\u306eOS\u3092Debian jessie\u304b\u3089Debian stretch\u306bdist-upgrade\u3057\u3066WordPress\u306eVersion\u304c\u4e0a\u304c\u3063\u305f\u305b\u3044\u3067\u3057\u3087\u3046\uff0e\n4.1+dfsg-1+deb8u15 → 4.7.5+dfsg-2+deb9u1\n\n\n\nNotice: get_currentuserinfo \u306e\u4f7f\u7528\u306f\u30d0\u30fc\u30b8\u30e7\u30f3 4.5.0 \u304b\u3089\u975e\u63a8\u5968\u306b\u306a\u3063\u3066\u3044\u307e\u3059! \u4ee3\u308f\u308a\u306b wp_get_current_user() \u3092\u4f7f\u3063\u3066\u304f\u3060\u3055\n\u3044\u3002 in /usr/share/wordpress/wp-includes/functions.php on line 3830\n\n\n\nspam\u304c\u9177\u304f\u3066Disqus\u306e\u30b3\u30e1\u30f3\u30c8\u30b7\u30b9\u30c6\u30e0\u3092\u3064\u304b\u3063\u3066\u3044\u308b\u306e\u3067\u3059\u304c\u305d\u308c\u304c\u30b3\u30b1\u3066\u3044\u308b\u3088\u3046\u306a\u611f\u3058\u3067\u3059\uff0e\nPlugin \u306e version \u304c\u53e4\u3044\u306e\u304b\u3068\u78ba\u8a8d\u3057\u3066\u307f\u308b\u3068\u6700\u65b0\u306e 2.87\n\n\n\nDisqus Comment System \u2014 WordPress \u30d7\u30e9\u30b0\u30a4\u30f3\n\n\n\n\nInstall instructions for WordPress – Disqus Admin\n\n\n\n\u3068\u308a\u3048\u305a\u30a8\u30e9\u30fc\u30e1\u30c3\u30bb\u30fc\u30b8\u306e\u3068\u304a\u308a\u4fee\u6b63\u3057\u305f\u3089\u52d5\u304d\u307e\u3057\u305f\uff0e\ndiff\n\n\n\n$ sudo -u www-data diff -u plugins/disqus-comment-system/disqus.php.org plugins/disqus-comment-system/disqus.php\r\n--- plugins/disqus-comment-system/disqus.php.org 2017-10-04 06:16:02.520645362 +0900\r\n+++ plugins/disqus-comment-system/disqus.php 2018-01-08 02:00:35.729022200 +0900\r\n@@ -1382,7 +1382,7 @@\r\n return array();\r\n }\r\n global $current_user, $dsq_api;\r\n- get_currentuserinfo();\r\n+ wp_get_current_user();\r\n if ($current_user->ID) {\r\n $avatar_tag = get_avatar($current_user->ID);\r\n $avatar_data = array();\n\n\n\n\u5229\u7528\u8005\u591a\u3044\u3057Disqus\u516c\u5f0f\u306e\u3082\u306e\u306a\u306e\u3067\u5225\u306e\u3082\u3063\u3068\u3044\u3044\u65b9\u6cd5\u304c\u3042\u308b\u6c17\u304c\u3057\u307e\u3059\uff0e", "date_published": "2018-01-09T23:16:05+09:00", "date_modified": "2018-01-09T19:30:59+09:00", "authors": [ { "name": "matoken", "url": "https://matoken.org/blog/author/matoken/", "avatar": "https://secure.gravatar.com/avatar/38f5f3b575c5eb45cda6aa659bca119ac7a5e16b46565e869d0030e3bd66981d?s=512&d=mm&r=g" } ], "author": { "name": "matoken", "url": "https://matoken.org/blog/author/matoken/", "avatar": "https://secure.gravatar.com/avatar/38f5f3b575c5eb45cda6aa659bca119ac7a5e16b46565e869d0030e3bd66981d?s=512&d=mm&r=g" }, "tags": [ "Disqus", "WordPress" ] } ] }