mirror of
https://github.com/WordPress/WordPress.git
synced 2024-12-23 01:27:36 +01:00
Allow plugins to add more options to the comment status meta box easily. Fixes #14544 props ryan.
git-svn-id: http://svn.automattic.com/wordpress/trunk@15490 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
parent
10deff9e1d
commit
113a5038ce
@ -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
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user