{"id":260,"date":"2015-01-20T12:36:51","date_gmt":"2015-01-20T03:36:51","guid":{"rendered":"http:\/\/nendeb.com\/?p=260"},"modified":"2015-09-12T12:39:50","modified_gmt":"2015-09-12T03:39:50","slug":"wordpress-%e3%83%a6%e3%83%bc%e3%82%b6%e3%83%bc%e7%99%bb%e9%8c%b2%e3%82%84%e3%82%b3%e3%83%a1%e3%83%b3%e3%83%88%e3%83%95%e3%82%a9%e3%83%bc%e3%83%a0%e3%81%ae%e3%82%b9%e3%83%91%e3%83%a0%e5%af%be%e7%ad%96","status":"publish","type":"post","link":"https:\/\/nendeb.com\/260","title":{"rendered":"WordPress \u30e6\u30fc\u30b6\u30fc\u767b\u9332\u3084\u30b3\u30e1\u30f3\u30c8\u30d5\u30a9\u30fc\u30e0\u306e\u30b9\u30d1\u30e0\u5bfe\u7b56\u4f8b"},"content":{"rendered":"<p>\u3053\u308c\u66f8\u3044\u3061\u3083\u3046\u3068\u5bfe\u7b56\u3055\u308c\u308b\u304b\u3082\u3057\u308c\u307e\u305b\u3093\u304c\u3001\u6614\u304b\u3089\u3053\u3063\u305d\u308a\u3084\u3063\u3066\u308b\u30b9\u30d1\u30e0\u5bfe\u7b56\u3067\u3059\u3002<br \/>\n\u30b9\u30d1\u30e0\u306f\u5165\u529b\u3067\u304d\u308b\u9805\u76ee\u306f\u3001\u307b\u307c\u5168\u3066\u306e\u9805\u76ee\u306b\u4f55\u304b\u5165\u308c\u3066\u9001\u3063\u3066\u304d\u307e\u3059\u3002\u305d\u3053\u3067CSS\u3067\u96a0\u3057\u305f\u9805\u76ee\u306b\u30c7\u30fc\u30bf\u30fc\u304c\u5165\u3063\u3066\u3044\u308c\u3070\u30b9\u30d1\u30e0\u3068\u5224\u5b9a\u3057\u3066error\u3092\u8868\u793a\u3059\u308b\u3088\u3046\u306b\u3057\u307e\u3059\u3002<\/p>\n<p>WordPress\u3067\u306f\u30c7\u30d5\u30a9\u30eb\u30c8\u3067\u306f\u300c\u30e6\u30fc\u30b6\u30fc\u767b\u9332\u300d\u306f OFF\u306b\u306a\u3063\u3066\u307e\u3059\u304c\u3001\u8a2d\u5b9a -> \u4e00\u822c \u306e \u30e1\u30f3\u30d0\u30fc\u30b7\u30c3\u30d7\u3067\u300c\u3060\u308c\u3067\u3082\u30e6\u30fc\u30b6\u30fc\u767b\u9332\u304c\u3067\u304d\u308b\u3088\u3046\u306b\u3059\u308b \u300d\u306b\u30c1\u30a7\u30c3\u30af\u3092\u5165\u308c\u3066\u3044\u308b\u3068\u300c\u30e6\u30fc\u30b6\u30fc\u767b\u9332\u300d\u304c\u3067\u304d\u308b\u3088\u3046\u306b\u306a\u308a\u307e\u3059\u3002<br \/>\n\u3053\u306e\u300c\u30e6\u30fc\u30b6\u30fc\u767b\u9332\u300d\u3084 \u300c\u30b3\u30e1\u30f3\u30c8\u300d\u3067\u306e\u30b9\u30d1\u30e0\u5bfe\u7b56\u4f8b\u3092\u3054\u7d39\u4ecb\u3057\u307e\u3059\u3002<\/p>\n<p>\u3000<\/p>\n<h2>\u30e6\u30fc\u30b6\u30fc\u767b\u9332\u306e\u5834\u5408<\/h2>\n<p>\u30e6\u30fc\u30b6\u30fc\u767b\u9332\u30d5\u30a9\u30fc\u30e0\u306b \u30c0\u30df\u30fc\u9805\u76ee\u300cURL\u300d\u3092\u8ffd\u52a0\u3057\u307e\u3059\u3002<br \/>\n\u30c0\u30df\u30fc\u9805\u76ee\u300cURL\u300d\u3092 CSS\u3067\u975e\u8868\u793a\u306b\u3057\u307e\u3059\u3002\u3053\u308c\u3067\u30e6\u30fc\u30b6\u30fc\u306b\u306f\u898b\u3048\u307e\u305b\u3093\u3002<br \/>\n\u3057\u304b\u3057 \u30b9\u30d1\u30e0\u5074\u3067\u306f\u898b\u3048\u3066\u3044\u308b\u72b6\u614b\u306a\u306e\u3067 \u4f55\u304b\u30c7\u30fc\u30bf\u30fc\u3092\u5165\u308c\u3066\u304d\u307e\u3059\u3002<br \/>\n\u3068\u3044\u3046\u4e8b\u3067\u3082\u3057\u3001\u30c0\u30df\u30fc\u9805\u76ee\u300cURL\u300d\u306b\u30c7\u30fc\u30bf\u30fc\u304c\u5165\u3063\u3066\u3044\u308c\u3070\u3001\u30b9\u30d1\u30e0! \u3068\u8a00\u3046\u4e8b\u306b\u306a\u308a\u307e\u3059\u3002<\/p>\n<p>\u308f\u304b\u308a\u3084\u3059\u3044\u3088\u3046\u306b\u300cURL\u300d\u3092\u898b\u3048\u308b\u3088\u3046\u306b\u3057\u305f\u30c6\u30b9\u30c8\u3067\u3059\u3002<br \/>\n<img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/nendeb.com\/wp-content\/uploads\/spam_4.png\" alt=\"spam_4\" width=\"1189\" height=\"638\" class=\"alignnone size-full wp-image-264\" \/><br \/>\n\uff0aURL\u306b\u4f55\u304b\u30c7\u30fc\u30bf\u3092\u5165\u308c\u3066\u9001\u4fe1\u3059\u308b\u3068\u30a8\u30e9\u30fc\u306b\u306a\u308a\u307e\u3059\u3002<\/p>\n<p>\u4ee5\u4e0b\u306e\u30b3\u30fc\u30c9\u3092 <a href=\"http:\/\/nendeb.com\/1\" target=\"blank\">my-plugin.php<\/a> \u306b\u5f35\u308a\u4ed8\u3051\u3066\u304f\u3060\u3055\u3044\u3002<\/p>\n<pre class=\"brush: php; title: ; notranslate\" title=\"\">\r\n\/* \r\n * \u30e6\u30fc\u30b6\u30fc\u767b\u9332\r\n * \u30c0\u30df\u30fc\u9805\u76ee\u300cURL\u300d\u3092\u8ffd\u52a0\u3057\u3066\u30b9\u30d1\u30e0\u5224\u5b9a\u3092\u3059\u308b\u3002\r\n *\r\n * License: GPLv2 or later\r\n *\/\r\nfunction nendebcom_spam_register_field() {\r\n\t?&gt;\r\n\t&lt;p style=&quot;display:none&quot;&gt;\r\n\t\t&lt;label&gt;&lt;?php _e( 'URL' ) ?&gt;&lt;br \/&gt;\r\n\t\t&lt;input type=&quot;text&quot; name=&quot;user_proof_url&quot; id=&quot;user_proof_url&quot; class=&quot;input&quot; size=&quot;25&quot; tabindex=&quot;30&quot; \/&gt;&lt;\/label&gt;\r\n\t&lt;\/p&gt;\r\n\t&lt;?php\r\n}\r\nadd_action( 'register_form', 'nendebcom_spam_register_field' );\r\n\r\n\/\/register field validate\r\nfunction nendebcom_spam_register_field_validate( $sanitized_user_login, $user_email, $errors ) {\r\n\tif ( !empty( $_POST[ 'user_proof_url' ] ) ) {\r\n\t\treturn $errors-&gt;add( 'proofempty', '&lt;strong&gt;ERROR&lt;\/strong&gt;' );\r\n\t}\r\n}\r\nadd_action( 'register_post', 'nendebcom_spam_register_field_validate', 10, 3 );\r\n<\/pre>\n<p>\u3000<\/p>\n<h2>\u30b3\u30e1\u30f3\u30c8\u6295\u7a3f\u306e\u5834\u5408<\/h2>\n<p>\u30b3\u30e1\u30f3\u30c8\u6295\u7a3f\u30d5\u30a9\u30fc\u30e0\u306b \u30c0\u30df\u30fc\u9805\u76ee\u300cURL\u300d\u3092\u8ffd\u52a0\u3057\u307e\u3059\u3002<br \/>\n\u30c0\u30df\u30fc\u9805\u76ee\u300cURL\u300d\u3092 CSS\u3067\u975e\u8868\u793a\u306b\u3057\u307e\u3059\u3002<br \/>\n\u3053\u308c\u3067\u30e6\u30fc\u30b6\u30fc\u306b\u306f\u898b\u3048\u307e\u305b\u3093\u306e\u3067 \u30c0\u30df\u30fc\u9805\u76ee\u300cURL\u300d\u306b\u30c7\u30fc\u30bf\u30fc\u304c\u5165\u3063\u3066\u3044\u308c\u3070\u3001\u30b9\u30d1\u30e0 \u3068\u8a00\u3046\u4e8b\u306b\u306a\u308a\u307e\u3059\u3002<br \/>\n<img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/nendeb.com\/wp-content\/uploads\/spam_3.png\" alt=\"spam_3\" width=\"1264\" height=\"738\" class=\"alignnone size-full wp-image-263\" \/><br \/>\n\u308f\u304b\u308a\u3084\u3059\u3044\u3088\u3046\u306b\u300cURL\u300d\u3092\u898b\u3048\u308b\u3088\u3046\u306b\u3057\u305f\u30c6\u30b9\u30c8\u3067\u3059\u3002<br \/>\n<img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/nendeb.com\/wp-content\/uploads\/spam_2.png\" alt=\"spam_2\" width=\"1264\" height=\"738\" class=\"alignnone size-full wp-image-262\" \/><br \/>\n\uff0aURL\u306b\u4f55\u304b\u30c7\u30fc\u30bf\u3092\u5165\u308c\u3066\u9001\u4fe1\u3059\u308b\u3068\u30a8\u30e9\u30fc\u306b\u306a\u308a\u307e\u3059\u3002<br \/>\n<img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/nendeb.com\/wp-content\/uploads\/spam_1.png\" alt=\"spam_1\" width=\"802\" height=\"128\" class=\"alignnone size-full wp-image-261\" \/><\/p>\n<p>\u4ee5\u4e0b\u306e\u30b3\u30fc\u30c9\u3092 <a href=\"http:\/\/nendeb.com\/1\" target=\"blank\">my-plugin.php<\/a> \u306b\u5f35\u308a\u4ed8\u3051\u3066\u304f\u3060\u3055\u3044\u3002<\/p>\n<pre class=\"brush: php; title: ; notranslate\" title=\"\">\r\n\/* \r\n * \u30b3\u30e1\u30f3\u30c8\u6295\u7a3f\r\n * \u30c0\u30df\u30fc\u9805\u76ee\u300cURL\u300d\u3092\u8ffd\u52a0\u3057\u3066\u30b9\u30d1\u30e0\u5224\u5b9a\u3092\u3059\u308b\u3002\r\n *\r\n * License: GPLv2 or later\r\n *\/\r\nfunction nendebcom_spam_comment_field() {\r\n\t?&gt;\r\n\t&lt;p class=&quot;comment-form-url&quot; style=&quot;display:none&quot;&gt;\r\n\t\t&lt;label&gt;&lt;?php _e( 'URL' ) ?&gt;&lt;span class=&quot;required&quot;&gt;*&lt;\/span&gt;&lt;\/label&gt;\r\n\t\t&lt;input type=&quot;text&quot; name=&quot;comment_url&quot; id=&quot;comment_url&quot; class=&quot;input&quot; size=&quot;30&quot; \/&gt;\r\n\t&lt;\/p&gt;\r\n\t&lt;?php\r\n}\r\nadd_action( 'comment_form_after_fields', 'nendebcom_spam_comment_field' );\r\n\r\n\/\/comment field validate\r\nfunction nendebcom_spam_comment_validate( $comment_post_ID ) {\r\n\t$comment_url = isset( $_POST[ 'comment_url' ] ) ? $_POST[ 'comment_url' ] : '';\r\n\tif ( $comment_url != '' ) {\r\n\t\twp_die( 'ERROR' );\r\n\t}\r\n}\r\nadd_action( 'pre_comment_on_post', 'nendebcom_spam_comment_validate' );\r\n<\/pre>\n<p>\u3000<\/p>\n<p>\uff0a \u5b9f\u969b\u306b\u3001display:none \u3092\u7121\u3057\u306b\u3057\u3066\u300cURL\u300d\u9805\u76ee\u3092\u5165\u308c\u305f\u308a\u3001\u7a7a\u6b04\u306b\u3057\u3066\u9001\u3063\u305f\u308a\u3057\u3066\u30c6\u30b9\u30c8\u3057\u3066\u307f\u3066\u304f\u3060\u3055\u3044\u3002<br \/>\n\uff0a \u65e2\u306b\u300cURL\u300d\u306e\u300cuser_proof_url\u300d\u9805\u76ee\u3092\u4f7f\u3063\u3066\u308b\u5834\u5408\u306f\u4ed6\u306e\u9805\u76ee\u540d\u306b\u5909\u66f4\u3057\u3066\u304f\u3060\u3055\u3044\u3002<br \/>\n\uff0a \u3053\u3053\u3067\u306f style=&#8221;display:none&#8221; \u3068\u3057\u3066\u307e\u3059\u304c\u3001\u5225\u306bclass\u8a2d\u5b9a\u3057\u3066 style.css \u7b49\u306b\u8a18\u8ff0\u3057\u305f\u65b9\u304c\u3044\u3044\u3068\u601d\u3044\u307e\u3059\u3002<br \/>\n\uff0a \u4e0d\u52d5\u7523\u4f1a\u54e1\u30d7\u30e9\u30b0\u30a4\u30f3\u3082\u65e2\u306b\u3053\u306e\u5bfe\u7b56\u3092\u3057\u3066\u3044\u307e\u3059\u306e\u3067\u5229\u7528\u4e2d\u306e\u65b9\u306f\u4e0d\u8981\u3067\u3059\u3002<\/p>\n<h2>\u53c2\u8003<\/h2>\n<p>WordPress Codex Plugin API\/Action Reference\/register post<br \/>\n<a href=\"https:\/\/codex.wordpress.org\/Plugin_API\/Action_Reference\/register_post\" target=\"_blank\"  rel=\"noopener nofollow\">https:\/\/codex.wordpress.org\/Plugin_API\/Action_Reference\/register_post<\/a><\/p>\n<p>WordPress Codex Plugin API\/Action Reference\/register form<br \/>\n<a href=\"https:\/\/codex.wordpress.org\/Plugin_API\/Action_Reference\/register_form\" target=\"_blank\"  rel=\"noopener nofollow\">https:\/\/codex.wordpress.org\/Plugin_API\/Action_Reference\/register_form<\/a><\/p>\n<p><!--\nregister_post,register_form,comment_form_after_fields,pre_comment_on_post\n--><\/p>\n","protected":false},"excerpt":{"rendered":"<p>\u3053\u308c\u66f8\u3044\u3061\u3083\u3046\u3068\u5bfe\u7b56\u3055\u308c\u308b\u304b\u3082\u3057\u308c\u307e\u305b\u3093\u304c\u3001\u6614\u304b\u3089\u3053\u3063\u305d\u308a\u3084\u3063\u3066\u308b\u30b9\u30d1\u30e0\u5bfe\u7b56\u3067\u3059\u3002 \u30b9\u30d1\u30e0\u306f\u5165\u529b\u3067\u304d\u308b\u9805\u76ee\u306f\u3001\u307b\u307c\u5168\u3066\u306e\u9805\u76ee\u306b\u4f55\u304b\u5165\u308c\u3066\u9001\u3063\u3066\u304d\u307e\u3059\u3002\u305d\u3053\u3067CSS\u3067\u96a0\u3057\u305f\u9805\u76ee\u306b\u30c7\u30fc\u30bf\u30fc\u304c\u5165\u3063\u3066\u3044\u308c\u3070\u30b9\u30d1\u30e0\u3068\u5224\u5b9a\u3057\u3066error\u3092\u8868\u793a\u3059\u308b\u3088\u3046\u306b\u3057\u307e\u3059\u3002 WordPress\u3067\u306f\u30c7\u30d5\u30a9\u30eb\u30c8\u3067\u306f\u300c\u30e6\u30fc\u30b6\u30fc\u767b\u9332\u300d\u306f O&hellip;<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[52],"tags":[59,60,58,57],"class_list":["post-260","post","type-post","status-publish","format-standard","hentry","category-security","tag-comment_form_after_fields","tag-pre_comment_on_post","tag-register_form","tag-register_post"],"jetpack_featured_media_url":"","_links":{"self":[{"href":"https:\/\/nendeb.com\/wp-json\/wp\/v2\/posts\/260","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/nendeb.com\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/nendeb.com\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/nendeb.com\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/nendeb.com\/wp-json\/wp\/v2\/comments?post=260"}],"version-history":[{"count":0,"href":"https:\/\/nendeb.com\/wp-json\/wp\/v2\/posts\/260\/revisions"}],"wp:attachment":[{"href":"https:\/\/nendeb.com\/wp-json\/wp\/v2\/media?parent=260"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/nendeb.com\/wp-json\/wp\/v2\/categories?post=260"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/nendeb.com\/wp-json\/wp\/v2\/tags?post=260"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}