{"id":517064,"date":"2021-07-16T10:04:34","date_gmt":"2021-07-16T02:04:34","guid":{"rendered":"http:\/\/4563.org\/?p=517064"},"modified":"2021-07-16T10:04:34","modified_gmt":"2021-07-16T02:04:34","slug":"%e8%af%b7%e5%81%87%e5%a4%a7%e4%bd%ac%e4%bb%ac%e4%b8%80%e4%b8%aa%e9%97%ae%e9%a2%98%e3%80%82wordpress%e5%9b%be%e7%89%87%e5%8e%8b%e7%bc%a9%e9%97%ae%e9%a2%98%e3%80%82","status":"publish","type":"post","link":"http:\/\/4563.org\/?p=517064","title":{"rendered":"\u8bf7\u5047\u5927\u4f6c\u4eec\u4e00\u4e2a\u95ee\u9898\u3002WordPress\u56fe\u7247\u538b\u7f29\u95ee\u9898\u3002"},"content":{"rendered":"\n<p>  \t\t\t\t\t<strong>bbx188<\/strong>  \t\t\t\t\u5927\u4f6c\u6709\u8bdd\u8bf4 : \t<\/p>\n<h3>\u8bf7\u5047\u5927\u4f6c\u4eec\u4e00\u4e2a\u95ee\u9898\u3002WordPress\u56fe\u7247\u538b\u7f29\u95ee\u9898\u3002<\/h3>\n<p>  \t\t\u817e\u8bafcos\u6709\u4e2a\u56fe\u7247\u538b\u7f29\u529f\u80fd\uff0c\u6bd4\u5982\u8bf4\u4f60\u7684\u56fe\u7247\u94fe\u63a5\u662fhttp:\/\/**\/123.jpg&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;<br \/>  \u7136\u540e\u4f60\u5728\u8fd9\u4e2a\u94fe\u63a5\u540e\u9762\u52a0\u4e0a\u53c2\u6570\uff0c\u6bd4\u5982\u8fd9\u6837http:\/\/**\/123.jpg?imageMogr2\/HEIF\/&lt;HEIF&gt;<\/p>\n<p>  \u5c31\u8fd9\u6837\u5728\u56fe\u7247\u540e\u9762\u52a0\u4e0a\u8fd9\u4e2a\u53c2\u6570\uff0c\u56fe\u7247\u5c31\u538b\u7f29\u4e86\uff0c\u73b0\u5728\u6709\u4e00\u4e2a\u95ee\u9898\uff0c\u6211\u5728\u5199\u6587\u7ae0\u7684\u65f6\u5019\uff0c\u5728\u4e0a\u4f20\u56fe\u7247\uff0c\u63d2\u5165\u6587\u7ae0\uff0c\u5b83\u9ed8\u8ba4\u662f\u4e0d\u5e26\u53c2\u6570\u7684\uff0c\u6211\u9700\u8981\u624b\u52a8\u53bb\u6dfb\u4e0a\u3002<\/p>\n<p>  \u6709\u6ca1\u6709\u4ec0\u4e48\u529e\u6cd5\u53ef\u4ee5\u8ba9\u56fe\u7247\u63d2\u5165\u6587\u7ae0\u7684\u65f6\u5019\u5c31\u81ea\u52a8\u5728\u540e\u9762\u5e26\u4e0a\u8fd9\u4e2a\u53c2\u6570\u5462\uff1f<\/p>\n<p>  \u8bf7\u6559\u4e00\u4e0b\u5927\u4f6c\uff0c\u6307\u70b9\u4e00\u4e0b  \t\t\t\t<\/p>\n<p>  \t\t\t\t\t<strong>\u6211\u4e0d\u662f\u4f60\u7684<\/strong>  \t\t\t\t\u5927\u4f6c\u6709\u8bdd\u8bf4 : \t<\/p>\n<h3><\/h3>\n<p>  \t\t \u672c\u5e16\u6700\u540e\u7531 \u6211\u4e0d\u662f\u4f60\u7684 \u4e8e 2021-7-16 10:03 \u7f16\u8f91 <\/p>\n<p> \u6dfb\u52a0\u5230\u6a21\u7248functions.php\u6587\u4ef6\u4e2d\uff0c\u8fd9\u6bb5\u4ee3\u7801\u4e0d\u4f1a\u4fee\u6539\u6570\u636e\u5e93\uff0c\u53ea\u5728\u663e\u793a\u7684\u65f6\u5019\u8f93\u5165\u66ff\u6362\u540e\u7684\u5185\u5bb9\u3002<br \/>  function replace_text_wps($text){<br \/>  $replace = array(<br \/>  &#8216;.jpg&#8217; =&gt; &#8216;.jpg?imageMogr2\/HEIF\/&lt;HEIF&gt;&#8217;,\/\/\u65e7\u5185\u5bb9=&gt;\u65b0\u5185\u5bb9\uff0c\u53ef\u4ee5\u6dfb\u52a0\u591a\u4e2a\uff0c\u6309\u7167\u683c\u5f0f\u6bcf\u884c\u6dfb\u52a0\u4e00\u4e2a<br \/>  &#8216;.png&#8217; =&gt; &#8216;.png?imageMogr2\/HEIF\/&lt;HEIF&gt;&#8217;, <br \/>  &nbsp; &nbsp; );<br \/>   $text = str_replace(array_keys($replace), $replace, $text);<br \/>  return $text;<br \/>  }<br \/>  add_filter(&#8216;the_content&#8217;, &#8216;replace_text_wps&#8217;);<br \/>  add_filter(&#8216;the_excerpt&#8217;, &#8216;replace_text_wps&#8217;);https:\/\/cdn.jsdelivr.net\/gh\/hishis\/forum-master\/public\/images\/patch.gif\t\t\t\t<\/p>\n<p>  \t\t\t\t\t<strong>phpsky<\/strong>  \t\t\t\t\u5927\u4f6c\u6709\u8bdd\u8bf4 : \t<\/p>\n<h3><\/h3>\n<p>  \t\t\u6b63\u5219\u5339\u914d\u4e00\u4e0b\t\t\t\t<\/p>\n<p>  \t\t\t\t\t<strong>bbx188<\/strong>  \t\t\t\t\u5927\u4f6c\u6709\u8bdd\u8bf4 : \t<\/p>\n<h3><\/h3>\n<p>  \t\t\u6211\u4e0d\u662f\u4f60\u7684 \u5927\u4f6c\u6709\u8bdd\u8bf4 : 2021-7-16 10:00<br \/>  \u6dfb\u52a0\u5230\u6a21\u7248functions.php\u6587\u4ef6\u4e2d\uff0c\u8fd9\u6bb5\u4ee3\u7801\u4e0d\u4f1a\u4fee\u6539\u6570\u636e\u5e93\uff0c\u53ea\u5728\u663e\u793a\u7684\u65f6\u5019\u8f93\u5165\u66ff\u6362\u540e\u7684\u5185\u5bb9\u3002<br \/>   &#8230;<\/p>\n<p> \u8c22\u8c22\u5927\u4f6c\uff0c\u6211\u53bb\u8bd5\u8bd5\uff01  \t\t\t\t<\/p>\n<p>  \t\t\t\t\t<strong>\u672c\u4eba\u9a6c\u4fdd\u56fd<\/strong>  \t\t\t\t\u5927\u4f6c\u6709\u8bdd\u8bf4 : \t<\/p>\n<h3><\/h3>\n<p>  \t\tCOS\u597d\u50cf\u53ef\u4ee5\u5f00\u542f\u4e07\u8c61 \u81ea\u52a8\u538b\u7f29https:\/\/cdn.jsdelivr.net\/gh\/hishis\/forum-master\/public\/images\/patch.gif\t\t\t  <\/p>\n","protected":false},"excerpt":{"rendered":"<p>bbx188 \u5927\u4f6c\u6709\u8bdd\u8bf4 : \u8bf7\u5047&hellip;<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":[],"categories":[],"tags":[],"_links":{"self":[{"href":"http:\/\/4563.org\/index.php?rest_route=\/wp\/v2\/posts\/517064"}],"collection":[{"href":"http:\/\/4563.org\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"http:\/\/4563.org\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"http:\/\/4563.org\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"http:\/\/4563.org\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=517064"}],"version-history":[{"count":0,"href":"http:\/\/4563.org\/index.php?rest_route=\/wp\/v2\/posts\/517064\/revisions"}],"wp:attachment":[{"href":"http:\/\/4563.org\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=517064"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"http:\/\/4563.org\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=517064"},{"taxonomy":"post_tag","embeddable":true,"href":"http:\/\/4563.org\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=517064"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}