Implement proper column show/hide behaviour based on screen options for the Network Admin Sites table column added for the wpmublogsaction hook.

git-svn-id: http://svn.automattic.com/wordpress/trunk@16546 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
westi 2010-11-23 11:46:10 +00:00
parent 93e23a7101
commit 52dc84f158
1 changed files with 4 additions and 4 deletions

View File

@ -310,13 +310,13 @@ class WP_MS_Sites_List_Table extends WP_List_Table {
break;
case 'plugins': ?>
<?php if ( has_filter( 'wpmublogsaction' ) ) { ?>
<td valign="top">
<?php do_action( 'wpmublogsaction', $blog['blog_id'] ); ?>
<?php if ( has_filter( 'wpmublogsaction' ) ) {
echo "<td valign='top'class='$column_name column-$column_name'$style>";
do_action( 'wpmublogsaction', $blog['blog_id'] ); ?>
</td>
<?php } ?>
<?php break;
default:
echo "<td class='$column_name column-$column_name'$style>";
do_action( 'manage_themes_custom_column', $column_name, $theme_key, $theme );