Make WordPress Core

Changeset 25125


Ignore:
Timestamp:
08/26/2013 06:45:30 PM (11 years ago)
Author:
nacin
Message:

Network Admin: Hide the bulk actions checkbox for the main site.

props ericlewis.
fixes #24463.

File:
1 edited

Legend:

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

    r23563 r25125  
    215215                    case 'cb': ?>
    216216                        <th scope="row" class="check-column">
     217                            <?php if ( ! is_main_site( $blog['blog_id'] ) ) : ?>
    217218                            <label class="screen-reader-text" for="blog_<?php echo $blog['blog_id']; ?>"><?php printf( __( 'Select %s' ), $blogname ); ?></label>
    218219                            <input type="checkbox" id="blog_<?php echo $blog['blog_id'] ?>" name="allblogs[]" value="<?php echo esc_attr( $blog['blog_id'] ) ?>" />
     220                            <?php endif; ?>
    219221                        </th>
    220222                    <?php
Note: See TracChangeset for help on using the changeset viewer.