{"id":97,"date":"2015-08-03T18:28:19","date_gmt":"2015-08-03T10:28:19","guid":{"rendered":"http:\/\/cn.hostease.com\/xueyuan\/?p=97"},"modified":"2015-11-10T14:21:02","modified_gmt":"2015-11-10T06:21:02","slug":"wordpress%e6%95%b0%e6%8d%ae%e5%ba%93%e7%bb%b4%e6%8a%a4%e6%97%b6%e5%b8%b8%e7%94%a8%e5%88%b0-12-%e4%b8%aa-sql-%e8%af%ad%e5%8f%a5","status":"publish","type":"post","link":"https:\/\/cn.hostease.com\/xueyuan\/jishu\/chengxujiaoben\/wordpress\/wordpress%e6%95%b0%e6%8d%ae%e5%ba%93%e7%bb%b4%e6%8a%a4%e6%97%b6%e5%b8%b8%e7%94%a8%e5%88%b0-12-%e4%b8%aa-sql-%e8%af%ad%e5%8f%a5\/","title":{"rendered":"WordPress\u6570\u636e\u5e93\u7ef4\u62a4\u65f6\u5e38\u7528\u5230 12 \u4e2a SQL \u8bed\u53e5"},"content":{"rendered":"<p>\u867d\u7136\u901a\u8fc7 WordPress \u5f3a\u5927\u7684\u63d2\u4ef6\u5e93\uff0c\u4f60\u51e0\u4e4e\u53ef\u4ee5\u5e72\u4efb\u4f55\u7684\u4e8b\u60c5\uff0c\u4f46\u662f\u6709\u65f6\u5019\u9700\u8981\u5feb\u901f\u4fee\u590d\u4e00\u4e9b\u7279\u5b9a\u7684\u95ee\u9898\u7684\u65f6\u5019\uff0c\u76f4\u63a5\u64cd\u4f5c\u6570\u636e\u5e93\u53ef\u80fd\u53cd\u800c\u662f\u65b9\u4fbf\u7684\u65b9\u6cd5\uff0c\u6240\u4ee5\u8fd9\u7bc7\u6587\u7ae0\u5c31\u7ed9\u5927\u5bb6\u4ecb\u7ecd WordPress \u6570\u636e\u5e93\u7ef4\u62a4\u65f6\u5e38\u7528\u5230 12 \u4e2a SQL \u8bed\u53e5\u3002\u5207\u8bb0\u4e00\u70b9\uff0c\u64cd\u4f5c\u524d\u8bb0\u5f97\u5907\u4efd\u54e6\uff01\uff01<\/p>\n<p>*\u6ce8\uff1a\u4e0b\u9762\u5047\u8bbe WordPress \u6570\u636e\u5e93\u7684\u8868\u7684\u524d\u7f00\u90fd\u662f\u9ed8\u8ba4\u7684\u201cwp_\u201d\u3002<\/p>\n<h4>1. \u76f4\u63a5\u5728\u6570\u636e\u5e93\u4e2d\u4fee\u6539\u5bc6\u7801<\/h4>\n<p>\u5bc6\u7801\u5fd8\u8bb0\u4e86\u662f\u7ecf\u5e38\u7684\u4e8b\u60c5\uff0c\u535a\u5ba2\u5bc6\u7801\u5fd8\u8bb0\u4e86\u8fdb\u4e0d\u53bb\uff0c\u53ef\u4ee5\u76f4\u63a5\u5728\u6570\u636e\u5e93\u91cc\u9762\u4fee\u6539\uff1a<\/p>\n<pre><code>UPDATE 'wp_users' SET 'user_pass' = MD5('PASSWORD') WHERE 'user_login' ='admin' LIMIT 1;<\/code><\/pre>\n<p>\u4e0a\u9762\u91c7\u7528\u4e86 MySQL \u7684 <code>MD5()<\/code> \u51fd\u6570\u8bb2\u5bc6\u7801\u8f6c\u6210 MD5 Hash\u3002<\/p>\n<h4><a name=\"toc-2\"><\/a><a name=\"toc-2\"><\/a>2. \u5c06\u65e5\u5fd7\u4ece\u4e00\u4e2a\u4f5c\u8005\u8f6c\u79fb\u5230\u53e6\u5916\u4e00\u4e2a<\/h4>\n<p>\u5047\u5982\u4f60\u7684\u535a\u5ba2\u7684\u67d0\u4e2a\u4f5c\u8005\u79bb\u5f00\u4e86\uff0c\u6216\u8005\u4f60\u4e0d\u60f3\u8ba9\u201cadmin\u201d\u4f5c\u4e3a\u4f5c\u8005\u540d\uff0c\u60f3\u628a\u65e5\u5fd7\u7684\u4f5c\u8005\u4ece\u4e00\u4e2a\u6539\u5230\u53e6\u5916\u4e00\u4e2a\uff1a<\/p>\n<pre><code>UPDATE wp_posts SET post_author=NEW_AUTHOR_ID WHERE post_author=OLD_AUTHOR_ID;<\/code><\/pre>\n<p>*\u6ce8\uff1a\u4f60\u9700\u8981\u77e5\u9053\u4e24\u4e2a\u4f5c\u8005\u7684 user id\u3002<\/p>\n<h4><a name=\"toc-3\"><\/a><a name=\"toc-3\"><\/a>3. \u5220\u9664\u6570\u636e\u5e93\u4e2d\u65e5\u5fd7\u4fee\u8ba2\u8bb0\u5f55\u548c\u5176\u76f8\u5173\u7684 post_meta \u6570\u636e<\/h4>\n<p>\u7279\u522b\u662f\u9488\u5bf9\u591a\u4eba\u535a\u5ba2\u7684\u65f6\u5019\uff0c\u65e5\u5fd7\u4fee\u8ba2\u529f\u80fd\u5f88\u91cd\u8981\uff0c\u4f46\u662f\u65e5\u5fd7\u4fee\u8ba2\u529f\u80fd\u4e5f\u5728\u6570\u636e\u5e93\u91cc\u9762\u6dfb\u52a0\u4e86\u5f88\u591a\u7684\u6570\u636e\uff0c\u5047\u8bbe\u4f60\u7684\u535a\u5ba2\u53ea\u6709 100 \u7bc7\u65e5\u5fd7\uff0c\u6bcf\u7bc7\u65e5\u5fd7\u6709 10 \u4e2a\u65e5\u5fd7\u4fee\u8ba2\uff0c\u4f60\u7684 posts \u8868\u4e2d\u5c31\u4f1a\u6709\u8d85\u8fc7 1000 \u6761\u8bb0\u5f55\uff0c\u4e25\u91cd\u7684\u6570\u636e\u5197\u4f59\uff1a<\/p>\n<pre><code>DELETE a,b,c FROM wp_posts a WHERE a.post_type = 'revision' LEFT JOIN wp_term_relationships b ON (a.ID = b.object_id) LEFT JOIN wp_postmeta c ON (a.ID = c.post_id);<\/code><\/pre>\n<p>*\u6ce8\uff1a\u4e0a\u9762\u7684 SQL \u5c06\u5220\u9664\u6570\u636e\u5e93\u4e2d\u6240\u6709\u7684\u65e5\u5fd7\u4fee\u8ba2\u8bb0\u5f55\u548c\u5176\u76f8\u5173\u7684 meta \u4fe1\u606f\uff08\u81ea\u5b9a\u4e49\u5b57\u6bb5\uff09\u3002<\/p>\n<p>\u5f53\u7136\u4f60\u8fd8\u53ef\u4ee5\uff1a\u5f7b\u5e95\u5c4f\u853d\u65e5\u5fd7\u4fee\u8ba2\u529f\u80fd\u3002<\/p>\n<h4><a name=\"toc-4\"><\/a><a name=\"toc-4\"><\/a>4. \u6279\u91cf\u5220\u9664\u5783\u573e\u7559\u8a00<\/h4>\n<p>\u5982\u679c\u4f60\u4e00\u6bb5\u65f6\u95f4\u6ca1\u6709\u7ba1\u7406\u4f60\u7684\u535a\u5ba2\uff0c\u521a\u597d\u51fa\u53bb\u4f11\u5047\uff0c\u6ca1\u6709\u529e\u6cd5\u4e0a\u7f51\uff0c\u5e76\u4e14\u535a\u5ba2\u4e5f\u6ca1\u6709\u88c5\u7c7b\u4f3c Akismet \u8fd9\u7c7b\u9632\u5783\u573e\u7559\u8a00\u63d2\u4ef6\uff0c\u90a3\u4e48\u4f60\u56de\u6765\u7684\u65f6\u5019\uff0c\u4f60\u4f1a\u53d1\u73b0\u535a\u5ba2\u540e\u53f0\u6709\u6210\u5343\u4e0a\u4e07\u6761\u5783\u573e\u7559\u8a00\u9700\u8981\u4f60\u53bb\u5ba1\u6838\u3002<\/p>\n<p>\u8fd9\u4e2a\u65f6\u5019\uff0c\u5176\u5b9e\u4f60\u53ea\u9700\u8981\u5ba1\u6838\u901a\u8fc7\u6b63\u5e38\u7684\u7559\u8a00\uff0c\u7136\u540e\u6267\u884c\u4e0b\u9762\u8fd9\u6761 SQL\uff1a<\/p>\n<pre><code>DELETE from wp_comments WHERE comment_approved = '0';<\/code><\/pre>\n<h4><a name=\"toc-5\"><\/a><a name=\"toc-5\"><\/a>5. \u67e5\u627e\u6ca1\u7528\u7684\u6807\u7b7e<\/h4>\n<p>\u4f60\u53ef\u80fd\u521b\u5efa\u4e00\u4e9b WordPress \u6807\u7b7e\u4e4b\u540e\uff0c\u5c31\u6ca1\u6709\u518d\u4f7f\u7528\uff0c\u4f60\u53ef\u4ee5\u901a\u8fc7\u4e0b\u9762\u8fd9\u6761 SQL \u627e\u5230\u5b83\u4eec\uff0c\u7136\u540e\u5b89\u5168\u7684\u5220\u9664\u4ed6\u4eec\u3002<\/p>\n<pre><code>SELECT * From wp_terms wt INNER JOIN wp_term_taxonomy wtt ON wt.term_id=wtt.term_id WHERE wtt.taxonomy='post_tag' AND wtt.count=0;<\/code><\/pre>\n<h4><a name=\"toc-6\"><\/a><a name=\"toc-6\"><\/a>6. \u67e5\u627e\u548c\u66ff\u6362\u6570\u636e<\/h4>\n<p>\u5bf9\u4e8e\u719f\u6089 MySQL \u6570\u636e\u5e93\u7684\u5f00\u53d1\u8005\u6765\u8bf4\uff0creplace() \u8fd9\u4e2a MySQL \u51fd\u6570\u90fd\u5e94\u8be5\u5f88\u719f\u6089\uff0c\u5b83\u53ef\u4ee5\u8ba9\u4f60\u6307\u5b9a\u4e00\u4e2a\u5b57\u6bb5\uff0c\u7136\u540e\u66ff\u6362\u5b83\u91cc\u9762\u7684\u5b57\u7b26\u4e32\uff0c\u4e00\u65e6\u6267\u884c\uff0c\u6240\u6709\u8fd9\u4e2a\u5b57\u6bb5\u91cc\u9762\u7684\u5b57\u7b26\u4e32\u90fd\u4f1a\u88ab\u66ff\u6362\u3002\u5bf9\u4e8e WordPress \u535a\u5ba2\u6765\u8bf4\uff0c\u8fd9\u4e2a SQL \u5219\u975e\u5e38\u5b9e\u7528\uff0c\u5b83\u53ef\u4ee5\u8ba9\u4f60\u6279\u91cf\u4fee\u6539\u67d0\u4e9b\u8f93\u5165\u9519\u8bef\uff0c\u6216\u8005\u67d0\u4e2a\u90ae\u4ef6\u5730\u5740\u7b49\u7b49\u3002<\/p>\n<pre><code>UPDATE table_name SET field_name = replace( field_name, 'string_to_find', 'string_to_replace' ) ;<\/code><\/pre>\n<p>\u66ff\u6362\u65e5\u5fd7\u5185\u5bb9\u4e2d\u5b57\u7b26\u4e32\uff1a<\/p>\n<pre><code>UPDATE wp_posts SET post_content = replace( post_content, 'string_to_find', 'string_to_replace' ) ;<\/code><\/pre>\n<p>\u5c06\u67d0\u4e2a\u7559\u8a00\u8005\u5730\u5740\u66ff\u6362\u4e0b\uff1a<\/p>\n<pre><code>UPDATE wp_comments SET comment_author_url = REPLACE( comment_author_url, 'https:\/\/oldurl.com', 'https:\/\/newurl.com' );<\/code><\/pre>\n<p>\u7559\u8a00\u8005\u90ae\u7bb1\uff1a<\/p>\n<pre><code>UPDATE wp_comments SET comment_author_email = REPLACE( comment_author_email, 'old-email@address.com', 'new-email@address.com' );<\/code><\/pre>\n<p>\u8fd8\u6709\u4e00\u4e2a WordPress \u63d2\u4ef6 Search &amp; Replace \u8fd8\u63d0\u4f9b\u4e00\u4e2a\u540e\u53f0\u8ba9\u4f60\u66f4\u52a0\u5bb9\u6613\u8fdb\u884c\u6279\u91cf\u66ff\u6362\u3002<\/p>\n<h4><a name=\"toc-7\"><\/a><a name=\"toc-7\"><\/a>7. \u83b7\u53d6\u6240\u6709\u7559\u8a00\u8005\u7684\u90ae\u4ef6\u5730\u5740<\/h4>\n<p>\u6709\u65f6\u5019\u4f60\u60f3\u505a\u70b9\u4e0d\u662f\u90a3\u4e48\u597d\u7684\u4e8b\u60c5\uff0c\u6bd4\u5982\u7ed9\u6240\u6709\u7559\u8a00\u8005\u53d1\u4e0b\u90ae\u4ef6\uff0c\u544a\u8bc9\u4ed6\u4eec\u4f60\u535a\u5ba2\u505a\u4e86\u4e00\u4e9b\u65b0\u7684\u529f\u80fd\uff0c\u6216\u8005\u5199\u4e86\u4e00\u4e2a\u5f88\u4e0d\u9519\u7684\u6587\u7ae0\uff0c\u90a3\u4e48\u4f60\u5e72\u574f\u4e8b\u60c5\u4e4b\u524d\uff0c\u9996\u5148\u8981\u83b7\u53d6\u6240\u6709\u7559\u8a00\u8005\u7684\u90ae\u4ef6\u5730\u5740\uff1a<\/p>\n<pre><code>SELECT DISTINCT comment_author_email FROM wp_comments;<\/code><\/pre>\n<p>*\u6ce8\uff1a\u4e0a\u9762\u7684 DISTINCT \u8ba9\u4f60\u83b7\u53d6\u7684\u90ae\u4ef6\u5730\u5740\u662f\u552f\u4e00\u7684\uff0c\u5373\u4f7f\u8fd9\u4e2a\u7528\u6237\u53d1\u8fc7\u597d\u51e0\u6b21\u7559\u8a00\uff0c\u4e5f\u4e0d\u6015\u3002<\/p>\n<p>\u4e0d\u8fc7\u7fa4\u53d1\u90ae\u4ef6\u8fd9\u4ef6\u4e8b\u60c5\u4e2a\u4eba\u5efa\u8bae\u8fd8\u662f\u4e0d\u8981\u8fd9\u6837\u505a\u597d\u3002<\/p>\n<h4><a name=\"toc-8\"><\/a><a name=\"toc-8\"><\/a>8. \u4e00\u6b21\u628a\u6240\u6709\u63d2\u4ef6\u90fd\u505c\u4e86<\/h4>\n<p>\u7f51\u7ad9\u51fa\u73b0\u95ee\u9898\u4e86\uff0c\u9700\u8981\u4e00\u6b21\u628a\u63d2\u4ef6\u5168\u90e8\u90fd\u5148\u505c\u4e86\u4e4b\u540e\u68c0\u6d4b\u4e0b\uff1a<\/p>\n<pre><code>UPDATE wp_options SET option_value = '' WHERE option_name = 'active_plugins';<\/code><\/pre>\n<h4><a name=\"toc-9\"><\/a><a name=\"toc-9\"><\/a>9. \u5220\u9664\u6240\u6709\u6807\u7b7e<\/h4>\n<p>\u6709\u65f6\u5019\uff0c\u4f60\u75af\u4e86\uff0c\u60f3\u5220\u9664\u535a\u5ba2\u6240\u6709\u7684\u6807\u7b7e\uff0c\u8fd9\u4e2a\u65f6\u5019\u4f60\u4e0d\u80fd\u5355\u7eaf\u7684\u6e05\u7a7a wp_terms \u8868\uff0c\u56e0\u4e3a wp_terms \u8868\u540c\u65f6\u5b58\u4e86\u5206\u7c7b\u548c\u6807\u7b7e\u7684\u6570\u636e\uff0c\u8fd9\u6837\u4f60\u5c31\u628a\u5206\u7c7b\u4fe1\u606f\u4e5f\u5220\u9664\u4e86\uff0c\u8fd9\u6837\u4f60\u5c31\u771f\u7684\u75af\u4e86\u3002<\/p>\n<pre><code>DELETE a,b,c\r\nFROM\r\n\tdatabase.prefix_terms AS a\r\n\tLEFT JOIN database.prefix_term_taxonomy AS c ON a.term_id = c.term_id\r\n\tLEFT JOIN database.prefix_term_relationships AS b ON b.term_taxonomy_id = c.term_taxonomy_id\r\nWHERE (\r\n\tc.taxonomy = 'post_tag' AND\r\n\tc.count = 0\r\n\t);<\/code><\/pre>\n<p>*\u6ce8\uff1a\u4e0a\u9762 SQL \u9664\u4e86\u5220\u9664\u6807\u7b7e\uff0c\u8fd8\u5220\u9664\u4e86\u6240\u6709\u6807\u7b7e\u548c\u6807\u7b7e\u548c\u65e5\u5fd7\u5173\u8054\u7684\u5173\u7cfb\u3002<\/p>\n<h4><a name=\"toc-10\"><\/a><a name=\"toc-10\"><\/a>10. \u5217\u51fa\u6ca1\u7528\u7684 post meta<\/h4>\n<p>wp_postmeta \u4e2d\u7684\u6570\u636e\u662f\u7531\u4e00\u4e9b\u63d2\u4ef6\u6216\u8005\u81ea\u5b9a\u4e49\u5b57\u6bb5\u751f\u6210\u7684\uff0c\u4ed6\u662f\u5bf9 wp_posts \u8868\u7684\u4e00\u79cd\u65e0\u9650\u7684\u6269\u5c55\uff0c\u4f46\u662f\u53ef\u80fd\u7531\u4e8e\u67d0\u79cd\u539f\u56e0\uff0c\u65e5\u5fd7\u88ab\u5220\u9664\u4e86\uff0c\u4f46\u662f\u5b83\u7684 meta \u4fe1\u606f\u8fd8\u5b58\u5728 wp_postmeta \u8868\u4e2d\uff0c\u4e0b\u9762\u8fd9\u6761 SQL \u5c06\u8fd9\u4e9b\u6ca1\u6709\u5173\u8054\u65e5\u5fd7\u7684 meta \u6570\u636e\u5217\u51fa\uff1a<\/p>\n<pre><code>SELECT * FROM wp_postmeta pm LEFT JOIN wp_posts wp ON wp.ID = pm.post_id WHERE wp.ID IS NULL;<\/code><\/pre>\n<h4><a name=\"toc-11\"><\/a><a name=\"toc-11\"><\/a>11. \u5173\u95ed\u65e7\u65e5\u5fd7\u7559\u8a00\u529f\u80fd<\/h4>\n<p>\u5384\uff0c\u5bf9\u4e8e\u4e00\u4e9b\u6280\u672f\u535a\u5ba2\u6216\u8005\u5176\u4ed6\u535a\u5ba2\u6765\u8bf4\uff0c\u4e00\u4e9b\u65e7\u65e5\u5fd7\u7684\u5185\u5bb9\u53ef\u80fd\u5df2\u7ecf\u8fc7\u65f6\u4e86\uff0c\u4f46\u662f\u4e00\u4e9b\u8bfb\u8005\uff0c\u8fd8\u662f\u5bf9\u4e00\u4e9b\u95ee\u9898\u201c\u7ea0\u7f20\u4e0d\u6e05\u201d\u6216\u8005\u201c\u558b\u558b\u4e0d\u4f11\u201d\uff0c\u600e\u4e48\u529e\uff0c\u628a\u7559\u8a00\u5173\u4e86\u5c31\u597d\u4e86\uff1a<\/p>\n<p>\u5173\u95ed\u7559\u8a00\uff1a<\/p>\n<pre><code>UPDATE wp_posts SET comment_status = 'closed' WHERE post_date &lt; '2009-01-01' AND post_status = 'publish';<\/code><\/pre>\n<p>\u5173\u95edTrackback\uff1a<\/p>\n<pre><code>UPDATE wp_posts SET ping_status=\"closed\" WHERE post_date &lt; '2009-01-01' AND post_status = 'publish';<\/code><\/pre>\n<h4><a name=\"toc-12\"><\/a><a name=\"toc-12\"><\/a>12. \u5220\u9664\u6240\u6709 url \u542b\u6709\u7279\u5b9a\u5b57\u7b26\u4e32\u7684\u7559\u8a00<\/h4>\n<p>\u4e00\u4e9b\u7559\u8a00\u8005\u5f88\u70e6\uff0c\u4e00\u6b21\u7559\u51e0\u5341\u4e2a\uff0c\u5176\u94fe\u63a5\u90fd\u6307\u5b9a\u5230\u4e00\u4e9b\u5356\u4f1f\u54e5\uff0c\u8d77\u91cd\u673a\uff0cSEO \u7684\u7ad9\u70b9\uff0c\u70e6\u4eba\u7684\u5f88\uff0c\u4e00\u4e2a\u4e00\u4e2a\u5220\uff0c\u53c8\u7d2f\uff0c\u4e0b\u9762\u8fd9\u6761 SQL \u53ef\u4ee5\u6765\u5e2e\u5fd9\uff1a<\/p>\n<pre><code>DELETE from wp_comments WHERE comment_author_url LIKE \"%viagra%\" ;<\/code><\/pre>\n<h4><a name=\"toc-13\"><\/a><a name=\"toc-13\"><\/a>\u7b80\u5355\u603b\u7ed3<\/h4>\n<p>\u8fd9\u4e9b SQL \u8bed\u53e5\u662f\u76f4\u63a5\u5bf9\u6570\u636e\u5e93\u8fdb\u884c\u64cd\u4f5c\u7684\uff0c\u5982\u679c\u4f60\u4e0d\u662f\u90a3\u4e48\u61c2\u6570\u636e\u5e93\u6216\u8005 SQL \u8bed\u8a00\uff0c\u5efa\u8bae\u4f60\u4e0d\u8981\u8fd9\u4e48\u505a\uff0c\u5982\u679c\u4f60\u8fd8\u662f\u6bd4\u8f83\u81ea\u4fe1 SQL \u64cd\u4f5c\uff0c\u5efa\u8bae\u64cd\u4f5c\u4e4b\u524d\u5907\u4efd\u4e0b\u6570\u636e\u5e93\u3002<\/p>\n<p>&nbsp;<\/p>\n","protected":false},"excerpt":{"rendered":"<p>\u867d\u7136\u901a\u8fc7 WordPress \u5f3a\u5927\u7684\u63d2\u4ef6\u5e93\uff0c\u4f60\u51e0\u4e4e\u53ef\u4ee5\u5e72\u4efb\u4f55\u7684\u4e8b\u60c5\uff0c\u4f46\u662f\u6709\u65f6\u5019\u9700\u8981\u5feb\u901f\u4fee\u590d\u4e00\u4e9b\u7279\u5b9a\u7684\u95ee\u9898\u7684\u65f6\u5019 &#8230; <a title=\"WordPress\u6570\u636e\u5e93\u7ef4\u62a4\u65f6\u5e38\u7528\u5230 12 \u4e2a SQL \u8bed\u53e5\" class=\"read-more\" href=\"https:\/\/cn.hostease.com\/xueyuan\/jishu\/chengxujiaoben\/wordpress\/wordpress%e6%95%b0%e6%8d%ae%e5%ba%93%e7%bb%b4%e6%8a%a4%e6%97%b6%e5%b8%b8%e7%94%a8%e5%88%b0-12-%e4%b8%aa-sql-%e8%af%ad%e5%8f%a5\/\" aria-label=\"\u9605\u8bfb WordPress\u6570\u636e\u5e93\u7ef4\u62a4\u65f6\u5e38\u7528\u5230 12 \u4e2a SQL \u8bed\u53e5\">\u9605\u8bfb\u66f4\u591a<\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_jetpack_memberships_contains_paid_content":false,"footnotes":""},"categories":[14],"tags":[92,23],"class_list":["post-97","post","type-post","status-publish","format-standard","hentry","category-wordpress","tag-sql","tag-wordpress"],"aioseo_notices":[],"jetpack_featured_media_url":"","jetpack-related-posts":[],"jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/cn.hostease.com\/xueyuan\/wp-json\/wp\/v2\/posts\/97","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/cn.hostease.com\/xueyuan\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/cn.hostease.com\/xueyuan\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/cn.hostease.com\/xueyuan\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/cn.hostease.com\/xueyuan\/wp-json\/wp\/v2\/comments?post=97"}],"version-history":[{"count":2,"href":"https:\/\/cn.hostease.com\/xueyuan\/wp-json\/wp\/v2\/posts\/97\/revisions"}],"predecessor-version":[{"id":99,"href":"https:\/\/cn.hostease.com\/xueyuan\/wp-json\/wp\/v2\/posts\/97\/revisions\/99"}],"wp:attachment":[{"href":"https:\/\/cn.hostease.com\/xueyuan\/wp-json\/wp\/v2\/media?parent=97"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/cn.hostease.com\/xueyuan\/wp-json\/wp\/v2\/categories?post=97"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/cn.hostease.com\/xueyuan\/wp-json\/wp\/v2\/tags?post=97"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}