まんまだと、『名前とメールアドレスの入力を必須にする』でメアドも必須になっちゃうから。
- %inst-dir%/wp-comments-post.php
『if ( ” == $comment_content )』のある行の上に以下を追加。
//名前だけ必須
if(!$user->ID){
if ('' == $comment_author)
wp_die('名前を入力して下さい。');
}
WordPressの『設定』->『ディスカッション』->『コメント表示条件』の『名前とメールアドレスの入力を必須にする』のチェックは外しておく。
Warning: file_get_contents() [function.file-get-contents]: php_network_getaddresses: getaddrinfo failed: No address associated with hostname in /home/users/1/fool.jp-ichi/web/blog/wp-content/plugins/modPukiWiki/plugin/amazon.inc.php on line 157
Warning: file_get_contents(http://hisme.net/~ichi/ruby/amazon_search.rb?type=php&asin=4758061203) [function.file-get-contents]: failed to open stream: php_network_getaddresses: getaddrinfo failed: No address associated with hostname in /home/users/1/fool.jp-ichi/web/blog/wp-content/plugins/modPukiWiki/plugin/amazon.inc.php on line 157
Parse error: syntax error, unexpected $end in /home/users/1/fool.jp-ichi/web/blog/wp-content/plugins/modPukiWiki/plugin/amazon.inc.php(157) : eval()'d code on line 1
Warning: file_get_contents() [function.file-get-contents]: php_network_getaddresses: getaddrinfo failed: No address associated with hostname in /home/users/1/fool.jp-ichi/web/blog/wp-content/plugins/modPukiWiki/plugin/amazon.inc.php on line 157
Warning: file_get_contents(http://hisme.net/~ichi/ruby/amazon_search.rb?type=php&asin=4904337018) [function.file-get-contents]: failed to open stream: php_network_getaddresses: getaddrinfo failed: No address associated with hostname in /home/users/1/fool.jp-ichi/web/blog/wp-content/plugins/modPukiWiki/plugin/amazon.inc.php on line 157
Parse error: syntax error, unexpected $end in /home/users/1/fool.jp-ichi/web/blog/wp-content/plugins/modPukiWiki/plugin/amazon.inc.php(157) : eval()'d code on line 1
Deprecated: Function split() is deprecated in /home/users/1/fool.jp-ichi/web/blog/wp-content/plugins/modPukiWiki/lib/func.php on line 75
Warning: file_get_contents() [function.file-get-contents]: php_network_getaddresses: getaddrinfo failed: No address associated with hostname in /home/users/1/fool.jp-ichi/web/blog/wp-content/plugins/modPukiWiki/plugin/amazon.inc.php on line 157
Warning: file_get_contents(http://hisme.net/~ichi/ruby/amazon_search.rb?type=php&asin=4758061203) [function.file-get-contents]: failed to open stream: php_network_getaddresses: getaddrinfo failed: No address associated with hostname in /home/users/1/fool.jp-ichi/web/blog/wp-content/plugins/modPukiWiki/plugin/amazon.inc.php on line 157
Parse error: syntax error, unexpected $end in /home/users/1/fool.jp-ichi/web/blog/wp-content/plugins/modPukiWiki/plugin/amazon.inc.php(157) : eval()'d code on line 1
Deprecated: Function split() is deprecated in /home/users/1/fool.jp-ichi/web/blog/wp-content/plugins/modPukiWiki/lib/func.php on line 75
Warning: file_get_contents() [function.file-get-contents]: php_network_getaddresses: getaddrinfo failed: No address associated with hostname in /home/users/1/fool.jp-ichi/web/blog/wp-content/plugins/modPukiWiki/plugin/amazon.inc.php on line 157
Warning: file_get_contents(http://hisme.net/~ichi/ruby/amazon_search.rb?type=php&asin=4904337018) [function.file-get-contents]: failed to open stream: php_network_getaddresses: getaddrinfo failed: No address associated with hostname in /home/users/1/fool.jp-ichi/web/blog/wp-content/plugins/modPukiWiki/plugin/amazon.inc.php on line 157
Parse error: syntax error, unexpected $end in /home/users/1/fool.jp-ichi/web/blog/wp-content/plugins/modPukiWiki/plugin/amazon.inc.php(157) : eval()'d code on line 1
Deprecated: Function split() is deprecated in /home/users/1/fool.jp-ichi/web/blog/wp-content/plugins/modPukiWiki/lib/func.php on line 75
Deprecated: Function split() is deprecated in /home/users/1/fool.jp-ichi/web/blog/wp-content/plugins/modPukiWiki/lib/func.php on line 75
ああああ
TODO
- http://ichi.fool.jp/blog/?p=66
コメント0件のはずがなぜかが(1)に。- あれ?なおった?
- errorページちゃんとつくらな。
just idea
- calendar(orig)
- twitter recent
- now-reading
memo
test
あいうえお