Make WordPress Core

Changeset 16765


Ignore:
Timestamp:
12/07/2010 03:00:30 PM (16 years ago)
Author:
westi
Message:

Use a span so we mark up the all the info about the site. See #15716 - allows for css targetting based on site.

File:
1 edited

Legend:

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

    r16764 r16765  
    222222                                                                       
    223223                                                                        $path   = ( $val->path == '/' ) ? '' : $val->path;
     224                                                                        echo '<span class="site-' . $val->site_id . '" >';
    224225                                                                        echo '<a href="'. esc_url( network_admin_url( 'site-info.php?id=' . $val->userblog_id ) ) .'">' . str_replace( '.' . $current_site->domain, '', $val->domain . $path ) . '</a>';
    225                                                                         echo ' <small class="row-actions site-' . $val->site_id . '">';
     226                                                                        echo ' <small class="row-actions">';
    226227                                                                        $actions = array();
    227228                                                                        $actions['edit'] = '<a href="'. esc_url( network_admin_url( 'site-info.php?id=' . $val->userblog_id ) ) .'">' . __( 'Edit' ) . '</a>';
     
    248249                                                                                echo "<span class='$action'>$link$sep</span>";
    249250                                                                        }
    250                                                                         echo '</small><br/>';
     251                                                                        echo '</span></small><br/>';
    251252                                                                }
    252253                                                        }
Note: See TracChangeset for help on using the changeset viewer.