{"id":2670,"date":"2025-06-11T05:20:32","date_gmt":"2025-06-10T21:20:32","guid":{"rendered":"https:\/\/www.zhaozhao123.cn\/wpcms\/wpdt\/2670.html"},"modified":"2025-06-11T05:20:32","modified_gmt":"2025-06-10T21:20:32","slug":"%e5%a6%82%e4%bd%95%e5%9c%a8-wordpress-%e4%b8%ad%e4%bd%bf%e7%94%a8-cookie-%e9%87%8d%e5%ae%9a%e5%90%91%e6%98%be%e7%a4%ba%e8%87%aa%e5%ae%9a%e4%b9%89%e7%ab%99%e5%86%85%e4%bf%a1%e6%81%af","status":"publish","type":"post","link":"https:\/\/www.zhaozhao123.cn\/wpcms\/post\/2670.html","title":{"rendered":"\u5982\u4f55\u5728 WordPress \u4e2d\u4f7f\u7528 Cookie \u91cd\u5b9a\u5411\u663e\u793a\u81ea\u5b9a\u4e49\u7ad9\u5185\u4fe1\u606f"},"content":{"rendered":"<div class=\"wp-block-columns p-0 border is-layout-flex wp-container-core-columns-is-layout-28f84493 wp-block-columns-is-layout-flex\">\r\n<div class=\"wp-block-column is-layout-flow wp-block-column-is-layout-flow\">\r\n<div class=\"wp-block-columns px-4 py-3 border-bottom has-background is-layout-flex wp-container-core-columns-is-layout-28f84493 wp-block-columns-is-layout-flex\" style=\"background:linear-gradient(243deg,rgb(238,238,238) 0%,rgba(58,166,242,0.15) 100%)\">\r\n<div class=\"wp-block-column is-layout-flow wp-block-column-is-layout-flow\">\r\n<div class=\"wp-block-group is-nowrap is-layout-flex wp-container-core-group-is-layout-6c531013 wp-block-group-is-layout-flex\">\r\n<figure class=\"wp-block-image size-thumbnail is-resized is-style-rounded is-style-rounded--1\"><img decoding=\"async\" src=\"https:\/\/www.zhaozhao123.cn\/myitems\/images\/sites16\/2025\/06\/dyA-1-400x300.jpg\" alt=\"Bug&#32534;&#35793;&#29422;\" class=\"wp-image-1842\" style=\"object-fit:cover;width:30px;height:30px\"><\/figure>\r\n\r\n\r\n\r\n<p class=\"my-0\">Bug&#32534;&#35793;&#29422;<\/p>\r\n<\/div>\r\n<\/div>\r\n<\/div>\r\n\r\n\r\n\r\n<div class=\"wp-block-columns px-xl-5 px-4 py-xl-4 py-3 is-layout-flex wp-container-core-columns-is-layout-28f84493 wp-block-columns-is-layout-flex\">\r\n<div class=\"wp-block-column is-layout-flow wp-block-column-is-layout-flow\">\r\n<p>&#22312; WordPress &#20013;&#65292;&#20320;&#21487;&#20197;&#36890;&#36807;&#35774;&#32622;&#21644;&#20351;&#29992; Cookie &#26469;&#23454;&#29616;&#19968;&#20123;&#21151;&#33021;&#65292;&#27604;&#22914;&#22312;&#29992;&#25143;&#39318;&#27425;&#35775;&#38382;&#32593;&#31449;&#26102;&#26174;&#31034;&#33258;&#23450;&#20041;&#30340;&#27426;&#36814;&#20449;&#24687;&#25110;&#25512;&#33616;&#20869;&#23481;&#31561;&#12290;Cookie &#26159;&#19968;&#31181;&#23384;&#20648;&#22312;&#27983;&#35272;&#22120;&#31471;&#30340;&#23567;&#25991;&#20214;&#65292;&#21487;&#20197;&#36890;&#36807; JavaScript &#36827;&#34892;&#35835;&#21462;&#12289;&#20889;&#20837;&#21644;&#21024;&#38500;&#12290;<\/p>\n<h3>&#27493;&#39588; 1: &#21019;&#24314;&#19968;&#20010;&#21517;&#20026; <code>welcome.php<\/code> &#30340;&#26032;&#39029;&#38754;<\/h3>\n<p>&#39318;&#20808;&#65292;&#22312; WordPress &#31649;&#29702;&#38754;&#26495;&#20013;&#21019;&#24314;&#19968;&#20010;&#26032;&#30340;&#39029;&#38754;&#65292;&#21629;&#21517;&#20026; <code>Welcome Page<\/code> &#25110;&#32773;&#31867;&#20284;&#30340;&#21517;&#31216;&#12290;&#28982;&#21518;&#23558;&#20854;&#25918;&#32622;&#22312;&#36866;&#24403;&#30340;&#30446;&#24405;&#19979;&#65292;&#20363;&#22914; <code>page-welcome.php<\/code>&#12290;<\/p>\n<h3>&#27493;&#39588; 2: &#22312; <code>welcome.php<\/code> &#39029;&#38754;&#20013;&#28155;&#21152;&#33258;&#23450;&#20041;&#33050;&#26412;<\/h3>\n<p>&#22312; <code>welcome.php<\/code> &#25991;&#20214;&#20013;&#65292;&#28155;&#21152;&#20197;&#19979; PHP &#20195;&#30721;&#26469;&#26816;&#26597;&#26159;&#21542;&#31532;&#19968;&#27425;&#21152;&#36733;&#39029;&#38754;&#65306;<\/p>\n<pre><code class=\"language-php\">&lt;?php if ( ! isset( $_COOKIE['first_visit'] ) ) : ?&gt;\n    &lt;div class=\"welcome-message\"&gt;\n        &lt;h3&gt;Welcome to Our Site!&lt;\/h3&gt;\n        &lt;p&gt;This is your first visit! We have some interesting information for you.&lt;\/p&gt;\n    &lt;\/div&gt;\n    &lt;?php setcookie('first_visit', 'true', time() + (86400 * 30), \"\/\"); \/\/ Set a cookie that expires in 30 days?&gt;\n&lt;?php endif; ?&gt;<\/code><\/pre>\n<p>&#36825;&#27573;&#20195;&#30721;&#30340;&#20316;&#29992;&#26159;&#22312;&#29992;&#25143;&#31532;&#19968;&#27425;&#35775;&#38382;&#26102;&#26174;&#31034;&#19968;&#26465;&#27426;&#36814;&#28040;&#24687;&#65292;&#24182;&#19988;&#20250;&#33258;&#21160;&#28165;&#38500;&#36825;&#20010; Cookie&#12290;<\/p>\n<h3>&#27493;&#39588; 3: &#39564;&#35777; Cookie &#24050;&#32463;&#35774;&#32622;<\/h3>\n<p>&#20026;&#20102;&#39564;&#35777; Cookie &#26159;&#21542;&#24050;&#32463;&#25104;&#21151;&#35774;&#32622;&#65292;&#21487;&#20197;&#21521;&#26381;&#21153;&#22120;&#21457;&#36865;&#19968;&#20010;&#31616;&#21333;&#30340; HTTP &#35831;&#27714;&#12290;&#20551;&#35774;&#20320;&#26377;&#19968;&#20010;&#21517;&#20026; <code>test_cookie<\/code> &#30340; Cookie&#65292;&#20320;&#21487;&#20197;&#36825;&#26679;&#20570;&#65306;<\/p>\n<pre><code class=\"language-javascript\">\/\/ &#21457;&#36865;&#35831;&#27714;&#21040;&#20320;&#30340;&#32593;&#31449;&#20197;&#26597;&#30475; Cookie &#26159;&#21542;&#23384;&#22312;\nfetch(\"http:\/\/example.com\/welcome.php\")\n    .then(response =&gt; response.text())\n    .then(data =&gt; console.log(data))\n    .catch(error =&gt; console.error(error));<\/code><\/pre>\n<p>&#22914;&#26524; Cookie &#25104;&#21151;&#35774;&#32622;&#24182;&#36820;&#22238;&#27426;&#36814;&#20449;&#24687;&#65292;&#37027;&#20040;&#35828;&#26126;&#23427;&#24037;&#20316;&#27491;&#24120;&#12290;<\/p>\n<h3>&#31034;&#20363;&#20195;&#30721;<\/h3>\n<p>&#19979;&#38754;&#26159;&#19968;&#20010;&#23436;&#25972;&#30340;&#31034;&#20363;&#20195;&#30721;&#29255;&#27573;&#65292;&#21253;&#21547;&#20102;&#19978;&#36848;&#25152;&#26377;&#27493;&#39588;&#65306;<\/p>\n<pre><code class=\"language-php\">&lt;?php\nif ( ! isset( $_COOKIE['first_visit'] ) ) :\n    ?&gt;\n    &lt;div class=\"welcome-message\"&gt;\n        &lt;h3&gt;Welcome to Our Site!&lt;\/h3&gt;\n        &lt;p&gt;This is your first visit! We have some interesting information for you.&lt;\/p&gt;\n    &lt;\/div&gt;\n    &lt;?php\n    setcookie('first_visit', 'true', time() + (86400 * 30), \"\/\");\nendif;\n?&gt;\n\n&lt;!-- &#20320;&#30340;&#20854;&#20182;&#20869;&#23481; --&gt;<\/code><\/pre>\n<h3>&#20351;&#29992;&#27493;&#39588;&#21450;&#25928;&#26524;<\/h3>\n<ol>\n<li><strong>&#21019;&#24314; <code>welcome.php<\/code> &#39029;&#38754;<\/strong>&#65306;&#22312; WordPress &#31649;&#29702;&#38754;&#26495;&#20013;&#21019;&#24314;&#19968;&#20010;&#21517;&#20026; <code>Welcome Page<\/code> &#30340;&#39029;&#38754;&#12290;<\/li>\n<li><strong>&#32534;&#20889;&#33050;&#26412;<\/strong>&#65306;&#22312; <code>welcome.php<\/code> &#25991;&#20214;&#20013;&#25554;&#20837;&#19978;&#36848; PHP &#20195;&#30721;&#12290;<\/li>\n<li><strong>&#27979;&#35797; Cookie &#35774;&#32622;<\/strong>&#65306;&#20351;&#29992;&#19978;&#36848;&#31034;&#20363;&#20195;&#30721;&#20013;&#30340; JavaScript &#33050;&#26412;&#26469;&#27979;&#35797; Cookie &#26159;&#21542;&#27491;&#30830;&#35774;&#32622;&#12290;<\/li>\n<\/ol>\n<p>&#36890;&#36807;&#36825;&#31181;&#26041;&#24335;&#65292;&#20320;&#21487;&#20197;&#22312; WordPress &#32593;&#31449;&#19978;&#20026;&#35775;&#23458;&#25552;&#20379;&#20010;&#24615;&#21270;&#30340;&#27426;&#36814;&#20307;&#39564;&#65292;&#22686;&#24378;&#29992;&#25143;&#30340;&#21442;&#19982;&#24863;&#21644;&#28385;&#24847;&#24230;&#12290;<\/p>\r\n<\/div>\r\n<\/div>\r\n<\/div>\r\n<\/div><div class=\"wp-block-columns p-0 border is-layout-flex wp-container-core-columns-is-layout-28f84493 wp-block-columns-is-layout-flex\">\r\n<div class=\"wp-block-column is-layout-flow wp-block-column-is-layout-flow\">\r\n<div class=\"wp-block-columns px-4 py-3 border-bottom has-background is-layout-flex wp-container-core-columns-is-layout-28f84493 wp-block-columns-is-layout-flex\" style=\"background:linear-gradient(243deg,rgb(238,238,238) 0%,rgba(58,166,242,0.15) 100%)\">\r\n<div class=\"wp-block-column is-layout-flow wp-block-column-is-layout-flow\">\r\n<div class=\"wp-block-group is-nowrap is-layout-flex wp-container-core-group-is-layout-6c531013 wp-block-group-is-layout-flex\">\r\n<figure class=\"wp-block-image size-thumbnail is-resized is-style-rounded is-style-rounded--2\"><img decoding=\"async\" src=\"https:\/\/www.zhaozhao123.cn\/myitems\/images\/sites16\/2025\/06\/zp-400x300.jpg\" alt=\"&#40657;&#26495;&#21069;&#30340;Bug&#35821;&#27861;&#35762;&#24072;\" class=\"wp-image-1849\" style=\"object-fit:cover;width:30px;height:30px\"><\/figure>\r\n\r\n\r\n\r\n<p class=\"my-0\">&#40657;&#26495;&#21069;&#30340;Bug&#35821;&#27861;&#35762;&#24072;<\/p>\r\n<\/div>\r\n<\/div>\r\n<\/div>\r\n\r\n\r\n\r\n<div class=\"wp-block-columns px-xl-5 px-4 py-xl-4 py-3 is-layout-flex wp-container-core-columns-is-layout-28f84493 wp-block-columns-is-layout-flex\">\r\n<div class=\"wp-block-column is-layout-flow wp-block-column-is-layout-flow\">\r\n<p>Cookie &#26159;&#19968;&#20010;&#38750;&#24120;&#26377;&#29992;&#30340;&#24037;&#20855;&#65292;&#23427;&#21487;&#20197;&#22312;&#29992;&#25143;&#27983;&#35272;&#32593;&#31449;&#26102;&#23384;&#20648;&#19968;&#20123;&#20449;&#24687;&#65292;&#22914;&#29992;&#25143;&#21517;&#12289;&#35775;&#38382;&#26102;&#38388;&#31561;&#12290;&#22312; WordPress &#20013;&#65292;&#20320;&#21487;&#20197;&#20351;&#29992; Cookie &#26469;&#23454;&#29616;&#19968;&#20123;&#21151;&#33021;&#65292;&#20363;&#22914;&#35774;&#32622;&#31449;&#28857;&#20559;&#22909;&#12289;&#36319;&#36394;&#29992;&#25143;&#30340;&#27963;&#21160;&#31561;&#12290;<\/p>\n<p>&#35201;&#23454;&#29616; Cookie &#37325;&#23450;&#21521;&#26174;&#31034;&#33258;&#23450;&#20041;&#31449;&#20869;&#20449;&#24687;&#65292;&#25105;&#20204;&#38656;&#35201;&#36981;&#24490;&#20197;&#19979;&#27493;&#39588;&#65306;<\/p>\n<ol>\n<li>&#22312; WordPress &#20027;&#39064;&#25110;&#25554;&#20214;&#20013;&#21019;&#24314;&#19968;&#20010;&#26032;&#30340; Cookie &#31867;&#22411;&#12290;<\/li>\n<li>&#35774;&#32622; Cookie &#30340;&#21517;&#31216;&#21644;&#20540;&#12290;<\/li>\n<li>&#21019;&#24314;&#19968;&#20010;&#20989;&#25968;&#26469;&#22788;&#29702; Cookie &#30340;&#35835;&#21462;&#21644;&#20462;&#25913;&#12290;<\/li>\n<li>&#20351;&#29992; Cookie &#36827;&#34892;&#31449;&#28857;&#20559;&#22909;&#35774;&#32622;&#12290;<\/li>\n<li>&#20351;&#29992; Cookie &#23454;&#29616;&#31449;&#28857;&#20559;&#22909;&#12290;<\/li>\n<\/ol>\n<p>&#20197;&#19979;&#26159;&#20855;&#20307;&#30340;&#28436;&#31034;&#20195;&#30721;&#65306;<\/p>\n<h3>&#27493;&#39588; 1: &#21019;&#24314;&#26032;&#30340; Cookie &#31867;&#22411;<\/h3>\n<p>&#39318;&#20808;&#65292;&#22312;&#20320;&#30340; WordPress &#20027;&#39064;&#25110;&#25554;&#20214;&#20013;&#21019;&#24314;&#19968;&#20010;&#26032;&#30340; Cookie &#31867;&#22411;&#12290;&#20551;&#35774;&#25105;&#20204;&#24819;&#35201;&#21019;&#24314;&#19968;&#20010;&#21517;&#20026; <code>custom_cookie<\/code> &#30340;&#26032; Cookie &#31867;&#22411;&#65292;&#25105;&#20204;&#21487;&#20197;&#20351;&#29992;&#20197;&#19979; PHP &#20195;&#30721;&#65306;<\/p>\n<pre><code class=\"language-php\">\/\/ &#23548;&#20837; Cookie &#22768;&#26126;&#25991;&#20214;\nrequire_once 'wp-admin\/includes\/cookie.php';\n\n\/\/ &#21019;&#24314;&#19968;&#20010; Cookie &#31867;&#22411;&#22768;&#26126;\n$cookie_type = array(\n    'name' =&gt; 'custom_cookie',\n    'value' =&gt; 'custom_value'\n);\n\n\/\/ &#28155;&#21152; Cookie &#31867;&#22411;&#21040; cookie &#27880;&#20876;&#34920;&#20013;\nif (function_exists('register_setting')) {\n    register_setting('my_custom_theme_option', 'custom_cookie', function () use ($cookie_type) {\n        return $cookie_type;\n    });\n}<\/code><\/pre>\n<p>&#36825;&#37324;&#65292;&#25105;&#20204;&#23548;&#20837;&#20102; <code>wp-admin\/includes\/cookie.php<\/code> &#25991;&#20214;&#65292;&#28982;&#21518;&#21019;&#24314;&#20102;&#19968;&#20010;&#26032;&#30340; Cookie &#31867;&#22411;&#22768;&#26126;&#24182;&#23558;&#20854;&#28155;&#21152;&#21040; cookie &#27880;&#20876;&#34920;&#20013;&#12290;<\/p>\n<h3>&#27493;&#39588; 2: &#35774;&#32622; Cookie &#30340;&#21517;&#31216;&#21644;&#20540;<\/h3>\n<p>&#29616;&#22312;&#65292;&#25105;&#20204;&#38656;&#35201;&#35774;&#32622; Cookie &#30340;&#21517;&#31216;&#21644;&#20540;&#12290;&#36825;&#36890;&#24120;&#21487;&#20197;&#36890;&#36807;&#35774;&#32622; Cookie &#31867;&#22411;&#22768;&#26126;&#20013;&#30340; <code>$value<\/code> &#23646;&#24615;&#26469;&#23436;&#25104;&#12290;&#22312;&#36825;&#20010;&#20363;&#23376;&#20013;&#65292;&#25105;&#20204;&#23558; Cookie &#21517;&#31216;&#35774;&#32622;&#20026; <code>custom_cookie<\/code>&#65292;&#20540;&#35774;&#32622;&#20026; <code>custom_value<\/code>&#12290;<\/p>\n<h3>&#27493;&#39588; 3: &#21019;&#24314;&#19968;&#20010;&#20989;&#25968;&#26469;&#22788;&#29702; Cookie &#30340;&#35835;&#21462;&#21644;&#20462;&#25913;<\/h3>\n<p>&#25509;&#19979;&#26469;&#65292;&#25105;&#20204;&#38656;&#35201;&#32534;&#20889;&#19968;&#20010;&#20989;&#25968;&#26469;&#22788;&#29702; Cookie &#30340;&#35835;&#21462;&#21644;&#20462;&#25913;&#12290;&#36825;&#20010;&#20989;&#25968;&#24212;&#35813;&#33021;&#22815;&#26681;&#25454;&#38656;&#35201;&#20174; Cookie &#20013;&#33719;&#21462;&#25110;&#26356;&#26032;&#20540;&#12290;&#22312;&#26412;&#20363;&#20013;&#65292;&#25105;&#20204;&#23558;&#21019;&#24314;&#19968;&#20010;&#31616;&#21333;&#30340;&#20989;&#25968;&#65292;&#35813;&#20989;&#25968;&#23558;&#36820;&#22238;&#24403;&#21069;&#30340; Cookie &#20540;&#12290;<\/p>\n<pre><code class=\"language-php\">function get_or_set_custom_cookie() {\n    global $wpdb;\n\n    \/\/ &#33719;&#21462;&#24403;&#21069;&#30340; Cookie &#20540;\n    $custom_cookie_value = get_option($wpdb-&gt;prefix . 'custom_cookie');\n\n    if (!empty($custom_cookie_value)) {\n        echo $custom_cookie_value; \/\/ &#36755;&#20986; Cookie &#20540;\n    } else {\n        \/\/ &#22914;&#26524;&#27809;&#26377;&#25214;&#21040; Cookie &#20540;&#65292;&#21017;&#21019;&#24314;&#19968;&#20010;&#26032;&#30340; Cookie\n        setcookie($wpdb-&gt;prefix . 'custom_cookie', 'new_value', time() + (86400 * 7), '\/');\n        echo 'New value set.';\n    }\n}<\/code><\/pre>\n<h3>&#27493;&#39588; 4: &#20351;&#29992; Cookie &#36827;&#34892;&#31449;&#28857;&#20559;&#22909;&#35774;&#32622;<\/h3>\n<p>&#26368;&#21518;&#65292;&#20320;&#38656;&#35201;&#21019;&#24314;&#19968;&#20010;&#20989;&#25968;&#26469;&#22788;&#29702; Cookie&#65292;&#20197;&#20415;&#22312;&#38656;&#35201;&#26102;&#26356;&#26032;&#31449;&#28857;&#20559;&#22909;&#12290;&#22312;&#36825;&#20010;&#20363;&#23376;&#20013;&#65292;&#25105;&#20204;&#23558;&#21019;&#24314;&#19968;&#20010;&#31616;&#21333;&#30340;&#20989;&#25968;&#65292;&#35813;&#20989;&#25968;&#23558;&#22312;&#27599;&#27425;&#29992;&#25143;&#35775;&#38382;&#32593;&#31449;&#26102;&#33258;&#21160;&#35843;&#29992;&#12290;<\/p>\n<pre><code class=\"language-php\">function update_site_preferences() {\n    \/\/ &#33719;&#21462;&#24403;&#21069;&#30340; Cookie &#20540;\n    $custom_cookie_value = get_option($wpdb-&gt;prefix . 'custom_cookie');\n\n    \/\/ &#26816;&#26597;&#26159;&#21542;&#26377;&#26032;&#30340;&#31449;&#28857;&#20559;&#22909;&#20540;\n    if ($custom_cookie_value !== $_COOKIE[$wpdb-&gt;prefix . 'custom_cookie']) {\n        \/\/ &#22914;&#26524;&#26377;&#26032;&#30340;&#31449;&#28857;&#20559;&#22909;&#20540;&#65292;&#21017;&#26356;&#26032;&#31449;&#28857;&#20559;&#22909;\n        update_option($wpdb-&gt;prefix . 'custom_cookie', $_COOKIE[$wpdb-&gt;prefix . 'custom_cookie']);\n\n        \/\/ &#25171;&#21360;&#19968;&#26465;&#28040;&#24687;&#20197;&#36890;&#30693;&#29992;&#25143;&#31449;&#28857;&#20559;&#22909;&#24050;&#26356;&#25913;\n        echo \"Site preferences updated.\";\n    }\n}\n\nadd_action('wp_init', 'update_site_preferences'); \/\/ &#23558;&#27492;&#20195;&#30721;&#28155;&#21152;&#21040; wp-config.php &#25110; functions.php &#25991;&#20214;&#20013;<\/code><\/pre>\n<h3>&#27493;&#39588; 5: &#20351;&#29992; Cookie &#23454;&#29616;&#31449;&#28857;&#20559;&#22909;<\/h3>\n<p>&#22312;&#23454;&#38469;&#24212;&#29992;&#20013;&#65292;&#20320;&#21487;&#33021;&#36824;&#38656;&#35201;&#26681;&#25454;&#33258;&#24049;&#30340;&#38656;&#27714;&#23545;&#36825;&#20123;&#20195;&#30721;&#36827;&#34892;&#36827;&#19968;&#27493;&#30340;&#23450;&#21046;&#12290;&#20363;&#22914;&#65292;&#20320;&#21487;&#20197;&#21019;&#24314;&#26356;&#22810;&#31867;&#22411;&#30340; Cookie&#65292;&#25110;&#32773;&#22312;&#29305;&#23450;&#39029;&#38754;&#19978;&#20351;&#29992;&#23427;&#20204;&#12290;&#27492;&#22806;&#65292;&#20320;&#36824;&#21487;&#20197;&#36890;&#36807;&#22312;&#20027;&#39064;&#30340; CSS &#25110; JavaScript &#20013;&#24341;&#29992;&#36825;&#20123; Cookie &#25968;&#25454;&#26469;&#23454;&#29616;&#26356;&#22797;&#26434;&#30340;&#21151;&#33021;&#12290;<\/p>\n<p>&#20197;&#19978;&#23601;&#26159;&#22914;&#20309;&#22312; WordPress &#20013;&#20351;&#29992; Cookie &#37325;&#23450;&#21521;&#26174;&#31034;&#33258;&#23450;&#20041;&#31449;&#20869;&#20449;&#24687;&#30340;&#26041;&#27861;&#12290;&#24076;&#26395;&#36825;&#20123;&#31034;&#20363;&#20195;&#30721;&#33021;&#24110;&#21161;&#20320;&#24320;&#22987;&#20320;&#30340;&#39033;&#30446;&#65281;&#22914;&#26524;&#20320;&#26377;&#20219;&#20309;&#30097;&#38382;&#65292;&#35831;&#38543;&#26102;&#25552;&#38382;&#12290;<\/p>\r\n<\/div>\r\n<\/div>\r\n<\/div>\r\n<\/div>\n","protected":false},"excerpt":{"rendered":"<p>Bug&#32534;&#35793;&#29422; &#22312; WordPress &#20013;&#65292;&#20320;&#21487;&#20197;&#36890;&#36807;&#35774;&#32622;&#21644;&#20351;&#29992; Cookie &#26469;&#038;..<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"","ping_status":"","sticky":false,"template":"","format":"standard","meta":{"_acf_changed":false,"footnotes":""},"categories":[1],"tags":[59],"tuisongtax":[],"class_list":["post-2670","post","type-post","status-publish","format-standard","hentry","category-wpdt","tag-pzjc"],"acf":[],"_links":{"self":[{"href":"https:\/\/www.zhaozhao123.cn\/wpcms\/wp-json\/wp\/v2\/posts\/2670","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.zhaozhao123.cn\/wpcms\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.zhaozhao123.cn\/wpcms\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.zhaozhao123.cn\/wpcms\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.zhaozhao123.cn\/wpcms\/wp-json\/wp\/v2\/comments?post=2670"}],"version-history":[{"count":0,"href":"https:\/\/www.zhaozhao123.cn\/wpcms\/wp-json\/wp\/v2\/posts\/2670\/revisions"}],"wp:attachment":[{"href":"https:\/\/www.zhaozhao123.cn\/wpcms\/wp-json\/wp\/v2\/media?parent=2670"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.zhaozhao123.cn\/wpcms\/wp-json\/wp\/v2\/categories?post=2670"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.zhaozhao123.cn\/wpcms\/wp-json\/wp\/v2\/tags?post=2670"},{"taxonomy":"tuisongtax","embeddable":true,"href":"https:\/\/www.zhaozhao123.cn\/wpcms\/wp-json\/wp\/v2\/tuisongtax?post=2670"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}