{"id":230044,"date":"2016-12-08T14:04:19","date_gmt":"2016-12-08T14:04:19","guid":{"rendered":"https:\/\/ru.wordpress.org\/support\/topic\/%d0%bd%d0%b5-%d0%bf%d0%be%d0%bb%d1%83%d1%87%d0%b0%d0%b5%d1%82%d1%81%d1%8f-%d0%b2%d1%81%d1%82%d0%b0%d0%b2%d0%b8%d1%82%d1%8c-%d1%81%d0%bc%d0%b0%d0%b9%d0%bb%d1%8b-%d0%b2-%d0%bd%d1%83%d0%b6%d0%bd%d0%be\/"},"modified":"2016-12-08T14:04:19","modified_gmt":"2016-12-08T14:04:19","slug":"%d0%bd%d0%b5-%d0%bf%d0%be%d0%bb%d1%83%d1%87%d0%b0%d0%b5%d1%82%d1%81%d1%8f-%d0%b2%d1%81%d1%82%d0%b0%d0%b2%d0%b8%d1%82%d1%8c-%d1%81%d0%bc%d0%b0%d0%b9%d0%bb%d1%8b-%d0%b2-%d0%bd%d1%83%d0%b6%d0%bd%d0%be","status":"publish","type":"topic","link":"https:\/\/ru.wordpress.org\/support\/topic\/%d0%bd%d0%b5-%d0%bf%d0%be%d0%bb%d1%83%d1%87%d0%b0%d0%b5%d1%82%d1%81%d1%8f-%d0%b2%d1%81%d1%82%d0%b0%d0%b2%d0%b8%d1%82%d1%8c-%d1%81%d0%bc%d0%b0%d0%b9%d0%bb%d1%8b-%d0%b2-%d0%bd%d1%83%d0%b6%d0%bd%d0%be\/","title":{"rendered":"\u041d\u0435 \u043f\u043e\u043b\u0443\u0447\u0430\u0435\u0442\u0441\u044f \u0432\u0441\u0442\u0430\u0432\u0438\u0442\u044c \u0441\u043c\u0430\u0439\u043b\u044b \u0432 \u043d\u0443\u0436\u043d\u043e\u0435 \u043c\u0435\u0441\u0442\u043e \u0432 comment.php"},"content":{"rendered":"<p>\u0417\u0434\u0440\u0430\u0432\u0441\u0442\u0432\u0443\u0439\u0442\u0435. \u0420\u0435\u0434\u0430\u043a\u0442\u0438\u0440\u0443\u044e \u0448\u0430\u0431\u043b\u043e\u043d \u043f\u043e\u0434 \u0441\u0435\u0431\u044f, \u0441\u0442\u0430\u0440\u0430\u044f\u0441\u044c \u0438\u0437\u0431\u0435\u0433\u0430\u0442\u044c \u043f\u043b\u0430\u0433\u0438\u043d\u043e\u0432 \u043f\u043e \u043c\u0430\u043a\u0441\u0438\u043c\u0443\u043c\u0443. \u0412 \u043c\u043e\u0435\u0439 \u0442\u0435\u043c\u0435 Benevolent \u043c\u043d\u0435 \u0445\u043e\u0442\u0435\u043b\u043e\u0441\u044c \u0432\u0441\u0442\u0430\u0432\u0438\u0442\u044c \u0441\u043c\u0430\u0439\u043b\u044b \u043c\u0435\u0436\u0434\u0443 \u0444\u043e\u0440\u043c\u043e\u0439 \u043a\u043e\u043c\u043c\u0435\u043d\u0442\u0430\u0440\u0438\u044f \u0438 \u043a\u043d\u043e\u043f\u043a\u043e\u0439 &#171;\u043e\u0442\u043f\u0440\u0430\u0432\u0438\u0442\u044c&#187;. \u041d\u0430\u0448\u043b\u0430 \u043f\u043e\u0434\u0445\u043e\u0434\u044f\u0449\u0438\u0439 \u043a\u043e\u0434:<br \/>\n&lt;div class=&#187;smiwp&#187;&gt;<a href=\";\"><\/a>&lt;\/div&gt;<br \/>\n&lt;div class=&#187;smiwp1&#8243;&gt;&lt;?php include(TEMPLATEPATH . &#8216;\/smilies.php&#8217;); ?&gt;&lt;\/div&gt;<br \/>\n\u0412\u0441\u0435 \u0440\u0430\u0431\u043e\u0442\u0430\u0435\u0442, \u043d\u043e \u043d\u0435 \u043f\u043e\u043b\u0443\u0447\u0430\u0435\u0442\u0441\u044f \u0432\u0441\u0442\u0430\u0432\u0438\u0442\u044c \u0441\u043c\u0430\u0439\u043b\u044b \u0432 \u043d\u0443\u0436\u043d\u043e\u0435 \u043c\u0435\u0441\u0442\u043e, \u0438\u0431\u043e \u043e\u043d\u0438 \u0440\u0430\u0441\u043f\u043e\u043b\u0430\u0433\u0430\u044e\u0442\u0441\u044f \u043b\u0438\u0431\u043e \u0434\u043e \u0432\u0441\u0435\u0439 \u043a\u043e\u043d\u0441\u0442\u0440\u0443\u043a\u0446\u0438\u0438, \u0442\u043e \u0435\u0441\u0442\u044c \u0434\u043e \u0441\u043b\u043e\u0432 &#171;\u041e\u0441\u0442\u0430\u0432\u0438\u0442\u044c \u043a\u043e\u043c\u043c\u0435\u043d\u0442\u0430\u0440\u0438\u0439&#187;, \u043b\u0438\u0431\u043e \u0443\u0436\u0435 \u043f\u043e\u0441\u043b\u0435 \u043a\u043e\u043d\u0441\u0442\u0440\u0443\u043a\u0446\u0438\u0438. \u041e\u0434\u043d\u0430\u043a\u043e, \u0435\u0441\u043b\u0438 \u043e\u0442\u0432\u0435\u0447\u0430\u0442\u044c \u043d\u0430 \u0441\u0430\u043c\u044b\u0439 \u0440\u0430\u043d\u043d\u0438\u0439 \u043a\u043e\u043c\u043c\u0435\u043d\u0442\u0430\u0440\u0438\u0439, \u0442\u043e \u043a\u043e\u043d\u0441\u0442\u0440\u0443\u043a\u0446\u0438\u044f \u0441\u043c\u0435\u0449\u0430\u0435\u0442\u0441\u044f \u0432\u0432\u0435\u0440\u0445, \u043a\u0430\u043a \u0438 \u043f\u043e\u043b\u043e\u0436\u0435\u043d\u043e, \u0430 \u0432\u043e\u0442 \u0441\u043c\u0430\u0439\u043b\u044b \u043e\u0441\u0442\u0430\u044e\u0442\u0441\u044f \u0432 \u0441\u0430\u043c\u043e\u043c \u0434\u0435\u043b\u0435, \u0438 \u0442\u0443\u0442 \u043d\u0435 \u0432\u0430\u0436\u043d\u043e, \u0431\u044b\u043b\u0438 \u043b\u0438 \u043e\u043d\u0438 \u0434\u043e \u043a\u043e\u043d\u0441\u0442\u0440\u0443\u043a\u0446\u0438\u0438 \u0438\u043b\u0438 \u043f\u043e\u0441\u043b\u0435. \u041d\u0430 \u043e\u0434\u043d\u043e\u043c \u0441\u0430\u0439\u0442\u0435 \u043c\u043d\u0435 \u043f\u043e\u0434\u0441\u043a\u0430\u0437\u0430\u043b\u0438, \u0447\u0442\u043e \u043e\u0431\u0430 \u0444\u0430\u0439\u043b\u0430 \u0442\u0435\u043c\u044b comment.php \u0438 comment-template.php \u0437\u0430\u043f\u0438\u0441\u0430\u043d\u044b \u043c\u0430\u0441\u0441\u0438\u0432\u043e\u043c, \u0430 \u043d\u0435 \u043d\u0430\u0431\u043e\u0440\u043e\u043c \u0442\u0435\u0433\u043e\u0432, \u0447\u0442\u043e \u0443\u0441\u043b\u043e\u0436\u043d\u044f\u0435\u0442 \u0438\u0445 \u0440\u0435\u0434\u0430\u043a\u0442\u0438\u0440\u043e\u0432\u0430\u043d\u0438\u0435. \u041c\u0435\u0442\u043e\u0434\u043e\u043c \u043f\u0440\u043e\u0431 \u0438 \u043e\u0448\u0438\u0431\u043e\u043a, \u044f \u043f\u044b\u0442\u0430\u043b\u0430\u0441\u044c \u0440\u0430\u0437\u043e\u0440\u0432\u0430\u0442\u044c \u043c\u0430\u0441\u0441\u0438\u0432 comment.php, \u043d\u043e \u043d\u0438\u0447\u0435\u0433\u043e \u043d\u0435 \u043c\u0435\u043d\u044f\u043b\u043e\u0441\u044c.<br \/>\n\u0412\u043e\u0442 comment.php:<br \/>\n&lt;?php<\/p>\n<p>\/**<br \/>\n * The template for displaying comments.<br \/>\n *<br \/>\n * This is the template that displays the area of the page that contains both the current comments<br \/>\n * and the comment form.<br \/>\n *<br \/>\n * @link https:\/\/codex.wordpress.org\/Template_Hierarchy<br \/>\n *<br \/>\n * @package Benevolent<br \/>\n *\/<\/p>\n<p>\/*<br \/>\n * If the current post is protected by a password and<br \/>\n * the visitor has not yet entered the password we will<br \/>\n * return early without loading the comments.<br \/>\n *\/<br \/>\nif ( post_password_required() ) {<br \/>\n\treturn;<br \/>\n}<br \/>\n?&gt;<\/p>\n<p>&lt;div id=&#187;comments&#187; class=&#187;comments-area&#187;&gt;<\/p>\n<p>\t&lt;?php<br \/>\n\t\/\/ You can start editing here &#8212; including this comment!<br \/>\n\tif ( have_comments() ) : ?&gt;<br \/>\n\t\t&lt;h2 class=&#187;comments-title&#187;&gt;&lt;?php comments_number($one, $more);?&gt;&lt;\/h2&gt;<\/p>\n<ol>\n<p>\t\t\t&lt;?php wp_list_comments(&#8216;callback=mytheme_comment&#8217;); ?&gt;<\/p>\n<\/ol>\n<p>&lt;!&#8212; .comment-list &#8212;&gt;<\/p>\n<p>\t\t&lt;?php if ( get_comment_pages_count() &gt; 1 &amp;&amp; get_option( &#8216;page_comments&#8217; ) ) : \/\/ Are there comments to navigate through? ?&gt;<br \/>\n\t\t&lt;nav id=&#187;comment-nav-below&#187; class=&#187;navigation comment-navigation&#187; role=&#187;navigation&#187;&gt;<br \/>\n\t\t\t&lt;h2 class=&#187;screen-reader-text&#187;&gt;&lt;?php esc_html_e( &#8216;Comment navigation&#8217;, &#8216;benevolent&#8217; ); ?&gt;&lt;\/h2&gt;<br \/>\n\t\t\t&lt;div class=&#187;nav-links&#187;&gt;<\/p>\n<p>\t\t\t\t&lt;div class=&#187;nav-previous&#187;&gt;&lt;?php previous_comments_link( esc_html__( &#8216;Older Comments&#8217;, &#8216;benevolent&#8217; ) ); ?&gt;&lt;\/div&gt;<br \/>\n\t\t\t\t&lt;div class=&#187;nav-next&#187;&gt;&lt;?php next_comments_link( esc_html__( &#8216;Newer Comments&#8217;, &#8216;benevolent&#8217; ) ); ?&gt;&lt;\/div&gt;<\/p>\n<p>\t\t\t&lt;\/div&gt;&lt;!&#8212; .nav-links &#8212;&gt;<br \/>\n\t\t&lt;\/nav&gt;&lt;!&#8212; #comment-nav-below &#8212;&gt;<\/p>\n<p>\t\t&lt;?php<br \/>\n\t\tendif; \/\/ Check for comment navigation.<\/p>\n<p>\tendif; \/\/ Check for have_comments().<\/p>\n<p>\t\/\/ If comments are closed and there are comments, let&#8217;s leave a little note, shall we?<br \/>\n\tif ( ! comments_open() &amp;&amp; get_comments_number() &amp;&amp; post_type_supports( get_post_type(), &#8216;comments&#8217; ) ) : ?&gt;<\/p>\n<p>\t\t&lt;p class=&#187;no-comments&#187;&gt;&lt;?php esc_html_e( &#8216;Comments are closed.&#8217;, &#8216;benevolent&#8217; ); ?&gt;&lt;\/p&gt;<\/p>\n<p>\t&lt;?php<br \/>\n\tendif;<br \/>\n    ?&gt;<\/p>\n<p>&lt;\/div&gt;&lt;!&#8212; #comments &#8212;&gt;<\/p>\n<p>&lt;div class=&#187;comments-area&#187;&gt;<\/p>\n<p>    &lt;?php<\/p>\n<p>    \/\/https:\/\/codex.wordpress.org\/Function_Reference\/comment_form<br \/>\n        $commenter = wp_get_current_commenter();<br \/>\n        $req = get_option( &#8216;require_name_email&#8217; );<br \/>\n        $aria_req = ( $req ? &#187; aria-required=&#8217;true'&#187; : &#187; );<br \/>\n        $required_text = __( &#8216;Required fields are marked&#8217;, &#8216;benevolent&#8217; );<\/p>\n<p>        $fields =  array(<\/p>\n<p>          &#8216;author&#8217; =&gt;<br \/>\n            &#8216;&lt;p class=&#187;comment-form-author&#187;&gt;&lt;input id=&#187;author&#187; name=&#187;author&#187; placeholder=&#187;&#8216; . __( &#8216;Name*&#8217;, &#8216;benevolent&#8217; ) . &#8216;&#187; type=&#187;text&#187; value=&#187;&#8216; . esc_attr( $commenter[&#8216;comment_author&#8217;] ) .<br \/>\n            &#8216;&#187; size=&#187;30&#8243;&#8216; . $aria_req . &#8216; \/&gt;&lt;\/p&gt;&#8217;,<\/p>\n<p>          &#8217;email&#8217; =&gt;<br \/>\n            &#8216;&lt;p class=&#187;comment-form-email&#187;&gt;&lt;input id=&#187;email&#187; name=&#187;email&#187; placeholder=&#187;&#8216; . __( &#8216;Email*&#8217;, &#8216;benevolent&#8217; ) . &#8216;&#187; type=&#187;text&#187; value=&#187;&#8216; . esc_attr(  $commenter[&#8216;comment_author_email&#8217;] ) .<br \/>\n            &#8216;&#187; size=&#187;30&#8243;&#8216; . $aria_req . &#8216; \/&gt;&lt;\/p&gt;&#8217;,<\/p>\n<p>        );<br \/>\n        $args = array(<br \/>\n          &#8216;id_form&#8217;           =&gt; &#8216;commentform&#8217;,<br \/>\n          &#8216;class_form&#8217;      =&gt; &#8216;comment-form&#8217;,<br \/>\n          &#8216;id_submit&#8217;         =&gt; &#8216;submit&#8217;,<br \/>\n          &#8216;class_submit&#8217;      =&gt; &#8216;submit&#8217;,<br \/>\n          &#8216;name_submit&#8217;       =&gt; &#8216;submit&#8217;,<br \/>\n          &#8216;title_reply&#8217;       =&gt; __( &#8216;Leave a Reply&#8217;, &#8216;benevolent&#8217; ),<br \/>\n          &#8216;title_reply_to&#8217;    =&gt; __( &#8216;Leave a Reply to %s&#8217;, &#8216;benevolent&#8217; ),<br \/>\n          &#8216;cancel_reply_link&#8217; =&gt; __( &#8216;Cancel Reply&#8217;, &#8216;benevolent&#8217; ),<br \/>\n          &#8216;label_submit&#8217;      =&gt; __( &#8216;POST COMMENT&#8217;, &#8216;benevolent&#8217; ),<br \/>\n          &#8216;format&#8217;            =&gt; &#8216;xhtml&#8217;,<\/p>\n<p>          &#8216;comment_field&#8217; =&gt;  &#8216;&lt;p class=&#187;comment-form-comment&#187;&gt;&lt;label for=&#187;comment&#187;&gt;&#8217; . _x( &#8216;Comment&#8217;, &#8216;noun&#8217;, &#8216;benevolent&#8217; ) .<br \/>\n            &#8216;&lt;\/label&gt;&lt;textarea id=&#187;comment&#187; name=&#187;comment&#187; placeholder=&#187;&#8216; . __( &#8216;Comment&#8217;, &#8216;benevolent&#8217; ) . &#8216;&#187; cols=&#187;45&#8243; rows=&#187;8&#8243; aria-required=&#187;true&#187;&gt;&#8217; .<br \/>\n            &#8216;&lt;\/textarea&gt;&lt;\/p&gt;&#8217;,<\/p>\n<p>          &#8216;must_log_in&#8217; =&gt; &#8216;&lt;p class=&#187;must-log-in&#187;&gt;&#8217; .<br \/>\n            sprintf(<br \/>\n              __( &#8216;You must be <a href=\"%s\">logged in<\/a> to post a comment.&#8217;, &#8216;benevolent&#8217; ),<br \/>\n              wp_login_url( apply_filters( &#8216;the_permalink&#8217;, get_permalink() ) )<br \/>\n            ) . &#8216;&lt;\/p&gt;&#8217;,<\/p>\n<p>          &#8216;logged_in_as&#8217; =&gt; &#8216;&lt;p class=&#187;logged-in-as&#187;&gt;&#8217; .<br \/>\n            sprintf(<br \/>\n            __( &#8216;Logged in as <a href=\"%1$s\">%2$s<\/a>. <a href=\"%3$s\" title=\"Log out of this account\">Log out?<\/a>&#8216;, &#8216;benevolent&#8217; ),<br \/>\n              admin_url( &#8216;profile.php&#8217; ),<br \/>\n              $user_identity,<br \/>\n              wp_logout_url( apply_filters( &#8216;the_permalink&#8217;, get_permalink( ) ) )<br \/>\n            ) . &#8216;&lt;\/p&gt;&#8217;,);<br \/>\n            ( $args); ?&gt;<br \/>\n&lt;div class=&#187;smiwp&#187;&gt;<a href=\";\"><\/a>&lt;\/div&gt;<br \/>\n&lt;div class=&#187;smiwp1&#8243;&gt;&lt;?php include(TEMPLATEPATH . &#8216;\/smilies.php&#8217;); ?&gt;&lt;\/div&gt;<br \/>\n&lt;?php<br \/>\n        $args = array(<br \/>\n          &#8216;comment_notes_before&#8217; =&gt; &#8216;&lt;p class=&#187;comment-notes&#187;&gt;&lt;span class=&#187;email-notes&#187;&gt;&#8217; .<br \/>\n            __( &#8216;Your email address will not be published. &#8216;, &#8216;benevolent&#8217; ) . &#8216;&lt;\/span&gt;&#8217; . ( $req ? $required_text : &#187; ) .<br \/>\n            &#8216;&lt;span class=&#187;required&#187;&gt;*&lt;\/span&gt;&lt;\/p&gt;&#8217;,<\/p>\n<p>          &#8216;comment_notes_after&#8217; =&gt; &#187;,<\/p>\n<p>          &#8216;fields&#8217; =&gt; apply_filters( &#8216;comment_form_default_fields&#8217;, $fields ),<br \/>\n        );<\/p>\n<p>        comment_form( $args );<br \/>\n    ?&gt;<\/p>\n<p>&lt;\/div&gt;<\/p>\n<p>\u041f\u043e\u0434\u0441\u043a\u0430\u0436\u0438\u0442\u0435, \u043a\u0430\u043a \u043e\u0442\u0440\u0435\u0434\u0430\u043a\u0442\u0438\u0440\u043e\u0432\u0430\u0442\u044c \u0444\u0430\u0439\u043b \u0438\u043b\u0438 \u043f\u043e\u0434\u043f\u0440\u0430\u0432\u0438\u0442\u044c \u043a\u043e\u0434, \u0447\u0442\u043e\u0431\u044b \u043e\u043d \u0432\u0441\u0442\u0430\u043b \u0432 \u043a\u043e\u043d\u0441\u0442\u0440\u0443\u043a\u0446\u0438\u044e \u043a\u0430\u043a \u0441\u043b\u0435\u0434\u0443\u0435\u0442. \u0417\u0430\u0440\u0430\u043d\u0435\u0435 \u0441\u043f\u0430\u0441\u0438\u0431\u043e!<\/p>\n","protected":false},"template":"","class_list":["post-230044","topic","type-topic","status-publish","hentry","topic-tag-comment-php","topic-tag-9393","topic-tag-2331"],"jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/ru.wordpress.org\/support\/wp-json\/wp\/v2\/topic\/230044","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/ru.wordpress.org\/support\/wp-json\/wp\/v2\/topic"}],"about":[{"href":"https:\/\/ru.wordpress.org\/support\/wp-json\/wp\/v2\/types\/topic"}],"version-history":[{"count":0,"href":"https:\/\/ru.wordpress.org\/support\/wp-json\/wp\/v2\/topic\/230044\/revisions"}],"wp:attachment":[{"href":"https:\/\/ru.wordpress.org\/support\/wp-json\/wp\/v2\/media?parent=230044"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}