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: https://develop.svn.wordpress.org/trunk@16546 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
Peter Westwood
2010-11-23 11:46:10 +00:00
parent 40115d566d
commit 66a5b13074
@@ -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 );