mirror of
https://github.com/gosticks/wordpress-develop.git
synced 2026-08-11 20:30:23 +00:00
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:
@@ -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 );
|
||||
|
||||
Reference in New Issue
Block a user