WordPress.org

Make WordPress Core

Ticket #14544: 14544.diff

File 14544.diff, 927 bytes (added by ryan, 5 years ago)
  • wp-admin/includes/meta-boxes.php

     
    423423<p class="meta-options"> 
    424424        <label for="comment_status" class="selectit"><input name="comment_status" type="checkbox" id="comment_status" value="open" <?php checked($post->comment_status, 'open'); ?> /> <?php _e( 'Allow comments.' ) ?></label><br /> 
    425425        <label for="ping_status" class="selectit"><input name="ping_status" type="checkbox" id="ping_status" value="open" <?php checked($post->ping_status, 'open'); ?> /> <?php printf( __( 'Allow <a href="%s" target="_blank">trackbacks and pingbacks</a> on this page.' ), __( 'http://codex.wordpress.org/Introduction_to_Blogging#Managing_Comments' ) ); ?></label> 
     426        <?php do_action('post_comment_status_meta_box-options', $post); ?> 
    426427</p> 
    427428<?php 
    428429}