WordPress.org

Make WordPress Core


Ignore:
Timestamp:
01/24/2014 07:05:15 PM (8 years ago)
Author:
azaozz
Message:

Remove all "valign" attributes from tables in wp-admin, props MikeHansenMe, Marventus. Fixes #22712.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/wp-admin/includes/ms.php

    r26503 r27029  
    537537
    538538    foreach ( $blogs as $blog ) {
    539         $output .= "<tr>";
    540         $output .= "<td valign='top'>";
    541         $output .= "{$blog->blogname}";
    542         $output .= "</td>";
    543         $output .= "<td valign='top'>";
    544         $output .= "<a href='" . esc_url( get_admin_url( $blog->userblog_id ) ) . "'>" . __( 'Visit Dashboard' ) . "</a> | <a href='" . esc_url( get_home_url( $blog->userblog_id ) ). "'>" . __( 'View Site' ) . "</a>" ;
    545         $output .= "</td>";
    546         $output .= "</tr>";
    547     }
     539        $output .= '<tr>';
     540        $output .= "<td>{$blog->blogname}</td>";
     541        $output .= '<td><a href="' . esc_url( get_admin_url( $blog->userblog_id ) ) . '">' . __( 'Visit Dashboard' ) . '</a> | ' .
     542            '<a href="' . esc_url( get_home_url( $blog->userblog_id ) ). '">' . __( 'View Site' ) . '</a></td>';
     543        $output .= '</tr>';
     544    }
     545
    548546    $output .= '</table>';
    549547
Note: See TracChangeset for help on using the changeset viewer.