{"id":122,"date":"2012-11-03T22:23:38","date_gmt":"2012-11-03T14:23:38","guid":{"rendered":"http:\/\/www.yeetrack.com\/post\/2012-11-03\/wordpress%E5%90%AF%E5%8A%A8%E5%88%9D%E5%A7%8B%E5%8C%96%E8%BF%87%E7%A8%8B"},"modified":"2013-04-20T17:30:45","modified_gmt":"2013-04-20T09:30:45","slug":"wordpress%e5%90%af%e5%8a%a8%e5%88%9d%e5%a7%8b%e5%8c%96%e8%bf%87%e7%a8%8b","status":"publish","type":"post","link":"https:\/\/www.yeetrack.com\/?p=122","title":{"rendered":"wordpress\u542f\u52a8\u521d\u59cb\u5316\u8fc7\u7a0b"},"content":{"rendered":"<p> &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;wordpress\u662f\u514d\u8d39\u5f00\u6e90\u7684\u7528php\u5f00\u53d1\u7684\u535a\u5ba2\u5e73\u53f0\uff0c\u529f\u80fd\u5341\u5206\u5f3a\u5927\uff0c\u4e2d\u6587\u53cb\u597d\uff0c\u4f7f\u7528mysql\u6570\u636e\u5e93\uff0c\u5b89\u88c5\u975e\u5e38\u65b9\u4fbf\u3002\u4f46\u662f\u529f\u80fd\u5f3a\u5927\u7684\u540c\u65f6\u4e5f\u5e26\u6765\u7b28\u91cd\u3001\u7e41\u7410\u7684\u611f\u89c9\u3002<\/p>\n<p><!--more--><\/p>\n<p>\u8fd9\u91cc\u5c1d\u8bd5\u5206\u6790\u89e3\u8bfb\u4e0bwordpress\u7684\u6e90\u7801\uff0c\u4e5f\u4f5c\u4e3a\u81ea\u5df1\u5b66\u4e60php\u7684\u7b14\u8bb0\u3002PS:php\u5f00\u53d1\u5de5\u5177\u63a8\u8350zend studio\u3002<\/p>\n<p>wordpress\u5b89\u88c5\u5b8c\u6bd5\u540e\uff0c\u5728\u76ee\u5f55\u6587\u4ef6\u5982\u4e0b\u56fe\uff1a<\/p>\n<p><img decoding=\"async\" src=\"http:\/\/m2.img.libdd.com\/farm4\/2012\/1103\/17\/831D4FBB3EB415763AED17C09E11D87F854481AE8321B_500_201.jpg\" \/><\/p>\n<p>\u8bbf\u95eewordpress\u535a\u5ba2\uff0c\u9ed8\u8ba4\u5b9a\u4f4d\u5230index.php\u6587\u4ef6\uff0c\u6253\u5f00index.php\uff0c\u4ee3\u7801\u975e\u5e38\u7b80\u5355\uff0c\u5c31\u4e24\u884c\uff1a<\/p>\n<pre config=\"brush:php;toolbar:false;\">define('WP_USE_THEMES', true);\nrequire('.\/wp-blog-header.php');<\/pre>\n<p>\u7b2c\u4e00\u884c\u5b9a\u4e49WP_USR_THEMES\u5e38\u91cf\u7684\u503c\u4e3atrue\uff0c\u7b2c\u4e8c\u884c\u5305\u542b\u5e76\u8fd0\u884c\u6587\u4ef6wp-blog-header.php\u3002\u6253\u5f00wp-blog-header.php\u6587\u4ef6\uff0c\u4ee3\u7801\u4e5f\u975e\u5e38\u7b80\u5355\uff1a<\/p>\n<pre config=\"brush:php;toolbar:false;\">if ( !isset($wp_did_header) ) {\n    $wp_did_header = true;\n    require_once( dirname(__FILE__) . '\/wp-load.php' );\n    wp();\n    require_once( ABSPATH . WPINC . '\/template-loader.php' );\n}<\/pre>\n<p> &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;\u9996\u5148\u68c0\u6d4b$wp_did_header\u662f\u5426\u8bbe\u7f6e\uff0c\u7531\u4e8e\u662f\u9996\u6b21\u6267\u884c\uff0c\u6ca1\u6709\u8bbe\u7f6e\uff0c\u8fdb\u5165if\u8bed\u53e5\u3002\u5b9a\u4e49$wp_did_header\u53d8\u91cf\uff0c\u7136\u540e\u5305\u542b\u5e76\u8fd0\u884c\u5f53\u524d\u76ee\u5f55\u4e0b\u7684wp-load.php\u6587\u4ef6\u3002__FILE__\u53d6\u5f97\u5f53\u524d\u6587\u4ef6\u7684\u8def\u5f84\u548c\u6587\u4ef6\u540d\uff0c\u7136\u540edirname()\u51fd\u6570\u53d6\u5f97\u5f53\u524d\u8def\u5f84\u3002\u8fd9\u91cc\u5c06\u5269\u4e0b\u4ee3\u7801\u5165\u68081-&gt;wp-blog-header.php\u3002<\/p>\n<p> &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;\u8fdb\u5165wp-load.php\u6587\u4ef6\uff0c\u538b\u5165\u6808\u65b9\u4fbf\u8bb0\u5fc61.wp-load.php-&gt;2.wp-blog-header.php\u3002\u8fd9\u4e2a\u6587\u4ef6\u4e3b\u8981\u7528\u4e8e\u8bbe\u7f6e\u7edd\u5bf9\u8def\u5f84\u5e38\u91cf\uff0c\u52a0\u8f7dwp-config.php\u6587\u4ef6\uff0c\u8fdb\u800c\u52a0\u8f7dwp-setting.php\u6587\u4ef6\uff0c\u6765\u5efa\u7acb\u8d77wordpress\u7684\u53d8\u91cf\u4fe1\u606f\u3002\u5982\u679cwp-config.php\u6ca1\u6709\u627e\u5230\uff0c\u4f1a\u8981\u6c42\u5b89\u88c5\u8005\u624b\u52a8\u8fdb\u884c\u4e00\u4e9b\u8bbe\u7f6e\u3002\u770b\u4e00\u4e0bwp-load.php\u6e90\u7801\uff1a<\/p>\n<pre config=\"brush:php;toolbar:false;\">define( 'ABSPATH', dirname(__FILE__) . '\/' );\nerror_reporting( E_CORE_ERROR | E_CORE_WARNING | E_COMPILE_ERROR | E_ERROR | E_WARNING | E_PARSE | E_USER_ERROR | E_USER_WARNING | E_RECOVERABLE_ERROR );\nif ( file_exists( ABSPATH . 'wp-config.php') ) {\n    require_once( ABSPATH . 'wp-config.php' );\n} elseif ( file_exists( dirname(ABSPATH) . '\/wp-config.php' ) &amp;&amp; ! file_exists( dirname(ABSPATH) . '\/wp-settings.php' ) ) {\n                                                                                                                                                                     \n    require_once( dirname(ABSPATH) . '\/wp-config.php' );\n} else {\n    \/\/ A config file doesn't exist\n    \/\/ Set a path for the link to the installer\n    if ( strpos($_SERVER['PHP_SELF'], 'wp-admin') !== false )       $path = 'setup-config.php';\n    else\n            $path = 'wp-admin\/setup-config.php';\n    define( 'WPINC', 'wp-includes' );\n    define( 'WP_CONTENT_DIR', ABSPATH . 'wp-content' );\n    require_once( ABSPATH . WPINC . '\/load.php' );\n    require_once( ABSPATH . WPINC . '\/version.php' );\n    wp_check_php_mysql_versions();\n    wp_load_translations_early();\n    require_once( ABSPATH . WPINC . '\/functions.php' );\n    \/\/ Die with an error message\n    $die  = __( &quot;There doesn't seem to be a &lt;code&gt;wp-config.php&lt;\/code&gt; file. I need this before we can get started.&quot; ) . '&lt;\/p&gt;';\n    $die .= '&lt;p&gt;' . __( &quot;Need more help? &lt;a href='http:\/\/codex.wordpress.org\/Editing_wp-config.php'&gt;We got it&lt;\/a&gt;.&quot; ) . '&lt;\/p&gt;';\n    $die .= '&lt;p&gt;' . __( &quot;You can create a &lt;code&gt;wp-config.php&lt;\/code&gt; file through a web interface, but this doesn't work for all server setups. The safest way is to manually create the file.&quot; ) . '&lt;\/p&gt;';\n    $die .= '&lt;p&gt;&lt;a href=&quot;' . $path . '&quot; class=&quot;button&quot;&gt;' . __( &quot;Create a Configuration File&quot; ) . '&lt;\/a&gt;';\n                                                                                                                                                                     \n    wp_die( $die, __( 'WordPress &amp;rsaquo; Error' ) );\n}<\/pre>\n<p> &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;\u8bbe\u7f6e\u5e38\u91cfABSPATH\uff0c<code>error_reporting<\/code>()\u51fd\u6570\u8bbe\u7f6ephp\u7684\u62a5\u9519\u7ea7\u522b\u3002\u7136\u540e\u5c1d\u8bd5\u52a0\u8f7dwp-config.php\u6587\u4ef6\uff0c\u7531\u4e8ewordpress\u5df2\u7ecf\u6210\u529f\u5b89\u88c5\uff0c\u8be5\u6587\u4ef6\u4e00\u822c\u662f\u5b58\u5728\u7684\u3002<\/p>\n<p> &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;\u8fdb\u5165wp-config.php\u6587\u4ef6\uff0c\u538b\u68081.wp-config.php--&gt;2.wp-load.php--&gt;3.wp-blog-header.php\u3002\u8fd9\u4e2a\u6587\u4ef6\u662fwordpress\u7684\u914d\u7f6e\u6587\u4ef6\uff0c\u5305\u542b\u6570\u636e\u5e93\u7b49\u4e00\u4e9b\u4fe1\u606f\u3002<\/p>\n<p>\u8bbe\u7f6e\u6570\u636e\u4fe1\u606f\uff1a<\/p>\n<pre config=\"brush:php;toolbar:false;\">define('DB_NAME', 'wordpress');\/\/\u6570\u636e\u5e93\u540d    \ndefine('DB_USER', 'root');\/\/\u6570\u636e\u5e93\u7528\u6237\u540d\ndefine('DB_PASSWORD', 'toor');\/\/\u6570\u636e\u5e93\u5bc6\u7801\ndefine('DB_HOST', 'localhost');\/\/\u6570\u636e\u5e93\u4e3b\u673a\ndefine('DB_CHARSET', 'utf8');\/\/\u6570\u636e\u5e93\u5b57\u7b26\u7f16\u7801\u683c\u5f0f<\/pre>\n<p> &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;\u968f\u540e\u662fdefine\u4e00\u4e9b\u8eab\u4efd\u5bc6\u94a5\uff0c\u4e0d\u518d\u89e3\u91ca\u3002\u8bbe\u7f6e\u6570\u636e\u5e93\u8868\u524d\u7f00\u548cwordpress\u7684\u8bed\u8a00\uff1a<\/p>\n<pre config=\"brush:php;toolbar:false;\">$table_prefix  = 'wp_';\ndefine('WPLANG', 'zh_CN');<\/pre>\n<p>\u6700\u540e\u5f00\u542f\u5f00\u53d1\u8005\u6a21\u5f0f\uff0c\u6700\u540e\u52a0\u8f7dwp-setting.php\u6587\u4ef6\u3002\u538b\u68081.wp-setting.php--&gt; 2.wp-load.php-&gt;3.wp-blog-header.php\u3002<\/p>\n<p> &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;wp-setting.php\u4e3b\u8981\u6765\u8bbe\u7f6ewordpress\u8fd0\u884c\u7684\u4e00\u4e9b\u53d8\u91cf\u548c\u5e93\u6587\u4ef6\u3002<\/p>\n<pre config=\"brush:php;toolbar:false;\">require( ABSPATH . WPINC . '\/load.php' ); \/\/\u52a0\u8f7dload.php\nrequire( ABSPATH . WPINC . '\/default-constants.php' );\nrequire( ABSPATH . WPINC . '\/version.php' );<\/pre>\n<p> &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;wp-setting.php\u53c8\u52a0\u8f7d\u4e0a\u9762\u4e09\u4e2aphp\u6587\u4ef6\uff0c\u5206\u522b\u8fdb\u53bb\u67e5\u770b\u3002load.php\u58f0\u660e\u4e86wordpress\u9700\u8981\u7684\u5f88\u591a\u51fd\u6570\uff0c\u6ca1\u6709\u4ec0\u4e48\u52a8\u4f5c\u6267\u884c\u3002default-constants.php\u58f0\u660e\u4e86\u4e00\u4e9b\u53ef\u4ee5\u88ab\u91cd\u5199\u7684\u51fd\u6570\u3002version.php\u5b9a\u4e49\u4e86wordpress\u9700\u8981\u7684\u7ec4\u4ef6\u7684\u7248\u672c\u4fe1\u606f\u3002<\/p>\n<p> &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;\u7136\u540e\u662f\u8c03\u7528load.php\uff0cdefault-constants.php\u4e2d\u7684\u51fd\u6570\uff0c\u5982\u4e0b<\/p>\n<pre config=\"brush:php;toolbar:false;\">wp_initial_constants( );\/\/\u521d\u59cb\u5316wordpress\u7684\u4e00\u4e9b\u4fe1\u606f\uff0c\u5982\u5185\u5b58\u5927\u5c0f\u3001\u8c03\u8bd5\u6a21\u5f0f\u548ccache\u60c5\u51b5\u7b49\n                                                       \nwp_check_php_mysql_versions();\/\/\u68c0\u67e5\u672c\u5730\u7684mysql\u662f\u5426\u7b26\u5408\u8981\u6c42\n                                                         \n\/\/ Disable magic quotes at runtime. Magic quotes are added using wpdb later in wp-settings.php.\u7981\u7528\u9b54\u6cd5\u5f15\u53f7\n@ini_set( 'magic_quotes_runtime', 0 );\n@ini_set( 'magic_quotes_sybase',  0 );\n                                                         \n\/\/ Set default timezone in PHP 5.\u8bbe\u7f6e\u65f6\u533a\nif ( function_exists( 'date_default_timezone_set' ) )\n    date_default_timezone_set( 'UTC' );\n                                                         \n\/\/ Turn register_globals off.\nwp_unregister_GLOBALS();\n                                                         \n\/\/ Ensure these global variables do not exist so they do not interfere with WordPress.\nunset( $wp_filter, $cache_lastcommentmodified );\n                                                         \n\/\/ Standardize $_SERVER variables across setups.\nwp_fix_server_vars();\n                                                         \n\/\/ Check if we have received a request due to missing favicon.ico\nwp_favicon_request();\n                                                         \n\/\/ Check if we're in maintenance mode.\nwp_maintenance();\n                                                         \n\/\/ Start loading timer.\ntimer_start();\n                                                         \n\/\/ Check if we're in WP_DEBUG mode.\nwp_debug_mode();\n                                                         \n\/\/ \u52a0\u8f7dcache\u6587\u4ef6\nif ( WP_CACHE )\n    WP_DEBUG ? include( WP_CONTENT_DIR . '\/advanced-cache.php' ) : @include( WP_CONTENT_DIR . '\/advanced-cache.php' );\n                                                         \n\/\/ \u8bbe\u7f6e\u8bed\u8a00\u6587\u4ef6\u8def\u5f84\nwp_set_lang_dir()<\/pre>\n<p> &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;\u540e\u9762\u53c8\u52a0\u8f7d\u4e86\u4e00\u4e9bphp\u6587\u4ef6\uff1a<\/p>\n<pre config=\"brush:php;toolbar:false;\">require( ABSPATH . WPINC . '\/compat.php' );\/\/\u517c\u5bb9\u4e4b\u524d\u7684\u7248\u672c\uff0c\u58f0\u660e\u4e00\u4e9b\u53ef\u80fd\u4e0d\u5b58\u5728\u7684\u51fd\u6570\nrequire( ABSPATH . WPINC . '\/functions.php' );\/\/\u58f0\u660e\u4e86\u5927\u91cf\u7684\u51fd\u6570\uff0cwordpress\u7684\u51fd\u6570\u51e0\u4e4e\u90fd\u5728\u91cc\u9762\nrequire( ABSPATH . WPINC . '\/class-wp.php' );\/\/\u58f0\u660ewordpress\u7684\u7c7b\uff0cmain\u5c31\u662f\u5728\u8fd9\u91cc\u58f0\u660e\u7684\nrequire( ABSPATH . WPINC . '\/class-wp-error.php' );\/\/\u58f0\u660e\u4e86\u9519\u8bef\u5904\u7406\u7684\u51fd\u6570\nrequire( ABSPATH . WPINC . '\/plugin.php' );\/\/\u83b7\u53d6\u63d2\u4ef6\u4fe1\u606f\nrequire( ABSPATH . WPINC . '\/pomo\/mo.php' );\/\/mo\u8bed\u8a00\u5e93<\/pre>\n<p><code><\/code><\/p>\n<p> &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;class-wp.php\u6587\u4ef6\u4e2d\u58f0\u660e\u7684\u4e3b\u51fd\u6570\uff1a<\/p>\n<pre config=\"brush:php;toolbar:false;\">function main($query_args = '') {\n        $this-&gt;init();\/\/\u521d\u59cb\u5316\u73af\u5883\n        $this-&gt;parse_request($query_args);\/\/\u89e3\u6790\u8bf7\u6c42\n        $this-&gt;send_headers();\n        $this-&gt;query_posts();\n        $this-&gt;handle_404();\n        $this-&gt;register_globals();\n        do_action_ref_array('wp', array(&amp;$this));\n    }<\/pre>\n<p> &nbsp;&nbsp;&nbsp;&nbsp;\u8fd9\u4e9b\u51fd\u6570\u90fd\u662f\u901a\u8fc7wp-blog-header.php\u4e2d\u7684wp()\u51fd\u6570\u8c03\u7528\u3002\u540e\u9762wp-setting.php\u6587\u4ef6\u53c8\u521d\u59cb\u5316\u4e86\u4e00\u4e9b\u5168\u5c40\u53d8\u91cf\uff0c\u521d\u59cb\u5316\u4e86WP\u5bf9\u8c61\uff0c\u5e76\u521d\u59cb\u5316\u3002<\/p>\n<pre config=\"brush:php;toolbar:false;\">$wp = new WP();\n$wp-&gt;init();<\/pre>\n<p>&nbsp;<\/p>\n<p> &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;\u56de\u5230wp-load.php\u6587\u4ef6\u3002\u8fd9\u662fwp-config.php\u6587\u4ef6\u5b58\u5728\u7684\u60c5\u51b5\uff0c\u5982\u679cwordpress\u5b89\u88c5\u4e0d\u5b8c\u5168\u9020\u6210\u8be5\u6587\u4ef6\u4e0d\u5b58\u5728\uff0c\u5c31\u4f1a\u8fdb\u5165elseif\u6d41\u7a0b\uff0celseif\u4e2d\u9996\u5148\u5224\u65adwp-config.php\u662f\u5426\u5b58\u5728\u7236\u76ee\u5f55\u4e2d\uff0c\u5982\u679c\u7236\u76ee\u5f55\u4e0d\u662fwordpress\u7684\u53e6\u4e00\u4e2a\u5b89\u88c5\u7248\u672c\uff0c\u5c31\u4ece\u7236\u76ee\u5f55\u52a0\u8f7dwp-config.php\u3002<\/p>\n<p> &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;\u6700\u540e\u8fdb\u5165else\u6d41\u7a0b\uff0c\u6ca1\u6709\u627e\u5230wp-config.php\u6587\u4ef6\uff0c\u56e0\u4e3awp-config.php\u6587\u4ef6\u5305\u542b\u4e86\u6570\u636e\u5e93\u7b49\u5fc5\u4e0d\u53ef\u5c11\u7684\u4fe1\u606f\uff0c\u6240\u4ee5\u7a0b\u5e8f\u65e0\u6cd5\u8fdb\u884c\u4e0b\u53bb\uff0c\u5c31\u8981\u6c42\u7528\u6237\u91cd\u65b0\u8bbe\u7f6ewp-config.php\u6587\u4ef6\u3002<\/p>\n<pre config=\"brush:php;toolbar:false;\">if ( strpos($_SERVER['PHP_SELF'], 'wp-admin') !== false )\n        $path = 'setup-config.php';\n    else\n        $path = 'wp-admin\/setup-config.php';\n                                                                                                       \n    define( 'WPINC', 'wp-includes' );\n    define( 'WP_CONTENT_DIR', ABSPATH . 'wp-content' );\n    require_once( ABSPATH . WPINC . '\/load.php' );\n    require_once( ABSPATH . WPINC . '\/version.php' );\n                                                                                                       \n    wp_check_php_mysql_versions();\n    wp_load_translations_early();\n                                                                                                       \n    require_once( ABSPATH . WPINC . '\/functions.php' );<\/pre>\n<p> &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;\u9996\u5148\u5224\u65ad\u5f53\u524d\u8def\u5f84\u662f\u5426\u4e3awp-admin,$_SERVER['PHP_SELF']\u7528\u6765\u53d6\u5f97\u5f53\u524d\u8fd0\u884c\u811a\u672c\u7684\u8def\u5f84\u548c\u6587\u4ef6\u540d\uff0cstrpos()\u51fd\u6570\u53d6\u5f97\u6307\u5b9a\u5b57\u7b26\u4e32\u7684\u4f4d\u7f6e\u3002\u603b\u4e4b\u8fd9\u51e0\u884c\u4ee3\u7801\u7684\u4f5c\u7528\u5c31\u662f\u8981\u52a0\u8f7dwp-admin\/setup-config.php\u6587\u4ef6\uff0c\u6765\u91cd\u65b0\u751f\u6210wp-config.php\u6587\u4ef6\u3002setup-config.php\u6587\u4ef6\u5c31\u662f\u5c55\u73b0\u5b89\u88c5\u65f6\u8ba9\u4f60\u586b\u5199\u6570\u636e\u5e93\u4fe1\u606f\u7684\u9875\u9762\uff1a<\/p>\n<p><img decoding=\"async\" src=\"http:\/\/m1.img.libdd.com\/farm5\/2012\/1103\/19\/102D2F1AA72FC869EA61A67FBB75E70562228ED28C8C4_500_317.jpg\" \/><\/p>\n<p> &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;\u5bf9\u4e8e\u5b89\u88c5\u8fc7\u7a0b\uff0c\u4e0d\u518d\u591a\u8bf4\u3002wp-load.php\u5b8c\u6bd5\uff0c\u56de\u5230wp-blog-header.php\u6587\u4ef6\uff0c\u8c03\u7528WP()\u51fd\u6570\uff0c\u8fdb\u800c\u8c03\u7528wp-class.php\u4e2d\u7684main\u51fd\u6570\u3002<\/p>\n<pre config=\"brush:php;toolbar:false;\">$this-&gt;parse_request($query_args);<\/pre>\n<p>\u4e0a\u9762\u7684\u51fd\u6570\u5c31\u662f\u4e2a\u6b7b\u5faa\u73af\u51fd\u6570\uff0c\u4e0d\u65ad\u5730\u63a5\u53d7\u6d4f\u89c8\u5668\u7684\u8bf7\u6c42\uff0c\u8fdb\u884c\u89e3\u6790\u3002<\/p>\n","protected":false},"excerpt":{"rendered":"<p>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;wordpress\u662f\u514d\u8d39\u5f00\u6e90\u7684\u7528php\u5f00\u53d1\u7684\u535a\u5ba2\u5e73\u53f0\uff0c\u529f\u80fd\u5341\u5206\u5f3a\u5927\uff0c\u4e2d\u6587\u53cb\u597d\uff0c\u4f7f\u7528mysql\u6570\u636e\u5e93\uff0c\u5b89\u88c5\u975e\u5e38\u65b9\u4fbf\u3002\u4f46&#46;&#46;&#46;<\/p>\n","protected":false},"author":2,"featured_media":0,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"pgc_sgb_lightbox_settings":"","footnotes":""},"categories":[34],"tags":[25,7],"class_list":["post-122","post","type-post","status-publish","format-standard","hentry","category-software","tag-wordpress","tag-7"],"views":12426,"_links":{"self":[{"href":"https:\/\/www.yeetrack.com\/index.php?rest_route=\/wp\/v2\/posts\/122","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.yeetrack.com\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.yeetrack.com\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.yeetrack.com\/index.php?rest_route=\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/www.yeetrack.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=122"}],"version-history":[{"count":2,"href":"https:\/\/www.yeetrack.com\/index.php?rest_route=\/wp\/v2\/posts\/122\/revisions"}],"predecessor-version":[{"id":435,"href":"https:\/\/www.yeetrack.com\/index.php?rest_route=\/wp\/v2\/posts\/122\/revisions\/435"}],"wp:attachment":[{"href":"https:\/\/www.yeetrack.com\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=122"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.yeetrack.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=122"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.yeetrack.com\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=122"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}