Make WordPress Core

Changeset 15490


Ignore:
Timestamp:
08/07/2010 09:06:06 PM (15 years ago)
Author:
westi
Message:

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

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/wp-admin/includes/meta-boxes.php

    r15315 r15490  
    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
Note: See TracChangeset for help on using the changeset viewer.