Changeset 13830 for trunk/wp-admin/includes/meta-boxes.php
- Timestamp:
- 03/26/2010 07:36:49 PM (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/wp-admin/includes/meta-boxes.php
r13827 r13830 406 406 } 407 407 408 /** 408 /** 409 409 * Display comments for post table header 410 * 410 * 411 411 * @since 3.0.0 412 * 412 * 413 413 * @param $result table header rows 414 * @return 415 */ 416 function post_comment_meta_box_thead($result) { 414 * @return 415 */ 416 function post_comment_meta_box_thead($result) { 417 417 unset($result['cb'], $result['response']); 418 return $result; 419 } 418 return $result; 419 } 420 420 421 421 /** … … 442 442 <table class="widefat comments-box fixed" cellspacing="0" style="display:none;"> 443 443 <thead><tr> 444 <?php print_column_headers('edit-comments'); ?> 444 <?php print_column_headers('edit-comments'); ?> 445 445 </tr></thead> 446 446 <tbody id="the-comment-list" class="list:comment"></tbody> … … 453 453 <?php 454 454 } 455 remove_filter('manage_edit-comments_columns', 'post_comment_meta_box_thead'); 455 remove_filter('manage_edit-comments_columns', 'post_comment_meta_box_thead'); 456 456 wp_comment_trashnotice(); 457 457 }
Note: See TracChangeset
for help on using the changeset viewer.