Make WordPress Core


Ignore:
Timestamp:
10/21/2010 06:35:52 PM (15 years ago)
Author:
ryan
Message:

Tabbed interface for site editing. see #15174

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/wp-admin/includes/default-list-tables.php

    r15898 r15903  
    28932893                    case 'blogname': ?>
    28942894                        <td class="column-title">
    2895                             <a href="<?php echo esc_url( network_admin_url( 'sites.php?action=editblog&amp;id=' . $blog['blog_id'] ) ); ?>" class="edit"><?php echo $blogname . $blog_state; ?></a>
     2895                            <a href="<?php echo esc_url( network_admin_url( 'site-info.php?id=' . $blog['blog_id'] ) ); ?>" class="edit"><?php echo $blogname . $blog_state; ?></a>
    28962896                            <?php
    28972897                            if ( 'list' != $mode )
     
    29082908                            );
    29092909
    2910                             $actions['edit']    = '<span class="edit"><a href="' . esc_url( network_admin_url( 'sites.php?action=editblog&amp;id=' . $blog['blog_id'] ) ) . '">' . __( 'Edit' ) . '</a></span>';
     2910                            $actions['edit']    = '<span class="edit"><a href="' . esc_url( network_admin_url( 'site-info.php?id=' . $blog['blog_id'] ) ) . '">' . __( 'Edit' ) . '</a></span>';
    29112911                            $actions['backend'] = "<span class='backend'><a href='" . esc_url( get_admin_url( $blog['blog_id'] ) ) . "' class='edit'>" . __( 'Dashboard' ) . '</a></span>';
    29122912                            if ( $current_site->blog_id != $blog['blog_id'] ) {
     
    31923192                                foreach ( (array) $blogs as $key => $val ) {
    31933193                                    $path   = ( $val->path == '/' ) ? '' : $val->path;
    3194                                     echo '<a href="'. esc_url( network_admin_url( 'sites.php?action=editblog&amp;id=' . $val->userblog_id ) ) .'">' . str_replace( '.' . $current_site->domain, '', $val->domain . $path ) . '</a>';
     3194                                    echo '<a href="'. esc_url( network_admin_url( 'site-info.php?id=' . $val->userblog_id ) ) .'">' . str_replace( '.' . $current_site->domain, '', $val->domain . $path ) . '</a>';
    31953195                                    echo ' <small class="row-actions">';
    31963196
    31973197                                    // Edit
    3198                                     echo '<a href="'. esc_url( network_admin_url( 'sites.php?action=editblog&amp;id=' . $val->userblog_id ) ) .'">' . __( 'Edit' ) . '</a> | ';
     3198                                    echo '<a href="'. esc_url( network_admin_url( 'site-info.php?id=' . $val->userblog_id ) ) .'">' . __( 'Edit' ) . '</a> | ';
    31993199
    32003200                                    // View
Note: See TracChangeset for help on using the changeset viewer.