mirror of
https://github.com/gosticks/wordpress-develop.git
synced 2026-07-01 07:40:07 +00:00
Consolidate *backs filter. Preserve filter settings when filetering by post. Props Viper007Bond. fixes #7920
git-svn-id: https://develop.svn.wordpress.org/trunk@9247 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
@@ -157,11 +157,10 @@ unset($status_links);
|
||||
<select name="comment_type">
|
||||
<option value="all"><?php _e('Show all comment types'); ?></option>
|
||||
<?php
|
||||
$comment_types = array(
|
||||
$comment_types = apply_filters( 'admin_comment_types_dropdown', array(
|
||||
'comment' => __('Comments'),
|
||||
'pingback' => __('Pingbacks'),
|
||||
'trackback' => __('Trackbacks'),
|
||||
);
|
||||
'pings' => __('Pings'),
|
||||
) );
|
||||
|
||||
foreach ( $comment_types as $type => $label ) {
|
||||
echo " <option value='$type'";
|
||||
|
||||
Reference in New Issue
Block a user