WordPress.org

Make WordPress Core

Ticket #17931: 17931.diff

File 17931.diff, 526 bytes (added by zeo, 4 years ago)
  • wp-admin/edit-form-advanced.php

     
    306306</form> 
    307307</div> 
    308308 
    309 <?php wp_comment_reply(); ?> 
     309<?php 
     310if ( post_type_supports( $post_type, 'comments' ) ) 
     311        wp_comment_reply(); 
     312?> 
    310313 
    311314<?php if ((isset($post->post_title) && '' == $post->post_title) || (isset($_GET['message']) && 2 > $_GET['message'])) : ?> 
    312315<script type="text/javascript">