{"id":1135,"date":"2014-06-28T00:13:30","date_gmt":"2014-06-27T15:13:30","guid":{"rendered":"http:\/\/www.nightmare-yk.com\/?p=1135"},"modified":"2016-02-23T09:13:06","modified_gmt":"2016-02-23T00:13:06","slug":"wordpress%e3%81%ae%e3%83%97%e3%83%a9%e3%82%b0%e3%82%a4%e3%83%b3%e6%93%8d%e4%bd%9c%e3%81%8c%e3%82%a8%e3%83%a9%e3%83%bc%e3%81%ab-2","status":"publish","type":"post","link":"http:\/\/www.nightmare-yk.com\/?p=1135","title":{"rendered":"WordPress\u306e\u30d7\u30e9\u30b0\u30a4\u30f3\u64cd\u4f5c\u304c\u30a8\u30e9\u30fc\u306b"},"content":{"rendered":"<p>\u304a\u4e45\u3057\u3076\u308a\u3067\u3059\uff4d\uff08\uff3f\uff3f\uff09\uff4d<\/p>\n<p>\u73cd\u3057\u304fNode.js\u306e\u8a18\u4e8b\u3092\u66f8\u3044\u3066\u304a\u308a\u3001\u6295\u7a3f\u3057\u3088\u3046\u3068\u3057\u305f\u3089\u3001Facebook\u4e0a\u306e\u81ea\u5206\u306e\u30da\u30fc\u30b8\u306b\u81ea\u52d5\u6295\u7a3f\u3067\u304d\u306a\u3044\u03a3(\uffe3\u30ed\uffe3lll)<\/p>\n<p>\u4eca\u307e\u3067\u3067\u304d\u3066\u3044\u305f\u306e\u306b\u306a\u3093\u3067\u3060\u308d\u30fc\u3068\u8abf\u3079\u3066\u3044\u305f\u3089\u3001wordbooker\u304c\u7d42\u4e86\u3057\u3066\u3044\u305f\u3053\u3068\u304c\u308f\u304b\u308a\u307e\u3057\u305f\u3002\u3002\u3002\u4ed6\u306e\u30d6\u30ed\u30b0\u3067\u3082\u540c\u3058\u3088\u3046\u306a\u3053\u3068\u3092\u8a00\u3063\u3066\u3044\u308b\u4eba\u304c\u3061\u3089\u307b\u3089(\uffe3\u25bd\uffe3;)<\/p>\n<p>\u4fbf\u5229\u3067\u3057\u305f\u304c\u4f7f\u3048\u306a\u3044\u3053\u3068\u306b\u306f\u3069\u3046\u3057\u3088\u3046\u3082\u306a\u3044\u305f\u3081\u3001wordbooker\u3092\u524a\u9664\u3057\u3088\u3046\u3068\u3057\u305f\u3068\u3053\u308d\u3001\u30d7\u30e9\u30b0\u30a4\u30f3\u306e\u524a\u9664\u30dc\u30bf\u30f3\u304c\u306a\u3044\u3002\u3002\u3002\u307e\u305f\u307e\u305f\u3001\u65b0\u898f\u306e\u30d7\u30e9\u30b0\u30a4\u30f3\u3082\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3067\u304d\u306a\u3044\u4e8b\u304c\u308f\u304b\u308a\u3001\u8abf\u67fb\u3059\u308b\u3053\u3068\u306b\u3002<\/p>\n<p>\u30fb\u30fb\u30fb\u3053\u308c\u304c\u304b\u306a\u308a\u306f\u307e\u308a\u307e\u3057\u305f\u3002<br \/>\n\u7d50\u8ad6\u304b\u3089\u8a00\u3044\u307e\u3059\u3068\u3001\u8a2d\u5b9a\u306e\u554f\u984c\u3060\u3063\u305f\u3093\u3067\u3059\u3051\u3069\u306d\u3002wp-config.php\u306b\u4ee5\u4e0b\u306e\u8a2d\u5b9a\u3092\u5165\u308c\u308b\u3068\u4f7f\u3048\u308b\u3088\u3046\u306b\u306a\u308a\u307e\u3057\u305f\u3002<\/p>\n<table style=\"table-layout:fixed;\">\n<tr>\n<td>\n<div style=\"overflow-x:auto;\">\n<pre>\r\ndefine('DISALLOW_FILE_MODS',false);\r\ndefine('DISALLOW_FILE_EDIT',false);\r\n<\/pre>\n<\/p><\/div>\n<\/td>\n<\/tr>\n<\/table>\n<p>&nbsp;<\/p>\n<p>\u3053\u308c\u3092\u89e3\u6c7a\u3059\u308b\u305f\u3081\u306b\u3001wordpress\u306e\u30bd\u30fc\u30b9\u3092\u898b\u308b\u3053\u3068\u306b\u306a\u308a\u307e\u3057\u305f\u3088\u3002\u3048\u3048\u3002<br \/>\n\u30c9\u30ad\u30e5\u30e1\u30f3\u30c8\u306b\u66f8\u3044\u3066\u3042\u3063\u305f\u306e\u304b\u3082\u3057\u308c\u307e\u305b\u3093\u304c\u3001\u898b\u3066\u306a\u3044\u3067\u3059\u3082\u3093\u3002\u30fe(\uff61\uff40\u0414\u00b4\uff61)\uff89<br \/>\n\u53d6\u308a\u5408\u3048\u305a\u3001\u30d7\u30e9\u30b0\u30a4\u30f3\u306e\u30a2\u30c3\u30d7\u30c7\u30fc\u30c8\u306e\u30da\u30fc\u30b8\u306e\u30d7\u30ed\u30b0\u30e9\u30e0\u3092\u9806\u306b\u8ffd\u3063\u3066\u3044\u3063\u305f\u3089\u308f\u304b\u308a\u307e\u3057\u305f\u3002<\/p>\n<p>\u25c7 \/usr\/share\/wordpress\/wp-admin\/includes\/class-wp-upgrader.php<\/p>\n<table style=\"table-layout:fixed;\">\n<tr>\n<td>\n<div style=\"overflow-x:auto;\">\n<pre>\uff5e\r\npublic function update( $type, $item ) {\r\n    $skin = new Automatic_Upgrader_Skin;\r\n\r\n    switch ( $type ) {\r\n        case 'core':\r\n\uff5e\r\n    }\r\n    \/\/ Determine whether we can and should perform this update.\r\n    if ( ! $this->should_update( $type, $item, $context ) )\r\n                  ^^^^^^^^^^^^^\r\n\uff5e<\/pre>\n<\/p><\/div>\n<\/td>\n<\/tr>\n<\/table>\n<p>&nbsp;<br \/>\nshould_update\u306e\u95a2\u6570\u304b\u306a(\uffe3\u0414\uffe3\uff1b\uff1b<\/p>\n<table style=\"table-layout:fixed;\">\n<tr>\n<td>\n<div style=\"overflow-x:auto;\">\n<pre>\uff5e\r\npublic function should_update( $type, $item, $context ) {\r\n    \/\/ Used to see if WP_Filesystem is set up to allow unattended updates.\r\n    $skin = new Automatic_Upgrader_Skin;\r\n\r\n    if ( $this->is_disabled() )\r\n                ^^^^^^^^^^^\r\n\uff5e<\/pre>\n<\/p><\/div>\n<\/td>\n<\/tr>\n<\/table>\n<p>&nbsp;<br \/>\nis_disabled\u306e\u95a2\u6570\u304b\u306a(-\u3002\uff0d\uff1b)<\/p>\n<table style=\"table-layout:fixed;\">\n<tr>\n<td>\n<div style=\"overflow-x:auto;\">\n<pre>\uff5e\r\npublic function is_disabled() {\r\n    \/\/ Background updates are disabled if you don't want file changes.\r\n    if ( !defined( 'DISALLOW_FILE_MODS' ) || DISALLOW_FILE_MODS )\r\n                    ^^^^^^^^^^^^^^^^^^\r\n\uff5e<\/pre>\n<\/p><\/div>\n<\/td>\n<\/tr>\n<\/table>\n<p>&nbsp;<\/p>\n<p>DISALLOW_FILE_MODS\u3063\u307d\u304f\u306d\uff1f\u03a3(\uff9f\u0434\uff9f;)<br \/>\n\u3064\u307e\u308a\u306f\u3001DISALLOW_FILE_MODS\u304c\u8a2d\u5b9a\u3055\u308c\u3066\u3044\u306a\u3044\u3001\u3082\u3057\u304f\u306fDISALLOW_FILE_MODS\u304c\u771f\u306e\u3068\u304d\u30a8\u30e9\u30fc\u306b\u306a\u308b\u3068\u3044\u3046\u3053\u3068\u304c\u308f\u304b\u3063\u305f\u306e\u3067\u3001\u8a2d\u5b9a\u30d5\u30a1\u30a4\u30eb\u306b\u8a2d\u5b9a\u304c\u3042\u308b\u304b\u3069\u3046\u304b\u3092\u78ba\u8a8d\u3057\u305f\u3068\u3053\u308d\u3042\u308a\u307e\u305b\u3093\u3067\u3057\u305f\u3002orz<\/p>\n<p>\u30a2\u30c3\u30d7\u30c7\u30fc\u30c8\u3057\u305f\u3068\u304d\u306b\u4ed5\u69d8\u304c\u5909\u66f4\u306b\u306a\u3063\u305f\u3093\u3067\u3057\u3087\u3046\u304b\u306d\u3002\u3002\u3002<br \/>\n\u4f55\u306b\u305b\u3088\u7121\u610f\u5473\u306a\u3068\u3053\u308d\u3067\u6642\u9593\u3092\u4f7f\u3063\u3066\u3057\u307e\u3044\u307e\u3057\u305f\u3002\u3053\u306e\u8a18\u4e8b\u3067\u52a9\u304b\u308b\u4eba\u304c\u3044\u308c\u3070\u3044\u3044\u306e\u3067\u3059\u304c\u3002<\/p>\n<p>\u305d\u3093\u306a\u3053\u3093\u306a\u3067\u843d\u3061\u7740\u3044\u3066\u304d\u305f\u306e\u3067\u3001\u4eca\u5ea6\u306fNode.js\u306e\u8a18\u4e8b\u3092\u66f8\u304d\u307e\u3059\uff01\uff01<\/p>\n<div class='wp_social_bookmarking_light'>\n            <div class=\"wsbl_facebook_like\"><div id=\"fb-root\"><\/div><fb:like href=\"http:\/\/www.nightmare-yk.com\/?p=1135\" layout=\"button_count\" action=\"like\" width=\"100\" share=\"false\" show_faces=\"false\" ><\/fb:like><\/div>\n            <div class=\"wsbl_google_plus_one\"><g:plusone size=\"medium\" annotation=\"none\" href=\"http:\/\/www.nightmare-yk.com\/?p=1135\" ><\/g:plusone><\/div>\n    <\/div>\n<br class='wp_social_bookmarking_light_clear' \/>\n","protected":false},"excerpt":{"rendered":"<p>\u304a\u4e45\u3057\u3076\u308a\u3067\u3059\uff4d\uff08\uff3f\uff3f\uff09\uff4d \u73cd\u3057\u304fNode.js\u306e\u8a18\u4e8b\u3092\u66f8\u3044\u3066\u304a\u308a\u3001\u6295\u7a3f\u3057\u3088\u3046\u3068\u3057\u305f\u3089\u3001Facebook\u4e0a\u306e\u81ea\u5206\u306e\u30da\u30fc\u30b8\u306b\u81ea\u52d5\u6295\u7a3f\u3067\u304d\u306a\u3044\u03a3(\uffe3\u30ed\uffe3lll) \u4eca\u307e\u3067\u3067\u304d\u3066\u3044\u305f\u306e\u306b\u306a\u3093\u3067\u3060\u308d\u30fc\u3068\u8abf\u3079\u3066\u3044\u305f\u3089\u3001wordbooker\u304c\u7d42\u4e86\u3057\u3066\u3044\u305f\u3053\u3068\u304c\u308f\u304b\u308a\u307e\u3057\u305f\u3002\u3002\u3002\u4ed6\u306e\u30d6\u30ed\u30b0\u3067\u3082\u540c\u3058\u3088\u3046\u306a\u3053\u3068\u3092\u8a00\u3063\u3066 [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":998,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"jetpack_publicize_message":"WordPress\u306e\u30d7\u30e9\u30b0\u30a4\u30f3\u64cd\u4f5c\u304c\u30a8\u30e9\u30fc\u306b","jetpack_is_tweetstorm":false,"jetpack_publicize_feature_enabled":true},"categories":[9,3],"tags":[19,166],"jetpack_publicize_connections":[],"jetpack_featured_media_url":"https:\/\/i0.wp.com\/www.nightmare-yk.com\/wp-content\/uploads\/2013\/12\/\u6280\u8853\u30a2\u30a4\u30b3\u30f32.png?fit=270%2C240","jetpack_likes_enabled":true,"jetpack_sharing_enabled":true,"jetpack-related-posts":[],"_links":{"self":[{"href":"http:\/\/www.nightmare-yk.com\/index.php?rest_route=\/wp\/v2\/posts\/1135"}],"collection":[{"href":"http:\/\/www.nightmare-yk.com\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"http:\/\/www.nightmare-yk.com\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"http:\/\/www.nightmare-yk.com\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"http:\/\/www.nightmare-yk.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=1135"}],"version-history":[{"count":4,"href":"http:\/\/www.nightmare-yk.com\/index.php?rest_route=\/wp\/v2\/posts\/1135\/revisions"}],"predecessor-version":[{"id":1137,"href":"http:\/\/www.nightmare-yk.com\/index.php?rest_route=\/wp\/v2\/posts\/1135\/revisions\/1137"}],"wp:featuredmedia":[{"embeddable":true,"href":"http:\/\/www.nightmare-yk.com\/index.php?rest_route=\/wp\/v2\/media\/998"}],"wp:attachment":[{"href":"http:\/\/www.nightmare-yk.com\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=1135"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"http:\/\/www.nightmare-yk.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=1135"},{"taxonomy":"post_tag","embeddable":true,"href":"http:\/\/www.nightmare-yk.com\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=1135"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}