{"id":12584,"date":"2019-10-16T20:39:10","date_gmt":"2019-10-16T17:09:10","guid":{"rendered":"https:\/\/zardis.net\/news\/?p=12584"},"modified":"2019-10-16T20:39:10","modified_gmt":"2019-10-16T17:09:10","slug":"dot-in-permalink","status":"publish","type":"post","link":"https:\/\/zardis.net\/news\/12584\/dot-in-permalink\/","title":{"rendered":"\u0627\u0633\u062a\u0641\u0627\u062f\u0647 \u0627\u0632 \u0646\u0642\u0637\u0647 \u062f\u0631 \u067e\u06cc\u0648\u0646\u062f \u06cc\u06a9\u062a\u0627\u06cc \u0648\u0631\u062f\u067e\u0631\u0633"},"content":{"rendered":"<p>\u0628\u0627\u0632 \u0647\u0645 \u0628\u0627 \u06cc\u06a9 \u062a\u0631\u0641\u0646\u062f \u0639\u0627\u0644\u06cc \u0628\u0631\u0627\u06cc \u0648\u0631\u062f\u067e\u0631\u0633 \u0647\u0645\u0631\u0627\u0647 \u0634\u0645\u0627 \u0647\u0633\u062a\u06cc\u0645<br \/>\n\u0628\u0631\u0627\u06cc \u0627\u0633\u062a\u0641\u0627\u062f\u0647 \u0627\u0632 \u0646\u0642\u0637\u0647 \u062f\u0631 \u067e\u06cc\u0648\u0646\u062f \u0647\u0627\u06cc \u06cc\u06a9\u062a\u0627 \u0627\u0635\u0648\u0644\u0627 \u0648\u0631\u062f\u067e\u0631\u0633 \u0647\u06cc\u0686 \u0627\u062c\u0627\u0632\u0647 \u0627\u06cc \u0628\u0647 \u06a9\u0627\u0631\u0628\u0631\u0627\u0634 \u0646\u0645\u06cc\u062f\u0647 \u0627\u0645\u0627 \u062e\u0628 \u0628\u0639\u0636\u06cc \u0627\u0632 \u0645\u0648\u0627\u0642\u0639 \u0646\u06cc\u0627\u0632 \u0647\u0633\u062a \u06a9\u0647 \u062d\u062a\u0645\u0627 \u0627\u0632 \u0646\u0642\u0637\u0647 \u0627\u0633\u062a\u0641\u0627\u062f\u0647 \u0628\u0634\u0647 \u0645\u0627 \u0627\u06cc\u0646 \u06a9\u0627\u0631 \u0631\u0648 \u0628\u0631\u0627\u062a\u0648\u0646 \u0645\u0647\u06cc\u0627 \u0645\u06cc\u06a9\u0646\u06cc\u0645 &#8230; \u062a\u0627 \u0622\u062e\u0631 \u0645\u0637\u0644\u0628 \u0628\u0627 \u0645\u0627 \u0647\u0645\u0631\u0627\u0647 \u0628\u0627\u0634\u06cc\u062f&#8230;<br \/>\n\u0627\u0628\u062a\u062f\u0627 \u0641\u0627\u06cc\u0644 funcations.php \u0642\u0627\u0644\u0628 \u0641\u0639\u0644\u06cc \u0633\u0627\u06cc\u062a\u062a\u0648\u0646 \u0631\u0648 \u0628\u0627\u0632 \u06a9\u0646\u06cc\u062f \u0648 \u062f\u0631 \u0627\u0646\u062a\u0647\u0627\u06cc \u0622\u0646 \u0627\u06cc\u0646 \u06a9\u062f \u0631\u0627 \u0627\u0636\u0627\u0641\u0647 \u06a9\u0646\u06cc\u062f (\u0627\u0644\u0628\u062a\u0647 \u0647\u0631 \u062c\u0627 \u062f\u0648\u0633\u062a \u062f\u0627\u0631\u06cc\u062f \u0645\u06cc\u0634\u0647 \u0648\u0644\u06cc \u0627\u0635\u0648\u0644\u0627 \u062f\u0631 \u0627\u0646\u062a\u0647\u0627 \u0628\u0627\u0639\u062b \u0646\u0645\u06cc\u0634\u0647 \u0645\u0634\u06a9\u0644\u06cc \u067e\u06cc\u0634 \u0628\u06cc\u0627\u062f)<br \/>\n\u062d\u062a\u0645\u0627 \u0642\u0628\u0644 \u0627\u0632 \u062c\u0627\u06cc\u06af\u0630\u0627\u0631\u06cc \u0628\u06a9\u0627\u067e\u06cc \u0627\u0632 \u0627\u06cc\u0646 \u0641\u0627\u06cc\u0644 \u0628\u06af\u06cc\u0631\u06cc\u062f.<br \/>\n\u06a9\u062f\u061b<\/p>\n<pre class=\"lang:default decode:true \">\/*===============================================================\n\tdot in permalink\n===============================================================*\/\nremove_filter('sanitize_title', 'sanitize_title_with_dashes');\nfunction sanitize_title_with_dots_and_dashes($title) {\n $title = strip_tags($title);\n $title = preg_replace('|%([a-fA-F0-9][a-fA-F0-9])|', '---$1---', $title);\n $title = str_replace('%', '', $title);\n $title = preg_replace('|---([a-fA-F0-9][a-fA-F0-9])---|', '%$1', $title);\n $title = remove_accents($title);\n if (seems_utf8($title)) {\n if (function_exists('mb_strtolower')) {\n $title = mb_strtolower($title, 'UTF-8');\n }\n $title = utf8_uri_encode($title);\n }\n $title = strtolower($title);\n $title = preg_replace('\/&amp;.+?;\/', '', $title); \/\/ kill entities\n $title = preg_replace('\/[^%a-z0-9 ._-]\/', '', $title);\n $title = preg_replace('\/\\s+\/', '-', $title);\n $title = preg_replace('|-+|', '-', $title);\n $title = trim($title, '-');\n $title = str_replace('-.-', '.', $title);\n $title = str_replace('-.', '.', $title);\n $title = str_replace('.-', '.', $title);\n $title = preg_replace('|([^.])\\.$|', '$1', $title);\n $title = trim($title, '-'); \/\/ yes, again\n return $title;\n}\nadd_filter('sanitize_title', 'sanitize_title_with_dots_and_dashes');<\/pre>\n<p>\u0645\u0648\u0641\u0642 \u0628\u0627\u0634\u06cc\u062f<br \/>\n\u0633\u0648\u0627\u0644\u06cc \u0628\u0648\u062f \u062f\u0631\u062e\u062f\u0645\u062a\u0645<\/p>\n","protected":false},"excerpt":{"rendered":"<p>\u0628\u0627\u0632 \u0647\u0645 \u0628\u0627 \u06cc\u06a9 \u062a\u0631\u0641\u0646\u062f \u0639\u0627\u0644\u06cc \u0628\u0631\u0627\u06cc \u0648\u0631\u062f\u067e\u0631\u0633 \u0647\u0645\u0631\u0627\u0647 \u0634\u0645\u0627 \u0647\u0633\u062a\u06cc\u0645 \u0628\u0631\u0627\u06cc \u0627\u0633\u062a\u0641\u0627\u062f\u0647 \u0627\u0632 \u0646\u0642\u0637\u0647 \u062f\u0631 \u067e\u06cc\u0648\u0646\u062f \u0647\u0627\u06cc \u06cc\u06a9\u062a\u0627 \u0627\u0635\u0648\u0644\u0627 \u0648\u0631\u062f\u067e\u0631\u0633 \u0647\u06cc\u0686 \u0627\u062c\u0627\u0632\u0647 \u0627\u06cc \u0628\u0647 \u06a9\u0627\u0631\u0628\u0631\u0627\u0634 \u0646\u0645\u06cc\u062f\u0647 \u0627\u0645\u0627 \u062e\u0628 \u0628\u0639\u0636\u06cc \u0627\u0632 \u0645\u0648\u0627\u0642\u0639 \u0646\u06cc\u0627\u0632 \u0647\u0633\u062a \u06a9\u0647 \u062d\u062a\u0645\u0627 \u0627\u0632 \u0646\u0642\u0637\u0647 \u0627\u0633\u062a\u0641\u0627\u062f\u0647 \u0628\u0634\u0647 \u0645\u0627 \u0627\u06cc\u0646 \u06a9\u0627\u0631 \u0631\u0648 \u0628\u0631\u0627\u062a\u0648\u0646 \u0645\u0647\u06cc\u0627 \u0645\u06cc\u06a9\u0646\u06cc\u0645 &#8230; \u062a\u0627 \u0622\u062e\u0631 \u0645\u0637\u0644\u0628 \u0628\u0627 \u0645\u0627 \u0647\u0645\u0631\u0627\u0647 \u0628\u0627\u0634\u06cc\u062f&#8230; [&hellip;]<\/p>\n","protected":false},"author":15,"featured_media":0,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"_acf_changed":false,"footnotes":"","_members_access_role":[],"_members_access_error":""},"categories":[3003],"tags":[3142,3143,3004],"class_list":["post-12584","post","type-post","status-publish","format-standard","hentry","category-wp","tag-3142","tag-3143","tag-3004"],"acf":[],"_links":{"self":[{"href":"https:\/\/zardis.net\/news\/wp-json\/wp\/v2\/posts\/12584","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/zardis.net\/news\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/zardis.net\/news\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/zardis.net\/news\/wp-json\/wp\/v2\/users\/15"}],"replies":[{"embeddable":true,"href":"https:\/\/zardis.net\/news\/wp-json\/wp\/v2\/comments?post=12584"}],"version-history":[{"count":0,"href":"https:\/\/zardis.net\/news\/wp-json\/wp\/v2\/posts\/12584\/revisions"}],"wp:attachment":[{"href":"https:\/\/zardis.net\/news\/wp-json\/wp\/v2\/media?parent=12584"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/zardis.net\/news\/wp-json\/wp\/v2\/categories?post=12584"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/zardis.net\/news\/wp-json\/wp\/v2\/tags?post=12584"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}