WordPress.org

Make WordPress Core

Changeset 16546


Ignore:
Timestamp:
11/23/10 11:46:10 (3 years ago)
Author:
westi
Message:

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

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/wp-admin/includes/class-wp-ms-sites-list-table.php

    r16545 r16546  
    311311 
    312312                case 'plugins': ?> 
    313                         <?php if ( has_filter( 'wpmublogsaction' ) ) { ?> 
    314                         <td valign="top"> 
    315                             <?php do_action( 'wpmublogsaction', $blog['blog_id'] ); ?> 
     313                        <?php if ( has_filter( 'wpmublogsaction' ) ) { 
     314                        echo "<td valign='top'class='$column_name column-$column_name'$style>"; 
     315                            do_action( 'wpmublogsaction', $blog['blog_id'] ); ?> 
    316316                        </td> 
    317317                        <?php } ?> 
    318318                    <?php break; 
    319  
     319                     
    320320                default: 
    321321                    echo "<td class='$column_name column-$column_name'$style>"; 
Note: See TracChangeset for help on using the changeset viewer.