WordPress.org

Make WordPress Core

Ticket #21277: 21277.diff

File 21277.diff, 1.7 KB (added by jeremyfelt, 21 months ago)
  • wp-admin/network/site-users.php

     
    244244<?php $wp_list_table->views(); ?> 
    245245 
    246246<form method="post" action="site-users.php?action=update-site"> 
    247         <?php wp_nonce_field( 'edit-site' ); ?> 
    248247        <input type="hidden" name="id" value="<?php echo esc_attr( $id ) ?>" /> 
    249248 
    250249<?php $wp_list_table->display(); ?> 
     
    262261        <?php endif; ?> 
    263262<h5 id="add-existing-user"><?php _e('Add Existing User') ?></h5> 
    264263<form action="site-users.php?action=adduser" id="adduser" method="post"> 
    265         <?php wp_nonce_field( 'edit-site' ); ?> 
    266264        <input type="hidden" name="id" value="<?php echo esc_attr( $id ) ?>" /> 
    267265        <table class="form-table"> 
    268266                <tr> 
     
    291289<?php if ( current_user_can( 'create_users' ) && apply_filters( 'show_network_site_users_add_new_form', true ) ) : ?> 
    292290<h5 id="add-new-user"><?php _e('Add New User') ?></h5> 
    293291<form action="<?php echo network_admin_url('site-users.php?action=newuser'); ?>" id="newuser" method="post"> 
    294         <?php wp_nonce_field( 'edit-site' ); ?> 
    295292        <input type="hidden" name="id" value="<?php echo esc_attr( $id ) ?>" /> 
    296293        <table class="form-table"> 
    297294                <tr> 
  • wp-admin/network/site-themes.php

     
    172172<?php $wp_list_table->views(); ?> 
    173173 
    174174<form method="post" action="site-themes.php?action=update-site"> 
    175         <?php wp_nonce_field( 'edit-site' ); ?> 
    176175        <input type="hidden" name="id" value="<?php echo esc_attr( $id ) ?>" /> 
    177176 
    178177<?php $wp_list_table->display(); ?>