Make WordPress Core


Ignore:
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/wp-admin/network/site-users.php

    r18129 r17322  
    158158add_screen_option( 'per_page', array( 'label' => _x( 'Users', 'users per page (screen options)' ) ) );
    159159
    160 $site_url_no_http = preg_replace( '#^http(s)?://#', '', get_blogaddress_by_id( $id ) );
    161 $title_site_url_linked = sprintf( __('Edit Site: <a href="%1$s">%2$s</a>'), get_blogaddress_by_id( $id ), $site_url_no_http );
    162 $title = sprintf( __('Edit Site: %s'), $site_url_no_http );
    163 
     160$title = sprintf( __('Edit Site: %s'), get_blogaddress_by_id($id));
    164161$parent_file = 'sites.php';
    165162$submenu_file = 'sites.php';
     
    169166<div class="wrap">
    170167<?php screen_icon('ms-admin'); ?>
    171 <h2 id="edit-site"><?php echo $title_site_url_linked ?></h2>
     168<h2 id="edit-site"><?php echo $title ?></h2>
    172169<h3 class="nav-tab-wrapper">
    173170<?php
     
    268265    </table>
    269266    <?php wp_nonce_field( 'add-user', '_wpnonce_add-user' ) ?>
    270     <?php submit_button( __('Add User'), 'primary', 'add-user', false, array( 'id' => 'submit-add-existing-user' ) ); ?>
     267    <?php submit_button( __('Add User'), 'primary', 'add-user' ); ?>
    271268</form>
    272269<?php endif; ?>
     
    304301    </table>
    305302    <?php wp_nonce_field( 'add-user', '_wpnonce_add-new-user' ) ?>
    306     <?php submit_button( __('Add New User'), 'primary', 'add-user', false, array( 'id' => 'submit-add-user' ) ); ?>
     303    <?php submit_button( __('Add New User'), 'primary', 'add-user' ); ?>
    307304</form>
    308305<?php endif; ?>
Note: See TracChangeset for help on using the changeset viewer.