Allow plugins to add more options to the comment status meta box easily. Fixes #14544 props ryan.

git-svn-id: https://develop.svn.wordpress.org/trunk@15490 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
Peter Westwood 2010-08-07 21:06:06 +00:00
parent 01508edfac
commit 18a112a466
1 changed files with 1 additions and 0 deletions

View File

@ -423,6 +423,7 @@ function post_comment_status_meta_box($post) {
<p class="meta-options">
<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 />
<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>
<?php do_action('post_comment_status_meta_box-options', $post); ?>
</p>
<?php
}